Issue #964
Updated by Tobias Brunner over 10 years ago
Hi,
I m using strongswan-5.3.0 for tunnel establishment & libipsec encryption/decryption.
In our lab I tested a scenario where I sent,
1. 20Mbps uplink traffic from the device where libipsec is running, to a remote server.
2. 80Mbps downlink traffic from the remote server to the device where libipsec is running.
These two traffics are sent simultaneously using iperf tool.
I see that charon's memory usage gradually shoots up, it goes upto 651MB before the device crashes with out of memory.
Top output
<pre>
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3863 root 18 -2 651m 513m 1976 S 132 46.2 3:17.09 charon
4421 apps 20 0 126m 14m 4848 S 46 1.3 0:36.59 rrc_entity
4419 apps 20 0 138m 103m 1948 S 31 9.3 0:45.75 egtpuApp
523 apps 20 0 46496 3828 2928 R 29 0.3 0:44.82 fsmDevLogProxy
660 root 20 0 99.0m 4076 2300 S 8 0.4 0:22.47 PlatformOam
5979 root 20 0 0 0 0 S 6 0.0 0:06.23 kworker/0:2
609 apps 20 0 9508 2628 2152 S 4 0.2 0:13.04 fsmSwitchMgr
</pre>
Attaching the file containing necessary information.
Please let me know if there is any information required to resolve this.
Regards,
Sriram.
I m using strongswan-5.3.0 for tunnel establishment & libipsec encryption/decryption.
In our lab I tested a scenario where I sent,
1. 20Mbps uplink traffic from the device where libipsec is running, to a remote server.
2. 80Mbps downlink traffic from the remote server to the device where libipsec is running.
These two traffics are sent simultaneously using iperf tool.
I see that charon's memory usage gradually shoots up, it goes upto 651MB before the device crashes with out of memory.
Top output
<pre>
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3863 root 18 -2 651m 513m 1976 S 132 46.2 3:17.09 charon
4421 apps 20 0 126m 14m 4848 S 46 1.3 0:36.59 rrc_entity
4419 apps 20 0 138m 103m 1948 S 31 9.3 0:45.75 egtpuApp
523 apps 20 0 46496 3828 2928 R 29 0.3 0:44.82 fsmDevLogProxy
660 root 20 0 99.0m 4076 2300 S 8 0.4 0:22.47 PlatformOam
5979 root 20 0 0 0 0 S 6 0.0 0:06.23 kworker/0:2
609 apps 20 0 9508 2628 2152 S 4 0.2 0:13.04 fsmSwitchMgr
</pre>
Attaching the file containing necessary information.
Please let me know if there is any information required to resolve this.
Regards,
Sriram.