suEXEC Max Conn changes has no effect

Amplificator

Verified User
Joined
Jul 2, 2019
Messages
61
Hi.

I've been trying to track down a 503 problem and finally narrowed it down to my PHP suEXEC Max Connection limit being too low.
It's at the default of 5 even though I have changed it in LSWS Web Admin console to a (much) higher number for testing.

But both going to the LSWS real-time stats page will show all external suEXEC apps with a limit of 5 and also when I inspect an lsphp process using "cat /proc/1148921/environ" it will also show a limit of 5. I also tried killing all lsphp and php processes.

So despite changing the limit in LSWS it is being overwritten by something and I have no idea by what.

These values are being applied somewhere, by something:
Code:
LSAPI_CHILDREN=5
LSAPI_MAX_IDLE_CHILDREN=5

Does anyone have any idea of what is going on?
 
It's solved. In my testing to root out causes I simply gave it a random number to make sure it wasn't set too low, but apparently the max for this value is 2000 so the entered value was reset to default :-/

So simply settings it to anything lower than 2000 made it take effect.. silly me, but hey..
 
Back
Top