THere are 4 PHP external apps and I use only one with PHP 5.6.15 compiled from the menu.
The errors are the same
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
2016-02-10 23:44:03.601 [ERROR] Failed to restart the server!
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
fork() failed, please increase process limit: Resource temporarily unavailable
No,there arent many lsphp processes, max 100 simultaneously. I have a CPU 5930k overcloacked to 4.5GHZ with 48 GB ddr4 and an PCI-e Intel ssd 400GB as boot . I barely touch a 20% CPU usage.
On ulimit -a nobody I recieve
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 191863
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 512000
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 191863
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
The same is for root and other users.
When I mean hangs I mean that no other application like mysql,postfix or other can fork processes .
Also I have set
PHP_LSAPI_MAX_REQUESTS=10000
PHP_LSAPI_CHILDREN=10000
But without them I recieve the same errors.
Other logs from kernel
kernel: [25997.241569] lsphp-5.6.15[185103]: segfault at 0 ip 00007fdb1258062b sp 00007fdafa8c8f80 error 4 in libresolv-2.21.so[7fdb12575000+17000]