[Swan-dev] Pluto memory consumption

Andrew Cagney andrew.cagney at gmail.com
Fri Mar 17 17:04:05 UTC 2017


Yes, the below look suspect.

On 17 March 2017 at 08:52, Erik Andersson <erik at ingate.com> wrote:
>
> 14)
>
> ==2991== 42,656 bytes in 5,332 blocks are definitely lost in loss record 795
> of 805
> ==2991==    at 0x4C2B975: calloc (vg_replace_malloc.c:711)
> ==2991==    by 0x8E78351: PORT_ZAlloc_Util (in /usr/lib64/libnssutil3.so)
> ==2991==    by 0x553C911: CERT_ImportCerts (in /usr/lib64/libnss3.so)
> ==2991==    by 0x1AC090: crt_tmp_import (nss_cert_vfy.c:194)
> ==2991==    by 0x1AC090: verify_and_cache_chain (nss_cert_vfy.c:474)
> ==2991==    by 0x130526: pluto_process_certs.isra.3 (x509.c:766)
> ==2991==    by 0x130BD4: ikev2_decode_cert (x509.c:877)
> ==2991==    by 0x17D662: ikev2_decode_peer_id_and_certs (ikev2.c:1300)
> ==2991==    by 0x184E6F: ikev2_parent_inI2outR2_tail (ikev2_parent.c:3438)
> ==2991==    by 0x184E6F: ikev2_parent_inI2outR2_continue
> (ikev2_parent.c:3381)
> ==2991==    by 0x1A239A: handle_helper_answer (pluto_crypt.c:910)
> ==2991==    by 0x6329A13: event_base_loop (in
> /usr/lib64/libevent-2.0.so.5.1.9)
> ==2991==    by 0x165568: main_loop (server.c:663)
> ==2991==    by 0x165568: call_server (server.c:798)
> ==2991==    by 0x126499: main (plutomain.c:1714)
>
> See 8.
>
> 15)
>
> ==2991== 65,088 bytes in 8,136 blocks are definitely lost in loss record 802
> of 805
> ==2991==    at 0x4C2B975: calloc (vg_replace_malloc.c:711)
> ==2991==    by 0x8E78351: PORT_ZAlloc_Util (in /usr/lib64/libnssutil3.so)
> ==2991==    by 0x553C911: CERT_ImportCerts (in /usr/lib64/libnss3.so)
> ==2991==    by 0x1AC090: crt_tmp_import (nss_cert_vfy.c:194)
> ==2991==    by 0x1AC090: verify_and_cache_chain (nss_cert_vfy.c:474)
> ==2991==    by 0x130526: pluto_process_certs.isra.3 (x509.c:766)
> ==2991==    by 0x130BD4: ikev2_decode_cert (x509.c:877)
> ==2991==    by 0x17D662: ikev2_decode_peer_id_and_certs (ikev2.c:1300)
> ==2991==    by 0x185800: ikev2parent_inR2 (ikev2_parent.c:4081)
> ==2991==    by 0x17F93B: process_v2_packet (ikev2.c:1268)
> ==2991==    by 0x19FD77: comm_handle (demux.c:234)
> ==2991==    by 0x19FD77: comm_handle_cb (demux.c:193)
> ==2991==    by 0x6329A13: event_base_loop (in
> /usr/lib64/libevent-2.0.so.5.1.9)
> ==2991==    by 0x165568: main_loop (server.c:663)
> ==2991==    by 0x165568: call_server (server.c:798)
>
> Same as 14?


More information about the Swan-dev mailing list