Hello,
do you get also dialog statistics? tm stats are not relevant in this
context.
Cheers,
Daniel
On 10.04.18 09:19, tyd wrote:
Hello,
On 10.04.18 07:25, tyd wrote:
Hi, Daniel
No, the dialogs were not terminated after 10 minutes if no BYE
message was sent.
Not using ims_dialog, but it may be that it doesn't send bye when
the dialog lifetime elapses, just destroys the structure it keeps
in memory. With the other dialog module, there is a parameter to
set if you want BYE to be sent.
But if Default value(43200) was set, the
S-CSCF will run out of
memory finally (after 200000 calls).
Were all these calls still active?
Hi,
In SIPp, the calls were finishes.
But in Kamailio, the calls seem keep in the memory and run out of memory.
Can any parameter solve this problem?
Is it a solution to set "ims_dialog", "default_timeout" to 600 ?
# kamcmd tm.stats
{
current: 69
waiting: 0
total: 991300
total_local: 0
rpl_received: 2183891
rpl_generated: 20232
rpl_sent: 1475856
6xx: 0
5xx: 2704
4xx: 10124
3xx: 0
2xx: 978329
created: 991300
freed: 991231
delayed_free: 0
}
# kamctl stats shmem
shmem:fragments = 1630
shmem:free_size = 4303040
shmem:max_used_size = 536870912
shmem:real_used_size = 532567872
shmem:total_size = 536870912
shmem:used_size = 415668000
Have any relation with this parameter and memory release ?
Yes, the structure kept for each call is destroyed after lifetime.
But it should be also destroyed if the BYE is received.
Cheers,
Daniel
Any impacts if using value 600 at production
environment ?
Thanks.
2018-04-10 0:27 GMT+08:00 Daniel-Constantin Mierla
<miconda(a)gmail.com <mailto:miconda@gmail.com>>:
Hello,
that should be the call lifetime. Are the dialogs terminated
after 10 minutes?
Cheers,
Daniel
On 09.04.18 16:58, tyd wrote:
Dear all,
What's the meaning of ims_dialog default_timeout parameter ?
/Default value is 「43200 (12 hours)」/
When modparam("ims_dialog", "default_timeout", 600) was set,
the situation of Kamailio S-CSCF out of memory was solved
and is running smoothly.
Debian 8 with Kamailio 4.4.7
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
--
Daniel-Constantin Mierla
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - April 16-18, 2018, Berlin -
www.asipto.com
<http://www.asipto.com>
Kamailio World Conference - May 14-16, 2018 -
www.kamailioworld.com
<http://www.kamailioworld.com>
--
Daniel-Constantin Mierla
www.twitter.com/miconda <http://www.twitter.com/miconda> --
www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - April 16-18, 2018, Berlin -
www.asipto.com
<http://www.asipto.com>
Kamailio World Conference - May 14-16, 2018 -
www.kamailioworld.com
<http://www.kamailioworld.com>