[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] fcgiwrap daemon failure and mitigation

From: Bob Proulx
Subject: [Savannah-hackers-public] fcgiwrap daemon failure and mitigation
Date: Mon, 5 Jun 2017 18:27:13 -0600
User-agent: NeoMutt/20170306 (1.8.0)

Around 1am US EST (-0400) time the FastCGI interface which services
man CGI services went offline.  This appears to have been due to a
resource starvation problem on vcs0.  This left the daemon in a broken
state for the entire night.  Various users reported the problem this

I added a 'monit' check that should be able to detect and correct this
in the future.  Here is the check.

check process fcgiwrap with pidfile /run/
  start program "/usr/sbin/service fcgiwrap start"
  stop program "/usr/sbin/service fcgiwrap stop"
  if failed host "" port 80 protocol http request 
    for 3 cycles
    then restart

As usual the monit status can be seen with:

  monit status

And if work is being done on the system such that the monitored
services need to be disabled *without monit restarting them* then
remember to disable monitoring first.  Either just the one service:

  monit unmonitor fcgiwrap

Or all of them (which is what I usually do):

  monit unmonitor all

Followed by enabling monitoring again when done.

  monit monitor all


reply via email to

[Prev in Thread] Current Thread [Next in Thread]