LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Long running php (http://www.litespeedtech.com/support/forum/showthread.php?t=6392)

bobykus 11-25-2012 01:42 PM

Long running php
 
Hello,

Here is my latest find
~ # date
Sun Nov 25 22:22:32 CET 2012

j%%%e 21389 6.6 0.0 29456 6480 ? RN Nov24 175:11 | \_ lsphp:otografhjo.%%%.se/templates/atomic/conf.php


I could not believe when I run ps axufw!
How it is possible? I use lsphp via lsapi v6, with


LSAPI_MAX_REQUESTS=15000
LSAPI_CHILDREN=100
PHP_INI_SCAN_DIR=/usr/local/lsws/lsphp52/etc/php.d

Instances 1. Means php is managed by lsphp but web server, yes?

LSAPI_MAX_IDLE is not set.

Web server have

Connection Timeout (secs) 320

And it is said in Documentation

LSAPI_MAX_IDLE (default value: 300 seconds)
In Self Managed Mode, LSAPI_MAX_IDLE controls how long a idle child process will wait for a new request before it exits. This option help releasing system resources taken by idle processes.

But the process I found is running at least a day and a half according to ps.
Why it gets out of the control? How to avoid it?


All times are GMT -7. The time now is 05:00 PM.