[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:38:57 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sumit Bose wrote:
> 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

Pushed to master

- --
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAknMuswACgkQeiVVYja6o6NCzwCgoeb06m2Zetq9XeUXtj1U3grU
s94An0uGvM9qpZ2mTvV6mstZgLTpJQcH
=HLhZ
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list