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

Iñaki Baz Castillo ibc at aliax.net
Thu Dec 4 16:47:03 CET 2008


2008/12/4 Bogdan-Andrei Iancu <bogdan at voice-system.ro>:

> Btw, you should reduce the registration rate  - make no sense to use
> registration as keep alive mechanism when you have a  proofed  and
> dedicated mechanism for this (try OPTIONS -or sipping). The load on your
> system will dramatically reduce.

The problem arrives when the clients use TCP:
- OpenSIPS cannot send NOTIFY/OPTIONS as keep-alive with TCP (due to
its design).
- Many clients don't implement keep-alive by itself.
- tcp_persistent_flag also depends on the client not closing the connection.

It's sad, but the only """reliable""" and always working solution to
mantain a TCP connection through NAT is using short interval (<32 sec)
for registration. Am I wrong?

PD: please please... implement keep-alive for TCP in OpenSIPS :)

-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the Devel mailing list