I have good knowledge on LS, and what has worked before does not seen to work now. Php scripts stop at 30 seconds with message
"
Inactivity Timeout
Description: Too much time has passed without sending any data for document.
"
LiteSpeed Web Server Enterprise 5.2.5 (trial)
CentOS 7 latest
PHP 7 latest compiled in LS, LSAPI App (all works fine, except the timeout).
It is not anything code related, this timeouts, too:
<?php
sleep(100);
?>
<html>
hello.
</html>
I really need to solve this ASAP.
I have tried everything I can (and restarted lsws):
Server -> general
External Application Abort: No Abort
Server -> Tuning
Connection Timeout (secs): 3600
Max Keep-Alive Requests: 5000
Smart Keep-Alive: No
Keep-Alive Timeout (secs): 10
Server -> External APP
environment:
PHP_LSAPI_MAX_REQUESTS=4000
PHP_LSAPI_CHILDREN=2000
LSAPI_MAX_PROCESS_TIME=36000
Initial Request Timeout (secs): 60
Connection Keepalive Timeout: -1
Max Idle Time: 3600
PHP.INI
(and yes, this is the loaded php.ini)
max_execution_time=72000
max_input_time=72000
What else I can try?
"
Inactivity Timeout
Description: Too much time has passed without sending any data for document.
"
LiteSpeed Web Server Enterprise 5.2.5 (trial)
CentOS 7 latest
PHP 7 latest compiled in LS, LSAPI App (all works fine, except the timeout).
It is not anything code related, this timeouts, too:
<?php
sleep(100);
?>
<html>
hello.
</html>
I really need to solve this ASAP.
I have tried everything I can (and restarted lsws):
Server -> general
External Application Abort: No Abort
Server -> Tuning
Connection Timeout (secs): 3600
Max Keep-Alive Requests: 5000
Smart Keep-Alive: No
Keep-Alive Timeout (secs): 10
Server -> External APP
environment:
PHP_LSAPI_MAX_REQUESTS=4000
PHP_LSAPI_CHILDREN=2000
LSAPI_MAX_PROCESS_TIME=36000
Initial Request Timeout (secs): 60
Connection Keepalive Timeout: -1
Max Idle Time: 3600
PHP.INI
(and yes, this is the loaded php.ini)
max_execution_time=72000
max_input_time=72000
What else I can try?
Last edited: