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.