daemon: Throttle max respawning rate.
authorBen Pfaff <blp@nicira.com>
Wed, 12 May 2010 17:02:23 +0000 (10:02 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 13 May 2010 16:45:21 +0000 (09:45 -0700)
commita9633ada756ec15e1ed3dd9b503af3027dee3d10
tree9811a6f3cdc10286aaa3485adbeee39ce0ae5444
parent7c2dd4c64823397d82d7d1c4e44f6a420df52aa6
daemon: Throttle max respawning rate.

If a monitored daemon dies quickly at startup, the system can waste a lot
of CPU time continually restarting it.  This commit prevents a given
daemon from restarting more than once every 10 seconds.
lib/daemon.c