hastd: zombies after hooks
Mikolaj Golub
to.my.trociny at gmail.com
Sun Oct 3 12:45:48 UTC 2010
Hi,
After recent changes hastd does not garbage collect finished hooks leaving
zombies and messages in log like below:
Oct 3 18:21:05 bolek hastd[5144]: Hook is running for 1330 seconds (pid=5223, cmd=[/usr/bin/true connect storage]).
This is because wait3() in hook_check() is never called (we never call
hook_check(true)). Below is a patch that works for me.
--
Mikolaj Golub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hook_check.patch
Type: text/x-patch
Size: 1628 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20101003/dcbbbea5/hook_check.bin
More information about the freebsd-fs
mailing list