Discussion:
[SR-Users] core:drop_requests meaning
Alex Balashov
2014-07-13 00:54:47 UTC
Permalink
Hi,

I was wondering what precisely these stats mean:

core:drop_replies = 0
core:drop_requests = 3

Assuming one does not explicitly drop() requests anywhere in script,
would a continuous monotonic increase in drop_requests be considered a
problem? Or are there some normal circumstances and ordinary behaviours
(i.e. auth challenges) that would register a request drop?

Thanks,

-- Alex
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
Daniel-Constantin Mierla
2014-07-14 12:53:18 UTC
Permalink
Hello,

iirc, should be the case of requests dropped from pre-script callbacks
or from onsend_route ... perhaps a look in the code is the best.

Anyhow, should not be something to worry if there are no alarming log
messages.

Cheers,
Daniel
Post by Alex Balashov
Hi,
core:drop_replies = 0
core:drop_requests = 3
Assuming one does not explicitly drop() requests anywhere in script,
would a continuous monotonic increase in drop_requests be considered a
problem? Or are there some normal circumstances and ordinary
behaviours (i.e. auth challenges) that would register a request drop?
Thanks,
-- Alex
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Alex Balashov
2014-07-18 18:48:35 UTC
Permalink
My concern is that this figure reflects requests which are not handled
at all (prior to the expiration of some timer and a retransmission)
because there are no worker threads able to get to them. Is it possible?
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906
Daniel-Constantin Mierla
2014-07-23 11:52:00 UTC
Permalink
Post by Alex Balashov
My concern is that this figure reflects requests which are not handled
at all (prior to the expiration of some timer and a retransmission)
because there are no worker threads able to get to them. Is it possible?
No, if there is no worker to handle the packet, then it is not known
that it was dropped (in case it was from network buffer) or if it is was
already in transactions hash table, there has to be a kamailio process
getting it out of there.

A reason that could be for dropping is the case of invalid sip messages
-- initial parsing fails and the message doesn't get to routing script.

Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Loading...