Pydio Cells causing "fork: no child processes" on shared host

Hello,

I installed Pydio Cells on a shared host (CentOS 7). Among other things, the hosting company enforces a limit of 300 Threads per user.

Despite Pydio Cells running fine, I can’t login via ssh any more, because bash is unable to start because of the limit:

-bash-4.2$ ll
-bash: fork: retry: No child processes
-bash: fork: retry: No child processes
-bash: fork: retry: No child processes
♥
-bash: fork: retry: No child processes
-bash: fork: Resource temporarily unavailable

What can I do about this problem?

Kind regards

wow, that’s interesting. you could be able to reduce the number of cells fork, but not sure it will change anything to the number of threads.
We have to test that on our side to see how we can handle the case (maybe with gomaxprocs env variable). @zayn could you try to set this limitation on a test vm ?

Hello @zalintyre,

Could you run the following command and tell me the number of threads that your machine has,
ps -aux | wc -l.

Also do you know your machine hardware ? (lscpu to check the cpu count)

I"ve tried to reproduce your case by limiting the number of threads of my vm with echo 300 > /proc/sys/kernel/threads-max.

I had Cells Up and running with the database on the same server.

Does your Cells instance have lots of datasource?