#60 Hang due to "no more nonces can be generated"

1.4.x
closed-fixed
modules (454)
9
2008-12-12
2008-12-04
Anonymous
No

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.

Discussion

  • Bogdan-Andrei Iancu

    • milestone: --> 1.4.x
    • assigned_to: nobody --> bogdan_iancu
    • labels: --> modules
     
  • Bogdan-Andrei Iancu

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

     
  • Alistair Cunningham

    (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.

     
  • Bogdan-Andrei Iancu

    Passed it to Anca.

     
  • Bogdan-Andrei Iancu

    • priority: 5 --> 9
    • assigned_to: bogdan_iancu --> anca_vamanu
    • status: open --> open-accepted
     
  • Bogdan-Andrei Iancu

    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

     
  • Bogdan-Andrei Iancu

    • status: open-accepted --> open-fixed
     
  • Bogdan-Andrei Iancu

    Test confirmed the validity of the fix

     
  • Bogdan-Andrei Iancu

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks