Hi,
Thank you for the update.
We encountered a core dump, and the hang occurred at the following code point. According to the core dump, value->len
is 7, while ph->value.len
is null.
if (value->len == ph->value.len && memcmp(value->s, ph->value.s, value->len) == 0) {
Link: https://github.com/kamailio/kamailio/blob/5.5/src/modules/dialog/dlg_profile.c#L854C1-L855C1
Could you please provide your suggestions?
Hello,
there is a command to get a backtrace from the hanging processes, refer e.g. to:
https://lists.kamailio.org/pipermail/sr-users/2015-September/090121.html
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
From: satyaprakash ch via sr-users <sr-users@lists.kamailio.org>
Sent: Sonntag, 4. August 2024 14:43
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: satyaprakash ch <chiramchetty.satyaprakash@gmail.com>
Subject: [SR-Users] Kamailio hang Issue
Hi,
We are encountering a hang issue after deploying the following code:
route(DLG_MANAGE);
if ($dlg_var(voip_id) == $null) {
$dlg_var(voip_id) = $hdr(X-Voip-ID);
}
route[DLG_MANAGE] {
if (is_method("INVITE")) {
dlg_manage();
}
}This code includes the
set_dialog_profile
. We have this setup with 2 proxy servers with DMQ enabled, but the issue only occurs on one proxy.When the Kamailio proxy hangs, no logs are written.
If you have any suggestions to resolve this issue, please help.
Thanks.