LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Long running php

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2012, 01:42 PM
bobykus bobykus is offline
Senior Member
 
Join Date: Sep 2012
Posts: 64
Default 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?

Last edited by bobykus; 11-25-2012 at 01:51 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:20 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.