hishamway left a comment (kamailio/kamailio#4808)
Adding more relevent info about the memory leak
```
admin@sipcore2:~$ sudo pmap -x 3681544 | sort -n -k 3 | tail -n 30
00001484354d3000 1136 272 0 r-x-- libxml2.so.2.9.14
0000148436c1f000 388 388 388 r---- libcrypto.so.3
0000148414000000 640 640 640 rw--- [ anon ]
000056108026f000 3452 708 0 r-x-- kamailio
0000148438fc4000 1364 1172 0 r-x-- libc.so.6
0000148422e00000 2048 2048 2048 rw--- [ anon ]
00005610b17a1000 2844 2836 2836 rw--- [ anon ]
0000148436f76000 32772 4404 4404 rw--- [ anon ]
0000148418000000 65536 65536 65536 rw--- [ anon ]
000014841c000000 65536 65536 65536 rw--- [ anon ]
0000148423000000 262144 67272 67272 rw-s- zero (deleted)
0000148384000000 68904 68904 68904 rw--- [ anon ]
000014838c000000 131072 131072 131072 rw--- [ anon ]
0000148394000000 131072 131072 131072 rw--- [ anon ]
000014839c000000 131072 131072 131072 rw--- [ anon ]
00001483a4000000 131072 131072 131072 rw--- [ anon ]
00001483ac000000 131072 131072 131072 rw--- [ anon ]
00001483b4000000 131072 131072 131072 rw--- [ anon ]
00001483bc000000 131072 131072 131072 rw--- [ anon ]
00001483c4000000 131072 131072 131072 rw--- [ anon ]
00001483cc000000 131072 131072 131072 rw--- [ anon ]
00001483d4000000 131072 131072 131072 rw--- [ anon ]
00001483dc000000 131072 131072 131072 rw--- [ anon ]
00001483e4000000 131072 131072 131072 rw--- [ anon ]
00001483ec000000 131072 131072 131072 rw--- [ anon ]
00001483f4000000 131072 131072 131072 rw--- [ anon ]
00001483fc000000 131072 131072 131072 rw--- [ anon ]
0000148404000000 131072 131072 131072 rw--- [ anon ]
000014840c000000 131072 131072 131072 rw--- [ anon ]
total kB 2933568 2511496 2507780
```
```
admin@sipcore2:~$ sudo cat /proc/3681544/stack
[<0>] hrtimer_nanosleep+0xc7/0x1b0
[<0>] common_nsleep+0x3f/0x50
[<0>] __x64_sys_clock_nanosleep+0xdb/0x140
[<0>] do_syscall_64+0x55/0x80
[<0>] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
admin@sipcore2:~$ sudo tail -v -n +1 /proc/3681544/task/*/stack
==> /proc/3681544/task/3681544/stack <==
[<0>] hrtimer_nanosleep+0xc7/0x1b0
[<0>] common_nsleep+0x3f/0x50
[<0>] __x64_sys_clock_nanosleep+0xdb/0x140
[<0>] do_syscall_64+0x55/0x80
[<0>] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
==> /proc/3681544/task/3681554/stack <==
[<0>] wait_woken+0x50/0x70
[<0>] sk_wait_data+0x176/0x190
[<0>] tcp_recvmsg_locked+0x20b/0x940
[<0>] tcp_recvmsg+0x83/0x1f0
[<0>] inet_recvmsg+0x52/0x130
[<0>] __sys_recvfrom+0xcb/0x140
[<0>] __x64_sys_recvfrom+0x20/0x30
[<0>] do_syscall_64+0x55/0x80
[<0>] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
==> /proc/3681544/task/3681555/stack <==
[<0>] futex_wait_queue+0x60/0x90
[<0>] futex_wait+0x185/0x270
[<0>] do_futex+0x106/0x1b0
[<0>] __x64_sys_futex+0x8e/0x1d0
[<0>] do_syscall_64+0x55/0x80
[<0>] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
==> /proc/3681544/task/3681556/stack <==
[<0>] futex_wait_queue+0x60/0x90
[<0>] futex_wait+0x185/0x270
[<0>] do_futex+0x106/0x1b0
[<0>] __x64_sys_futex+0x8e/0x1d0
[<0>] do_syscall_64+0x55/0x80
[<0>] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
```
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4808#issuecomment-4925827952
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4808/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!