Issue
A website opens with the "507 Insufficient Storage" error.
Environment
- CloudLinux 6/7/8
- Apache web server with mod_lsapi enabled.
Solution
Change the lsapi_disable_reject_mode
option to On in the /etc/apache2/conf.d/lsapi.conf
file.
Then, restart Apache:
# service httpd restart
Cause
If a new HTTP request is coming to the LSPHP daemon when all LSPHP workers are still busy, it can process this situation in two different ways.
In REJECT mode LSPHP daemon will reject such request immediately.
Otherwise, in legacy mode, the LSPHP daemon will put this request into the infinite queue, until one or more LSPHP daemon becomes free.
When an HTTP request is rejected in REJECT mode, mod_lsapi will write into Apache error_log the following message: Connect to backend rejected, and the client will receive 507 HTTP response.
By default, the LSPHP daemon in CloudLinux uses REJECT mode.
It can be switched off with this option.
Useful links
https://docs.cloudlinux.com/shared/cloudlinux_os_components/#lsapi-disable-reject-mode
Comments
0 comments
Please sign in to leave a comment.