public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Detecting process death for anycast named process monitoring
@ 2007-05-02 21:04 Glen Turner
  2007-05-02 22:30 ` Chris Friesen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Glen Turner @ 2007-05-02 21:04 UTC (permalink / raw)
  To: Linux kernel


Hi folks,

Anycast services are a nice way of robustly offering DNS and other
services.  We create an interface which reflects the availability
of the service and advertise that into the network using a OSPF
router like Quagga.

For more detail see
http://www.aarnet.edu.au/~gdt/presentations/2006-07-18-linuxsa-anycast/
which is a summary of work which was presented at linux.conf.au.

The question is, how can a process with no relationship to another
process detect that process unexpectedly dying?  If named goes
away to a better place, we want to shut down the interface
which causes Quagga to inject the anycast route.

We don't want to be the parent of the running process, because that
doesn't add robustness. If the parent process dies, then the service
dies, and the interface still stays up.

We don't want to poll, because that isn't pretty and the polling
interval needs to be very short on a big ISP's DNS servers.

I have tried using the various notify functions against /proc, but
they don't work for that filesystem. I have tried using notify
against a UNIX domain socket, but notify doesn't work for
that either.

Suggestions, or a patch to support notify for /proc or to push
process death notifications into DBUS or whatever, are welcome.

Thank you, Glen

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

end of thread, other threads:[~2007-05-04  5:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02 21:04 Detecting process death for anycast named process monitoring Glen Turner
2007-05-02 22:30 ` Chris Friesen
2007-05-02 23:12   ` David M. Lloyd
2007-05-04  5:54     ` Russell King
2007-05-03  8:01 ` Russell King
2007-05-03  8:55   ` Glen Turner
2007-05-03  9:40 ` Andrew Morton
2007-05-03 10:17   ` Glen Turner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox