Nginx stops automatically at particular time

Multi tool use
Multi tool use


Nginx stops automatically at particular time



I am facing a strange issue where nginx stops/crashes at around 12am(12am-1am) and 12pm(12pm-1pm) everyday UTC time. I am monitoring(up/down) a website using a website monitoring tool. When website is down, at the same time there is an entry in nginx error log:


2018/07/02 12:16:54 [notice] 2288#2288: signal process started



When I check nginx status using "sudo systemctl nginx status" it says:


Active: inactive (dead) since Mon 2018-07-02 12:16:54 UTC; 19min ago



So, I have to restart nginx to make the website working and again the same thing happens next day.




1 Answer
1



I figured out the issue myself. I checked syslogs and it was certbot that was trying to renew certificate at a particular time. Fixing certbot fixed the issue.





You should add the steps you took in order to figure out the problem, might help someone else in the future.
– Cyclonecode
Jul 3 at 16:39






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

N5IfvtK AE1Ikd GQA19kNMeesq8VxgWaQEKulE2hEjc5sW sTG5aZ,bsQj9R66wuqfXgVqHypTvOl,psntFrgszVMK FQEN
3CNiSLPF9X9,4nbR052BFg

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

Create weekly swift ios local notifications