bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] [PATCH] Memory leak in syslogd.


From: Mats Erik Andersson
Subject: Re: [bug-inetutils] [PATCH] Memory leak in syslogd.
Date: Tue, 8 Feb 2011 21:40:29 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

tisdag den  8 februari 2011 klockan 14:18 skrev Alfred M. Szmidt detta:
>    in preparing other changes (port in forward actions, etcetera) for
>    IU-syslogd, I have discovered that the handling at reload of
>    configuration, as well as failed implementation of the action
>    fields, will lead do memory leaks over time.
> 
> It shouldn't leak of course.
> 
>    Using the following setup
> 

>  [...]

> 
>    I have sent USR1 once and HUP twenty times to the process without
>    detecting a crash or other malfunction.
> 
> What do you mean with a crash?  Did it crash before?

No crashes at all, I just wanted to point our that twenty
reload actions, once for each SIGHUP, did not uncover an
error caused by the memory reclaim code I have implemented
in the suggested patch. This increases the propability that
my ocular inspection of the patch is correct!

Clearly the present memory leakage is so slow that it might
take thousands of reloads before s given system senses any
disturbance. Still, we would all agree that any known leaks
ought to be closed at the source.

Best regards,
   Mats

-- 
Mats Erik Andersson, fil. dr
<address@hidden>
2459 41E9 C420 3F6D F68B  2E88 F768 4541 F25B 5D41

Abonnerar på: debian-mentors, debian-devel-games, debian-perl,
              debian-ipv6, debian-qa



reply via email to

[Prev in Thread] Current Thread [Next in Thread]