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)
-   -   losing output (http://www.litespeedtech.com/support/forum/showthread.php?t=6090)

jcaster 07-16-2012 08:06 AM

losing output
 
Hello,

I have a long running php script that has output at the beginning and end. The beginning makes it to the browser and then I can see that lsphp5 forks off to complete the process. Unfortunately, although the script completes properly, it never returns to output the ending statement to the browser. The user will not know whether the script has finished. I have increased timeouts, is there something else to configure?

Regards,
Josh

NiteWave 07-16-2012 08:23 AM

Code:

I have increased timeouts,
how did you do it ?

jcaster 07-16-2012 08:30 AM

max_execution_timeout has been increased and shows in the phpinfo output. Connection timeout under litespeed tuning has also been increased. There are no visible timeout errors. Thanks.

NiteWave 07-16-2012 08:39 AM

please refer:
http://www.litespeedtech.com/support...ithout_timeout
if it helps for your case.

jcaster 07-16-2012 08:44 AM

I have configured all of those settings on that page. The child process does complete successfully within the allotted time. It just does not send the closing output to the browser.

NiteWave 07-16-2012 08:53 AM

can you post the lsphp5 settings here ?

also have a try:
Server->Tuning->Max Keep-Alive Requests:1

jcaster 07-16-2012 09:06 AM

Php_lsapi_max_requests=1000
php_lsapi_children=100
lsapi_allow_core_dump=1
lsapi_max_process_time=3600


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