Hi List,
I'm writing a little message because I encountered today a strange error on my Kamailio 3.0 proxy/presence server ( and can't ask on IRC there's nobody atm ;p )
I get these errors in the logs since a few hours:
Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: tm [t_msgbuilder.c:1371]: build_uac_req(): no shmem Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: tm [uac.c:327]: t_uac: Error while building message Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: presence [notify.c:1577]: in function tmb.t_request_within Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: presence [notify.c:1673]: sending Notify not successful Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: presence [notify.c:1348]: Could not send notify for dialog
That prevents NOTIFYs from being sent, but I can also see sometimes NOTIFYs get sent without theses errors.
The strange thing is that the error indicate no shared memory, but on the server, I'm far from being memless (16G total RAM, 4G free not even used for cache ).
I have presence, presence_xml, presence_dialoginfo, pua, pua_dialoginfo and pua_bla loaded.
Anyone got an idea on where to look ?
Regards,
Gled.
Hello,
On 4/23/10 2:44 PM, Tristan Mahé wrote:
Hi List,
I'm writing a little message because I encountered today a strange error on my Kamailio 3.0 proxy/presence server ( and can't ask on IRC there's nobody atm ;p )
I get these errors in the logs since a few hours:
Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: tm [t_msgbuilder.c:1371]: build_uac_req(): no shmem Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: tm [uac.c:327]: t_uac: Error while building message Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: presence [notify.c:1577]: in function tmb.t_request_within Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: presence [notify.c:1673]: sending Notify not successful Apr 23 14:31:41 proxy-b /proxy/bin/kamailio/sbin/kamailio[29008]: ERROR: presence [notify.c:1348]: Could not send notify for dialog
That prevents NOTIFYs from being sent, but I can also see sometimes NOTIFYs get sent without theses errors.
The strange thing is that the error indicate no shared memory, but on the server, I'm far from being memless (16G total RAM, 4G free not even used for cache ).
the memory existing in the system is not used by kamailio unless you specify it. By default kamailio uses up to 32MB of shared memory, when that limit is reached, then you get out of shm memory error messages. You can increase that by -m parameter. For example, if you want to start it with one GB of shared memory, then use: -m 1024
Insufficient memory allocated is one possible case, the other one is a memory leak somewhere. Do you have big traffic on the box?
Cheers, Daniel
I have presence, presence_xml, presence_dialoginfo, pua, pua_dialoginfo and pua_bla loaded.
Anyone got an idea on where to look ?
Regards,
Gled.
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