#48110 nunc-stans memory leaks after restarting server
Closed: Fixed None Opened 4 years ago by mreynolds.

Just starting the server up, and then stopping it generates these leaks. Putting the server under load still leads to the same leaks:

==17652== 48 bytes in 3 blocks are definitely lost in loss record 570 of 1,327
==17652==    at 0x4C2745D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17652==    by 0x518FC5A: ns_thrpool_new (ns_thrpool.c:811)
==17652==    by 0x41D34A: slapd_daemon (daemon.c:1516)
==17652==    by 0x42679A: main (main.c:1279)
==17652==
==17652== 264 (128 direct, 136 indirect) bytes in 1 blocks are definitely lost in loss record 1,031 of 1,327
==17652==    at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17652==    by 0x518F02D: new_ns_job (ns_thrpool.c:367)
==17652==    by 0x518F0EF: alloc_io_context (ns_thrpool.c:384)
==17652==    by 0x518F7DA: setup_event_q_wakeup (ns_thrpool.c:663)
==17652==    by 0x518FC47: ns_thrpool_new (ns_thrpool.c:808)
==17652==    by 0x41D34A: slapd_daemon (daemon.c:1516)
==17652==    by 0x42679A: main (main.c:1279)
==17652==
==17652== 528 (128 direct, 400 indirect) bytes in 1 blocks are definitely lost in loss record 1,104 of 1,327
==17652==    at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17652==    by 0x518F02D: new_ns_job (ns_thrpool.c:367)
==17652==    by 0x518F1A1: alloc_signal_context (ns_thrpool.c:403)
==17652==    by 0x518F46D: ns_add_signal_job (ns_thrpool.c:537)
==17652==    by 0x41D37B: slapd_daemon (daemon.c:1517)
==17652==    by 0x42679A: main (main.c:1279)

To git+ssh://git.engineering.redhat.com/srv/git/users/mareynol/nunc-stans.git
f4b7f8c..f232119 mreynolds -> mreynolds
commit f2321199cfe087e20a9045408c0a3fd9c027589e

To git+ssh://git.engineering.redhat.com/srv/git/users/mareynol/ds.git
ecadfd7..e3c1f1f nunc-stans -> nunc-stans
commit e3c1f1f793689584209fb77e7e1bce15a6371987

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.4 backlog

2 years ago

Login to comment on this ticket.

Metadata