[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache HTP-Server won't fork more than 3000 processes.



On Tue, Sep 18, 2018 at 12:37:48PM +0200, Martin wrote:
> > # cd /sys/fs/cgroup/pids/...
> > # cat pids.max
> 
> There is no pids.max
> But I have a /proc/sys/kernel/pid_max = 32768
> I guess like systemd is limiting here?
> 
> > How many tasks are assigned to the cgroup?
> > # wc -l tasks
> 
> 103 tasks

On a Debian stretch VM (32 bit), I found:

root@stretch32:/sys/fs/cgroup/pids/system.slice/apache2.service# cat pids.max 
4915

root@stretch32:/sys/fs/cgroup/pids/system.slice/apache2.service# wc -l tasks 
55 tasks


Reply to: