[asterisk-bugs] [Asterisk 0018811]: [patch] Seems Like ast_read / timerfd_timer_ack Causes lockups and resource drain
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Apr 12 14:16:22 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18811
======================================================================
Reported By: irroot
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18811
Category: Resources/res_timing_timerfd
Reproducibility: random
Severity: major
Priority: normal
Status: acknowledged
Asterisk Version: 1.6.2.17-rc2
JIRA: SWP-3126
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2011-02-15 02:31 CST
Last Modified: 2011-04-12 14:16 CDT
======================================================================
Summary: [patch] Seems Like ast_read / timerfd_timer_ack
Causes lockups and resource drain
Description:
The system locks up eventually and as it is holding a channel lock things
like pickup and walking channels locked will cause a deadlock ...
i have reverted to dahdi timer that is not prone to this problem.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0018791 [patch] Deadlock sip_read check_rtp_tim...
======================================================================
----------------------------------------------------------------------
(0133669) astmiv (reporter) - 2011-04-12 14:16
https://issues.asterisk.org/view.php?id=18811#c133669
----------------------------------------------------------------------
Added patch resolves this deadlock problem.
Problem was that at some time the timing rate was set to 0 (zero) and
after this a call to ast_timer_ack was done which in its turn would do a
call to read().
Setting the rate of the timerfd to 0 stops the timerfd.
The patch cheks if the timer rate is set to 0. If so return otherwise
continue and read ticks.
Issue History
Date Modified Username Field Change
======================================================================
2011-04-12 14:16 astmiv Note Added: 0133669
======================================================================
More information about the asterisk-bugs
mailing list