Possible dead lock

#3
Hi,

I managed to solve (it seems) the issue by applying:

maxConns 500
env PHP_LSAPI_CHILDREN=500
env LSAPI_AVOID_FORK=1
env LSAPI_SLOW_REQ_MSECS=2000 [this is to monitor bad PHP scripts]
env LSPHP_Workers=50

However, now what happens is the following:

Every now and then, I get "The sever did not respond" on the browser, while you're browsing the website. The connection is reset.

Thanks
Alex
 
#5
It's a bare-metal 2388G server with 128GB of ram and nvme drives.

I have reduced these values to:

Code:
  maxConns                100
  env                             PHP_LSAPI_CHILDREN=100
  env                             LSAPI_AVOID_FORK=1
  env                             LSAPI_SLOW_REQ_MSECS=2000
  env                             LSPHP_Workers=50
and I have also done:

Code:
memSoftLimit            4096M
  memHardLimit            8192M
But this keeps appearing on the logs:

[UID:1002][1088285] Reached max children process limit: 100, extra: 0, current: 100, busy: 100, please increase LSAPI_CHILDREN.
 

Cold-Egg

Administrator
#6
I see, it means you need to increase the maxConns and PHP_LSAPI_CHILDREN numbers.

If the "The sever did not respond" on the browser, while you're browsing the website. The connection is reset. " still exists, please submit to support@litespeedtech.com for further support.
 
Top