[asterisk-bugs] [Asterisk 0014400]: ami fails on high load
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Feb 4 06:53:28 CST 2009
The following issue has been SUBMITTED.
======================================================================
http://bugs.digium.com/view.php?id=14400
======================================================================
Reported By: fnordian
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14400
Category: Core/ManagerInterface
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1
SVN Revision (number only!): 169213
Request Review:
======================================================================
Date Submitted: 2009-02-04 06:53 CST
Last Modified: 2009-02-04 06:53 CST
======================================================================
Summary: ami fails on high load
Description:
hi,
the asterisk manager interface stops working and closes the session on
high load (on the interface). i traced the issue down to a strange behavior
of fwrite: although ast_wait_for_output (poll) says write would be
possible, the fwrite just returns 0 and errno is set to ESPIPE. the
tcp-connection is still established on both sides.
i was able to fix the issue by disabling output-buffering for the
file-handle using setvbuf, although i do not understand the issue
completly.
it would be great if someone could look into this.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-02-04 06:53 fnordian New Issue
2009-02-04 06:53 fnordian Asterisk Version => SVN
2009-02-04 06:53 fnordian Regression => No
2009-02-04 06:53 fnordian SVN Branch (only for SVN checkouts, not tarball
releases) => 1.6.1
2009-02-04 06:53 fnordian SVN Revision (number only!) => 169213
======================================================================
More information about the asterisk-bugs
mailing list