I am facing 503 error and couldn’t figure out what was wrong. I need to reboot VPS every time when it occurred. The interesting thing is, it seems only affect WordPress sites. I have an OpenCart site running on the same VPS, everytime the 503 error comes up on all WP sites, the OpenCart site opens normally.
The 503 error once there, it won’t go away until I reboot the VPS.
Hope experts in the community could throw me some light on this error.
Are you using modsecurity ? Disable it and try again
Probably you reached max children process limit. You can confirm this by checking /usr/local/lsws/logs/lsrestart.log to fix this just restart lsws service
Failed to restart php.service: Unit php.service not found.
root@servidor:~# systemctl restart lsws || service lsws reload
Job for lshttpd.service failed because the control process exited with error code.
See “systemctl status lshttpd.service” and “journalctl -xe” for details.
lshttpd.service is not active, cannot reload.