[OpenSIPS-Users] Drop_req increasing

Liviu Chircu liviu at opensips.org
Thu Jun 14 08:32:52 EDT 2018

Hi, Rick!

"drop_requests - Returns the number of requests dropped even before 
entering the script routing logic."

Looking at the code, this seems to be false, since the "drop requests" 
may also get bumped on each forward() failure (no corresponding socket, 
bogus proto, missing proto module, send failed, etc.).  The same will 
happen if you have a positive blacklist match (moreover, no error gets 
printed out in this case).

The other place where this gets called is, indeed, before the script is 
even run.  This includes filtered ACKs to locally generated replies, 
unmatched anycast CANCEL messages which get broadcasted in the tm 
cluster and messages blocked by pike.

I guess the docs should be rewritten to include the above, somehow...


Liviu Chircu
OpenSIPS Developer

On 14.06.2018 15:13, Rik Broers wrote:
> Hi list!
> I cannot find any reason why the Drop_requests statistic is 
> increasing. There is nothing which correlates in the logs, and also 
> nothing in my PCAP’s. (Well obviously there is traffic in my pcap, 
> just nothing out of the ordinary when the spikes occur.)
> Also no other statistics are spiking, such as load,mem or amount of 
> packets.
> The description in the documentation makes me think it are packets 
> which are entering the opensips processes, do not belong to any module 
> (such as nat pings) and are not SIP. So what are they?
> http://www.opensips.org/Documentation/Interface-CoreStatistics-2-1#toc6
> Returns the number of requests dropped even before entering the script 
> routing logic.
> Can I somehow make it that opensips logs these messages anyway? So I 
> can find out who or what is causing it..
> Below the statistics:
> Kind Regards,
> *Met vriendelijke groet,*
> Rik Broers
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20180614/ea09f84b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 17644 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20180614/ea09f84b/attachment-0001.jpg>

More information about the Users mailing list