[Swan] Pluto consumes all available memory
Will Roberts
ironwill42 at gmail.com
Tue Jun 9 04:35:05 EEST 2015
On 05/31/2015 10:33 AM, Will Roberts wrote:
> On 05/20/2015 04:00 PM, Paul Wouters wrote:
>> Possible yes, but that would be very strange. Do you see memory usage go
>> up over time gradually, or in giant chunks?
>
> The system loses about 6MB a day. Many of my servers are relatively
> small with about 512MB of RAM. The larger machines are also seeing the
> problem, they just take longer to hit the critical point.
>
>>
>> Nothing I can think of. You can try to run things under valgrind I guess
>> and see?
>>
>> ipsec _stackmanager start
>> valgrind /usr/libexec/ipsec/pluto --config /etc/ipsec.conf --nofork
>>
>> Pssobly when you hit ctrl-c valgrind will give some data?
>
I've attached a valgrind log with some more detail, but it doesn't mean
a lot to me. I'm assuming that each creation and tear down of a tunnel
loses a little bit of memory. What else can I do to help identify this leak?
Thanks,
--Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipsec-valgrind.log
Type: text/x-log
Size: 21983 bytes
Desc: not available
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20150608/73d9eba6/attachment-0001.bin>
More information about the Swan
mailing list