[strongSwan] Memory leak in charon?

Michael Schwartzkopff ms at sys4.de
Fri Aug 5 15:21:47 CEST 2022


On 05.08.22 14:36, Andreas Steffen wrote:
> Hi Michael,
>
> I'm not aware of any memory leak that we fixed. You could run charon
> compiled with the --enable-leak-detective configure option and check
> for any memory leaks when you stop the daemon.
>
> Regards
>
> Andreas
>

Thanks for the fast response. It is reported to the log file? Is the any 
"hup" to get the report in the fly?





> On 05.08.22 09:46, Michael Schwartzkopff wrote:
>> Hi,
>>
>>
>> we have a strongswan 5.9.5 installed on a embedded device.
>>
>> We see a increase of memory usage of the charon process of about 200 
>> kB/hour.
>>
>> The leak might be somehow connected to rekeying since the leak rate 
>> was reduced with the rekeying rate. Also perhaps to logging, since we 
>> reduced verbosity to decrease leak rate.
>>
>>
>> As far as I read the changelog, no memory leak was fixed in 5.9.6 and 
>> 5.9.7.
>>
>>
>> Any idea how to proceed to pin down the cause of the leak? 200 kB/h 
>> impacts the embedded device.
>>
>>
>>
>> Mit freundlichen Grüßen,
> ======================================================================
> Andreas Steffen andreas.steffen at strongswan.org
> strongSwan - the Open Source VPN Solution! www.strongswan.org
> strongSec GmbH, 8952 Schlieren (Switzerland)
> ======================================================================


Mit freundlichen Grüßen,

-- 

[*] sys4 AG
  
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
  
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein



More information about the Users mailing list