DanWin/hosting

Nginx suddenly stopped working

TangLiChun opened this issue · 2 comments

In the middle of the night, Tor, MySQL, Nginx and other applications occupied a large amount of CPU, which caused the server to shut down

The following problems occur with Nginx on reboot
IMG_20200730_042353

Hello, did you modify the setup to reduce ressource usage yet? Unless you are hosting hundreds of hidden services, you can greatly reduce the mysql memory footprint, as well as reduce the number of connections Tor keeps active.
Regarding the startup issue, run the following script before restarting nginx: https://github.com/DanWin/hosting/blob/master/clean_nginx_sockets.sh

I canceled the ClamAV Settings