"please increase LSAPI_CHILDREN" error

semprot

Well-Known Member
#1
When i doing full complete backup in cpanel, i have tons of this on stderr.log

2015-03-02 14:10:08.902 [STDERR] Reached max children process limit: 240, extra: 1000, current: 1240, please increase LSAPI_CHILDREN.

can i just increase only PHP_LSAPI_CHILDREN?
Or i must also increase other settings?
Maybe "Max Connections" too?
 

mistwang

LiteSpeed Staff
#3
Is there really 1240 PHP processes running by that time?
If yes, I guess the full backup created a lot of PHP processes running in background.

If the server can run more PHP processes, you can increase "LSAPI_EXTRA_CHILDREN", it is 1000 now, it will allow more background PHP processes running. If you increase "PHP_LSAPI_CHILDREN", it allows more foreground PHP processes running.
 

semprot

Well-Known Member
#4
Is there really 1240 PHP processes running by that time?
If yes, I guess the full backup created a lot of PHP processes running in background.

If the server can run more PHP processes, you can increase "LSAPI_EXTRA_CHILDREN", it is 1000 now, it will allow more background PHP processes running. If you increase "PHP_LSAPI_CHILDREN", it allows more foreground PHP processes running.
Actually it started to happen after i increased my mysql "max connections".
Before i increased it, i've never seen that error message.
I have decreased my mysql "max connections", and i will try to do the backup again.
If i still have the CHILDREN error, i will increase it :)
 
Top