leolani / cltl-chatbots

Series of chatbots that demonstrate Leolani’s functionalities
Apache License 2.0
0 stars 1 forks source link

face detection container stops running #6

Closed cayadehaas closed 2 years ago

cayadehaas commented 2 years ago

The face detection recognition container stops running on its own after which I receive the ConnectionError that I mentioned in another issue before. What can I do to make sure it continues running?

tae898 commented 2 years ago

Hmm the container shouldn't stop itself. Maybe you don't have enough memory?

Can you show me your output when you type below in your terminal?

free -m
docker ps -a
cayadehaas commented 2 years ago

Where should I type this? If I go to Jupyter Lab again and open a terminal there it says free is not a command. When I try the second one this is the output I get. As you can see the face detection immediately stops running.

Schermafbeelding 2021-11-30 om 14 27 50

:

tae898 commented 2 years ago

free -m and docker ps -a are Unix commands. You type them in your terminal.

cayadehaas commented 2 years ago

This free command doesn't work for MacOS, right? I have 16GB RAM memory so that shouldn't be a problem I think. Above is the output for docker ps -a. Do you have a solution for the container that stops running?

tae898 commented 2 years ago

I can't say so much at this moment. I have to see the logs of the docker containers to be sure. I was asking about the memory, since OOM is the most common cause of docker containers failing.

tae898 commented 2 years ago

This was solved. On MacOS, you have to ease the hardware constraints (e.g., allocate more memory, cores, etc.)