Hi,

I used the plugin resided in `extras/vpp_sswan` on both 5.9.8 and 5.8.2 
Strongswan versions. All functionalities are working great but after Child SAs 
are established, there's a constant memory growth in charon process( Reaching 
from 20MB RSS to 46MB RSS in 4 days, but this growth is visible from the 
beginning of establishment of SAs and is constant. Also I haven't tested it 
this issue exists with IKE SAs only with no Child SA). There are also no 
complaints From ASAN.

Interestingly, If `stat_segment_disconnect` is not called( and 
`stat_segment_connect` is called once) in `query_sa` function, The problem is 
solved and there is no memory growth. I tried protecting the process of 
querying SAs with mutex but it was no good.  I would like to know if there is 
any specific reason behind this connecting/fetching stats/disconnecting 
pattern? Couldn't connect once then keep the connection? I've also checked and 
tested the `stat_client.c` code. It seems fine and there are no memory issues 
there.

So any advice regarding where to lookup or which tools should be used to catch 
the root cause of this problem?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22323): https://lists.fd.io/g/vpp-dev/message/22323
Mute This Topic: https://lists.fd.io/mt/95641379/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to