[SR-Users] How to check message queue (buffer) in Kamailio

AliReza Khoshgoftar Monfared khoshgoftar at gmail.com
Tue Jul 1 15:57:49 CEST 2014


Hi Daniel,

Thanks for the reply.
I was thinking about it as a signal for the Kamailio server being
overloaded (i.e. spikes in the load)
Are there other options built in Kamailio that can be monitored to see when
the server/proxy is overloaded? I think something like the rate of incoming
messages may also be helpful?


Best,
Alireza


On Tue, Jul 1, 2014 at 7:12 AM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

>  Hello,
>
> the SIP messages send on UDP/SCTP are received directly from the buffer in
> kernel one by one, each being processed once read. It is hard to know how
> many are waiting in the kernel.
>
> My question would be, when such information would really help? If kamailio
> is too busy handling traffic, won't get much time to care of other tasks
> (e.g., predict what is in network read kernel queue).
>
> Cheers,
> Daniel
>
>
> On 30/06/14 16:40, AliReza Khoshgoftar Monfared wrote:
>
>  Hi,
>
>  I had another simple question:
>
>  In a kamailio server (proxy), how do I check the number of messages
> currently waiting for processing?
>
>
>  Is there a variable that I can monitor, say, if I want to make a routing
> decision in my config based on the number of messages in the queue?
>
>  Also, is it possible to get a head count by method? or is it only
> possible after fully parsing the message?
>
>  I see that "ratelimit" module uses similar information, but I am not
> sure how to get the status of these queues that the module uses.
>
>  Thanks
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140701/19b9052e/attachment.html>


More information about the sr-users mailing list