503 error on admin panel an WordPress sites

Hi All,

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.

Thank you in advance.

Andie

Welcome @acaus Happy you are here

  1. Are you using modsecurity ? Disable it and try again

  2. 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

$ systemctl restart lsws || service lsws reload

This means you might be having so many php processes running you will need to run High CPU Usage, 4CPU 8GB RAM - #19 by josephgodwinke

I have the same problem in 2vps different OpenLiteSpeed
Stopped

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.

Run upgrade script and reboot your server

Thank you for the tip. Will check it out.

Litespeedy server stopped does not restart.
didn’t solve

Run

ps -ef | grep lshttpd
## kill any PID processes you see 
kill -9 <pid>

It looks like I’m going to have to reinstall the server.
snapshort does not solve

LiteSpeed ​​server dead

Uploading: Anotação 2023-03-01 083625.png…

Facing similar issue on Ubuntu 20.04.6 LTS using CyberPanel 2.3 Build: 4

1 Like