Hello Jiri,
For your information I found a way to reproduce the problem by mistake.
After reworking my script I was missing a t_reply() in a failure_route[]
and on every busy call the transaction waiting counter keep increasing
but never decreased after.
failure_route[6] {
if (t_check_status("486")) {
xlog("L_INFO","Call busy: r-uri <%ru> to <%tu> from
<%fu>\n");
##### This t_reply was missing ########
t_reply("486","Busy Here");
break;
} else if (t_check_status("404")) {
xlog("L_WARN","TRUNK BUSY: r-uri <%ru> to <%tu>
from
<%fu>\n");
} else {
xlog("L_WARN","CALL FAILED: r-uri <%ru> to <%tu>
from
<%fu>\n");
};
t_reply("480","Temporary Unavailable");
}
I looked quickly at the code but was not able to figure out where the
problem is hiding, then I had to move on something else.
Now with the t_reply in place the counter still increases over time but
at slower rate.
Maybe this will give you a hint, when you'll have a chance to look at
it.
-Cesar
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of Jiri Kuthan
Sent: Thursday, May 26, 2005 2:20 AM
To: Richard Z; serusers(a)lists.iptel.org
Subject: Re: [Serusers] serctl moni
At 11:28 PM 5/25/2005, Richard Z wrote:
Hi,
When i use "serctl moni", it shows,
Transaction Statistics
Current: 2 (47 waiting) Total: 19299 (12 local)
I understand that ser keeps the sessions for 5 seconds before
destroying them. But I saw the number of waiting increasing during the
last few days.
Do it mean that there is a memory leak or something?
I think that there is an error to discrease the counter in some cases.
It has been starving on my to-do-list for ages and I am not sure when
it will make out of it.
-jiri
Thanks,
Richard
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan
http://iptel.org/~jiri/
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers