[Devel] WARNING: set_timer called on a "detached" timer - OpenSER
stops forwarding
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri May 26 09:37:50 CEST 2006
Hi Martin,
the warning is due a race condition in timer processing. A transaction
was detached from the timer list by the timer process which is
processing it for expire even; in the same time, another process was
computing the transaction (maybe a reply was received) and it's trying
to place it back into timer....and this is the race.
Do you have any idea what scenario leads in your case to the race? we
can try to minimize the race window...
I will also try to add some more debug info when the race occurs.
Thanks and regards,
Bogdan
Martin Koenig wrote:
>Hello all,
>
>now for the second time in two weeks, OpenSER stopped forwarding SIP
>messages after the log message:
>
>WARNING: set_timer called on a "detached" timer -- ignoring: 0xa80c7b40
>
>This is message is present more often:
>
>May 15 10:49:04 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80b4278
>May 15 10:52:37 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80b1d38
>May 15 10:58:46 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80c0548
>May 15 11:01:17 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80abee8
>May 15 11:07:13 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80bc870
>May 15 11:27:06 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80b7410
>May 15 12:05:13 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80bb358
>May 15 12:31:43 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80c9480
>May 15 13:01:30 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80c7b40
>May 15 13:16:03 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80c3ac0
>May 15 13:18:17 abc /sbin/openser[6552]: WARNING: set_timer called on a
>"detached" timer -- ignoring: 0xa80c6b10
>
>OpenSER is obviously not crashing every time it occurs. Version is 1.0.0.
>
>Is this a known problem that can be solved by upgrading to 1.0.1?
>
>Best regards,
>Martin
>
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
>
More information about the Devel
mailing list