LSAPI: idle processes are removed after a while

andreas

Well-Known Member
#1
ruby-lsapi 1.10
lsws-2.2.2

Idle processes seem to be removed after a few minutes, even when the "max idle time" is set to n/a or a very high value.
 

andreas

Well-Known Member
#2
The same happens to PHP FastCGI connections. max idle time is n/a, but the connections disappear from the status report after a few minutes.
 

mistwang

LiteSpeed Staff
#3
For ruby-lsapi, that is because a lsapi ruby worker process only idle for 60 secs by default, you can set environment variable "LSAPI_MAX_IDLE=xxx" to increase it.

For PHP FCGI connection, it probably because the TCP connection has been timed out.

When number of active connections reaches zero, that external application will disppear from the status report.
 
Top