[Freeipa-devel] [PATCH][SSSD] Fix bug where services restarted by the monitor would be pinged more than once per cycle
Stephen Gallagher
sgallagh at redhat.com
Fri Mar 27 11:31:13 UTC 2009
Whenever a service is started by the monitor, we start a series of timed
events to poll the child service for responsiveness every N seconds.
However, when a dead process is restarted, we weren't terminating the
original polling, so each time a process died, we were adding another
ping to the event loop, causing a resource leak.
This patch allows us to store the current event_timer for the ping in
the service object, so we can destroy it when restarting a service.
--
Stephen Gallagher
RHCE 804006346421761
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-bug-where-services-restarted-by-the-monitor-woul.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090327/77cdd35e/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090327/77cdd35e/attachment.sig>
More information about the Freeipa-devel
mailing list