[hobbit] Shared memory and semaphores?
Henrik Stoerner
henrik at hswn.dk
Tue Jul 18 16:49:00 CEST 2006
On Tue, Jul 18, 2006 at 12:43:02PM +0000, David Gore wrote:
> When you shutdown hobbit, should the shared memory and semaphores be
> released?
Yes.
> They do not appear to be released on my Hobbit server running
> Fedora Core 5.
Forgot the last one. Patch attached.
Regards,
Henrik
-------------- next part --------------
--- hobbitd/hobbitd.c 2006/07/15 19:54:16 1.248
+++ hobbitd/hobbitd.c 2006/07/18 14:46:08
@@ -25,7 +25,7 @@
/* */
/*----------------------------------------------------------------------------*/
-static char rcsid[] = "$Id: hobbitd.c,v 1.248 2006/07/15 19:54:16 henrik Exp $";
+static char rcsid[] = "$Id: hobbitd.c,v 1.249 2006/07/18 14:46:05 henrik Exp $";
#include <limits.h>
#include <sys/time.h>
@@ -4541,6 +4541,7 @@
close_channel(noteschn, CHAN_MASTER);
close_channel(enadischn, CHAN_MASTER);
close_channel(clientchn, CHAN_MASTER);
+ close_channel(clichgchn, CHAN_MASTER);
save_checkpoint();
unlink(pidfile);
More information about the Xymon
mailing list