supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runit under sysvinit - coping when runsvdir dies
@ 2005-11-14 18:03 Charles Duffy
  2005-11-16  3:50 ` Charlie Brady
  2005-11-17  9:08 ` Gerrit Pape
  0 siblings, 2 replies; 4+ messages in thread
From: Charles Duffy @ 2005-11-14 18:03 UTC (permalink / raw)


I recently had a situation on a fielded server where runsvdir (from 
runit 1.2.3) apparently died; in any event, all the runsv processes 
which would typically be directly under runsvdir were instead inherited 
by sysvinit and running there. However, since runsvdir was respawned by 
sysvinit, a great deal of CPU time was being spent continuously trying 
to start new runsv instances under the fresh runsvdir -- attempts which 
failed because there were still runsv instances alive and holding open 
the relevant locks. I killed the old runsv instances with "runsvctrl e", 
and fresh children of the new runsvdir took their place -- but there are 
still some questions raised:

- How could this have happened? The system's message log doesn't show 
the OOM killer taking down runsvdir or any segfault on the part of the same.

- How could such situations be more gracefully handled in the future? 
Having the customer call and complain because their server was unusably 
slow was a less-than-ideal way to find out about this issue.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-17 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-14 18:03 runit under sysvinit - coping when runsvdir dies Charles Duffy
2005-11-16  3:50 ` Charlie Brady
2005-11-17  9:08 ` Gerrit Pape
2005-11-17 11:13   ` Charles Duffy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).