[asterisk-bugs] [Asterisk 0014723]: ERROR[5003]: channel.c:2043 __ast_read: ast_read() called with no recorded file descriptor.
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Apr 14 09:56:47 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14723
======================================================================
Reported By: seadweller
Assigned To: mmichelson
======================================================================
Project: Asterisk
Issue ID: 14723
Category: Core/Channels
Reproducibility: always
Severity: block
Priority: normal
Status: feedback
Target Version: 1.4.25
Asterisk Version: 1.4.24
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-03-23 08:27 CDT
Last Modified: 2009-04-14 09:56 CDT
======================================================================
Summary: ERROR[5003]: channel.c:2043 __ast_read: ast_read()
called with no recorded file descriptor.
Description:
Performed an upgrade from 1.4.22 to 1.4.24 running on CentOs 4. Used the
same "slim" configuration that I used in 1.4.22, which worked fine.
Calls are processing, but connecting to the console gets the following:
[Mar 23 13:08:05] ERROR[5003]: channel.c:2043 __ast_read: ast_read()
called with no recorded file descriptor.
[Mar 23 13:08:05] ERROR[5003]: channel.c:2043 __ast_read: ast_read()
called with no recorded file descriptor.
This repeats continuously. If I issue a show channels, I get some output
and it seems to stop the ERROR messages, though it seems the "show
channels" does not complete. You can get the CLI command and * will still
be trying to spit out a few channels below it.
The system load is also very high (2.38 with 50 or so concurrent calls),
though CPU usage is low... it must be coming from somewhere else.
Typically this load under 1.4.22 would show perhaps a 0.2 or 0.3 load.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0014866 100% cpu problem with channel hangup
has duplicate 0014868 I have 100% CPU usage with a few calls
======================================================================
----------------------------------------------------------------------
(0103213) bamby (reporter) - 2009-04-14 09:56
http://bugs.digium.com/view.php?id=14723#c103213
----------------------------------------------------------------------
I'm experiencing this issue also. My asterisk originates call, then after
some conversation, peer hangs up and with some probability the channel
hangs forever eating 100% CPU and killing disk space with the log message
'ast_read() called with no recorded file descriptor'. On my system this
happened several times in an hour.
I've analyzed the possible cause of the issue and it seems the r179608
brought in the problem. The patch seems to effectively disable the code
where AST_CONTROL_HANGUP frame is processed and so prevents the channel
from being hanged up. I've commented out this change and now my two
asterisks have been working fine for several hours.
I'm attaching my patch for everyone who needs it. Hope it could help.
Issue History
Date Modified Username Field Change
======================================================================
2009-04-14 09:56 bamby Note Added: 0103213
======================================================================
More information about the asterisk-bugs
mailing list