daemon: Allow monitored daemon to dump core no more than once.
authorBen Pfaff <blp@nicira.com>
Tue, 11 May 2010 17:56:10 +0000 (10:56 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 13 May 2010 16:45:21 +0000 (09:45 -0700)
commit7c2dd4c64823397d82d7d1c4e44f6a420df52aa6
tree8cbe52a980a4c1ee8b11821a81e8abab292b271a
parente2bfacb6e490bb571f2fbd243c7a2d4658149fba
daemon: Allow monitored daemon to dump core no more than once.

If the monitored daemon dumps core frequently, then this can quickly
exhaust the host's disk space.  This commit limits core dumps to at most
one per monitored session (typically, once per boot).
lib/daemon.c