06-02-2017, 03:38 AM | #1 |
Member
Join Date: Aug 2016
Posts: 40
|
Site doesn't work after renewal
Don't know what product to choose for this question.. Let it be ISPmanager
A hosting service expired, and the user account was disabled.When the client renews his service in BILLmanager, the account gets activated in ISPmanager, BUT! The websitekeeps on telling that is is disabled by server administraotr. I have to restart Nginx. Is this is a bug? |
06-05-2017, 02:05 PM | #2 |
ISPsystem team
Join Date: Jul 2014
Posts: 443
|
This happens because Nginx meets the open files limit. This is a well-known issue of the server environment. To resolve it, you need to make additional changes into the Nginx config in systemd:
1) mkdir -p /etc/systemd/system/nginx.service.d 2) echo -e "[Service]\nLimitNOFILE=16384" >> /etc/systemd/system/nginx.service.d/nofile.conf 3) systemctl daemon-reload 4) systemctl restart nginx.service |
|
|