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.
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Anca Vamanu (anca_vamanu)
Summary: Hang due to "no more nonces can be generated"
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.
(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
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