[strongSwan-dev] Help on RSS memory usage

Sriram Raghunathan sriram.r at nokia.com
Mon Aug 8 12:24:49 CEST 2016


Hi,

We are using strongswan 5.2.x version and on having a setup of

Five tunnels with a 512 threads running. We see, the RSS of charon value 
rising up close to 1GB which in turn is triggering oom killer to kill 
charon. There is a cause and action scenario here.

Could you help on understanding the memory usage?

# strongswan.conf - strongSwan configuration file

charon {
# number of worker threads in charon

threads = 512
filelog {
/var/tmp/strongswan.log {
append = yes
ike_name = yes
default = -1
ike =2
dmn =1
mgr =-1
chd =-1
job =-1
cfg =2
knl =2
net =-1
enc =1
lib =-1
}
}


plugins {

sql {
# loglevel to log into sql database
loglevel = -1
}
}

# ...
}

pluto {

}


More information about the Dev mailing list