[Freeipa-devel] [PATCH][SSSD] Fix bug where services restarted by the monitor would be pinged more than once per cycle

Sumit Bose sbose at redhat.com
Fri Mar 27 11:34:39 UTC 2009


Stephen Gallagher schrieb:
> 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.
> 
> 
ack

bye,
Sumit




More information about the Freeipa-devel mailing list