Issue
After 300 sec there may be the following error in the domain log:
[lsapi:error] [pid 3907584:tid 140046443202304] [client 185.242.134.184:52190] [host domain.com] Error on sending request(GET / HTTP/1.1); uri(/) content-length(0): ReceiveAckHdr: timeout 300 is exceeded
Environment
- CloudLinux OS 6/7/8
- Mod_lsapi
Solution
1. You may need to try to increase the value lsapi_backend_max_process_time
and check out the issue afterward:
- lsapi_backend_max_process_time 3600
- lsapi_poll_timeout 3600
- lsapi_terminate_backends_on_exit Off
2. The config file will be /etc/apache2/conf.d/lsapi.conf
or /etc/httpd/conf/extra/mod_lsapi.conf
.
Cause
Some lsphp processes may take more time for their operation and these processes are killed after a specified timeout.
Useful links
https://docs.cloudlinux.com/shared/cloudlinux_os_components/#apache-mod-lsapi-pro
Comments
0 comments
Please sign in to leave a comment.