Hi<br><br>Thanks for all you support<br><br>Out of memory was fixed by increasing private memory.<br>As well as the other issues are fixed now.<br><br><div class="gmail_quote">On Wed, Dec 10, 2008 at 3:12 AM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Krunal,<br>
<br>
Krunal Patel wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hi,<br>
<br>
We are having setup like openser+radius+mediaproxy.<br></div>
Openser version is 1.2.3. <<a href="http://1.2.3./" target="_blank">http://1.2.3./</a>><div class="Ih2E3d"><br>
<br>
When we started to send high volume calls , we get below mentioned ERRORs & WARNINGs.<br>
1. /usr/local/sbin/openser[29869]: ERROR:tm:t_forward_nonack: discarding fwd for a cancelled transaction<br>
/usr/local/sbin/openser[29869]: ERROR:tm:w_t_relay: t_forward_nonack failed<br>
WARNING: script writer didn't release transaction<br>
</div></blockquote>
This means you are trying to fork a branch from an INVITE that was already cancelled.<br>
<br>
in failure route, do you use something like:<br>
if (t_was_cancelled()) {<br>
exit;<br>
}<br>
(see default opensips cfg script)<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
2. WARNING:tm:run_failure_handlers: no UAC or CANCEL support (1, 0)<br>
</blockquote></div>
do not use t_on_failure() for a CANCEL request ;)<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
3. /usr/local/sbin/openser[29870]: ERROR:nathelper:nh_timer: out of memory<br>
</blockquote></div>
you have too many contacts registered and nathelper is not able to retrieve them (for pinging). Solutions:<br>
1) increase PKG memory - see PKG_MEM_POOL_SIZE in config.h (recompile is needed)<br>
2) upgrade to opensips 1.4.3 and use distributed nat pinging<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
4. /usr/local/sbin/openser[29870]: convert_rows: No memory left (openser crashed)<br>
<br>
</blockquote></div>
do you have a core file? a backtrace?<br>
<br>
Regards,<br>
Bogdan<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
<br>
As we were using default shared memory for openser, we increased shared memory to maximum(2GB) to fix out of bound issue.<br>
We checked openser script for memory leacks using valgrind, but did not find any memory leack.<br>
<br>
During doing relay of CANCEL,in relay route t_on_failure was added. So we removed t_on_failure in relay route for CANCEL.<br>
So WARNING:tm:run_failure_handlers: no UAC or CANCEL support (1, 0) was fixed.<br>
<br>
Still we are facing,<br>
1. /usr/local/sbin/openser[29869]: ERROR:tm:t_forward_nonack: discarding fwd for a cancelled transaction<br>
/usr/local/sbin/openser[29869]: ERROR:tm:w_t_relay: t_forward_nonack failed<br>
WARNING: script writer didn't release transaction<br>
<br>
2. /usr/local/sbin/openser[29870]: ERROR:nathelper:nh_timer: out of memory<br>
<br>
3. ERROR:usrloc:get_all_db_ucontacts: raw_query failed<br>
<br>
4. rc_avpair_gen: received unknown attribute 80 of length 18: 0xA40AA6A78F04D67B03C75F8CA233F008<br>
<br>
Will increasing private memory will solve all issues?<br>
<br>
Thanks in advance!!<br>
<br>
--<br>
Krunal Patel<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>