Here is a log entry with latest patches:
Jun 30 14:58:42 siprouter-sti-test /usr/local/sbin/kamailio[14510]: INFO: <core> [core/dns_cache.c:496]: _dns_hash_remove_entry(): item 0x7f362eb590c0 with high refcnt 2 (core/dns_cache.c:551)
Jun 30 14:58:42 siprouter-sti-test /usr/local/sbin/kamailio[14510]: WARNING: <core> [core/dns_cache.c:171]: dns_hash_put_entry(): unlinked item 0x7f362eb590c0 rc 1 (core/dns_cache.c:499)
Thanks.
JR Richardson
From: Daniel-Constantin Mierla ***@***.***>
Sent: Friday, June 27, 2025 7:28 AM
To: kamailio/kamailio ***@***.***>
Cc: hubgurujr ***@***.***>; Author ***@***.***>
Subject: Re: [kamailio/kamailio] "dns_hash_put(): unlinked item" downgrade of the WARN messages to INFO (Issue #4287)
<https://avatars.githubusercontent.com/u/184809?s=20&v=4> miconda left a comment (kamailio/kamailio#4287) <https://github.com/kamailio/kamailio/issues/4287#issuecomment-3012885513>
Can you apply two more patches, test again and give again the logs?
* https://github.com/kamailio/kamailio/commit/7f349a69cb9dbc2f18ecc0ae22ec213366943531.diff
* https://github.com/kamailio/kamailio/commit/81e9c4f965dcedccdc73f88c6b8f0c2ff09598c8.diff
The debug has to e 2 to get the INFO from the second patch, or, if you need to keep it lower, then change in the second patch the LM_INFO to LM_WARN.
I want to track it a bit further, because, as it is, it might lead to memory leak.
—
Reply to this email directly, view it on GitHub <https://github.com/kamailio/kamailio/issues/4287#issuecomment-3012885513> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AQET6TGE6MJ7YDSO3JL5CE33FU2GVAVCNFSM6AAAAAB7QIV34SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTAMJSHA4DKNJRGM> .
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AQET6TAAQDEUZUSLESLQ7G33FU2GVA5CNFSM6AAAAAB7QIV34SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVTST6AS.gif> Message ID: ***@***.*** ***@***.***> >
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4287/3020523264@github.com>