Hello,

Thank you for your reply 

I follow your suggestions to modify SHM_MEMORY ,PKG_MEMORY value and the system only two uac register. 

See the program after I start kamailio.

shm memory 1G  
pkg memory 10M

sh-3.00# ps -ef | grep kamailio
root     23627     1  0 12:57 ?        00:00:00 /home/pkg/kamailio-3.3.4/sbin/kamailio -f /home/pkg/kamailio-3.3.4/etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.pid -m 1024 -M 10 -u root -g kamailio
root     23635 23627  0 12:57 ?        00:00:03 /home/pkg/kamailio-3.3.4/sbin/kamailio -f /home/pkg/kamailio-3.3.4/etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.pid -m 1024 -M 10 -u root -g kamailio

This problem is still the same last crazy the sending options message for uac
But the /var/log/syslog not the same as follows 

Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl->next=(nil) tl->prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl->next=(nil) tl->prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl->next=(nil) tl->prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl->next=(nil) tl->prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime


2013/3/20 Rinor Hoxha <rinorhoxha@gmail.com>
Hi,
I had this "issue" some times ago. It turned out that I needed to increase the value of SHM_MEMORY, since by mistake I forgot a 0 on the value (1024 vs. 10240). However this happened only when high loads on system.
I needed also to tune PKG_MEMORY to my needs. ( both on /etc/default/kamailio )

Check your settings and see if this helps.

Br, Rinor



On Tue, Mar 19, 2013 at 4:07 PM, dolphin <dolphinctk@gmail.com> wrote:
hi  ,  

i use  kamailio 3.3.4 version  

I  set  and load  dialog  module 

modparam("dialog", "ka_timer", 10)
modparam("dialog", "ka_interval", 20)

use  dlg_set_property("ka-src"); 

When uac A call uac B connection success  , After 20 seconds, sip proxy send the OPTIONS message uac A 

Crazy sent to fill my bandwidth  ,  I use ngrep  tools  see sip server  

U xxx.xxx.xxx:5002 -> xxx.xxx.xxx.xxx:16296
OPTIONS sip:xxxxxx@xxx.xxx.xxx.xxx:16296;transport=udp SIP/2.0.
Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5002;branch=z9hG4bK92da.1584702.0.
To: sip:xxxxxxx@xxx.xxx.xxx.xxx:5002;tag=eb6e8f3e.
From: sip:xxxxxxx@xxx.xxx.xxx.xxx:5002;tag=D.ZHkBjEnKXX.DTO69bc09sbB4oFdU3O.
CSeq: 1 OPTIONS.
Call-ID: NDZlY2JhMjUyMjZiYTllZGJmZTA2MmYxODU5NmY3NGY..
Content-Length: 0.
User-Agent: SIP Server.

and  /var/log/syslog 

Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [t_msgbuilder.c:1528]: build_uac_req(): no shmem (370)
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [uac.c:338]: t_uac: Error while building message
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: dialog [dlg_req_within.c:381]: failed to send the BYE request
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [t_msgbuilder.c:1528]: build_uac_req(): no shmem (370)
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [uac.c:338]: t_uac: Error while building message
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: dialog [dlg_req_within.c:381]: failed to send the BYE request
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [t_msgbuilder.c:1528]: build_uac_req(): no shmem (370)
Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [uac.c:338]: t_uac: Error while building message
 
Please help me  




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users