How to increase LSAPI_CHILDREN

#1
Hello Respected Sir,
I am using OLS and aapanel on my server. I observed some times my site goes offline and when I tried to open my site it was showing "Error 503 Connection Closed"

Then I checked my STDERR.log and found tons of these below error:

"" Reached max children process limit: 10, extra: 3, current: 13, busy: 13, please increase LSAPI_CHILDREN. ""

So Can you please suggest me how to increase LSAPI_CHILDREN?? I am using CentOS 7.8 with aaPanel and OLS.
Quick help will be so much appreciated.
Thank You
 

Cold-Egg

Administrator
#2
HI,

Go to Web admin > Server Configuration > External App > lsphp.
Increase both Max Connections and PHP_LSAPI_CHILDREN from 10 to 20 should solve the issue.
 
Top