# ps aux | grep lsphp | wc -l
457
for some reason we have about 450 lsphp processes, and since we only had assigned 12GB ram, the server choked. We could increase RAM, but i'd like to know if this is normal ? And what would a good config be for a server with 12GB ram?
457
Code:
extprocessor lsphp71 {
type lsapi
address uds://tmp/lshttpd/lsphp.sock
maxConns 150
env PHP_LSAPI_MAX_REQUESTS=500
env PHP_LSAPI_CHILDREN=35
initTimeout 60
retryTimeout 0
persistConn 1
pcKeepAliveTimeout 60
respBuffer 0
autoStart 1
path $SERVER_ROOT/lsphp71/bin/lsphp
backlog 100
instances 150
priority 0
memSoftLimit 2047M
memHardLimit 2047M
procSoftLimit 400
procHardLimit 500
}