Am 18.09.2018 um 13:57 schrieb Martin: > Am 18.09.2018 um 13:40 schrieb Mirko Parthey: >> 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 > > This is quite interesting. ps shows 3000 httpd processes, pids.max is 6000 > and tasks is 6000, too. > Let my have a look, where this pids.max number originates.... >
systemctl set-property apache2.service TasksMax=12000 does the trick for me! Now let's have a look, what happens to the memory... Thanks & cheers, Martin