/app/scripts/run-streamlit.sh: line 9: 879 Killed

Hey, as a part of my university project, I am trying to handle multiple clients.
When 3-4+ clients at the same time are trying to load an image and process it, my app probably can’t handle all of them together (or I have a problem in my code) The error tells me nothing so I can’t debug it. I tried to use some cache and threadsafe methods but it didn’t work.

Note: To test the app you need to open the sidebar and load an image. it’s supposed to find where the picture is taken from in our university.

Github Link: GitHub - RoyAmoyal/The_Lost_Student_App

I am getting the error:

/app/scripts/run-streamlit.sh: line 9:   879 Killed                  sudo -E -u appuser /home/adminuser/venv/bin/streamlit "$@"

Maybe I need more resources? what can I do? its an educational project.

Thanks!