[OpenSIPS-Devel] [ opensips-Bugs-2385561 ] Hang due to "no more nonces can be generated"

SourceForge.net noreply at sourceforge.net
Fri Dec 12 10:55:10 CET 2008


Bugs item #2385561, was opened at 2008-12-04 02:33
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2385561&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.4.x
>Status: Closed
Resolution: Fixed
Priority: 9
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: Hang due to "no more nonces can be generated"

Initial Comment:
We've just had OpenSIPS 1.4.2 stop processing SIP packets and effectively hang. During this time, it logged the following many times to /var/log/daemon.log:

ERROR:auth:build_auth_hf: no more nonces can be generated
ERROR:auth:challenge: failed to generate nonce

Restarting OpenSIPS has temporarily cured it, but I expect the problem will come back.

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-12-12 11:55

Message:
Test confirmed the validity of the fix

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-12-04 17:59

Message:
Hi Alistair,

Anca did a fix - indeed it was a bug that was introducing some limitation.
Please upload and be as wild as you want with the load - the error should
not occur.

I will wait for your confirmation in order to close this bug.

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-12-04 15:25

Message:
Passed it to Anca.

----------------------------------------------------------------------

Comment By: Alistair Cunningham (acunningham)
Date: 2008-12-04 14:26

Message:
(I am the original reporter, and have now made an account)

This system has around 1800 phones registering to it. Most will have a
registration interval of 1 minute or 5 minutes for NAT purposes, as the
system was recently upgraded from SER 0.9.6 which didn't handle NAT
keep-alives very well and so necessitated a short registration time on the
client side. Few (if any) users will have changed to longer intervals. I
would budget on 1000 registrations per minute (this figure may be on the
high side).

If we can overcome this problem, we'd plan to move some very much larger
systems (several hundred thousand users) over to OpenSIPS at some point in
the medium future. If we do then fo course the registration rate will be
much higher.

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-12-04 14:18

Message:
What is the number of authentication requests you expect to have per
minute/second ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2385561&group_id=232389



More information about the Devel mailing list