[asterisk-bugs] [JIRA] (ASTERISK-29948) iostream: Infinite TCP timeout writing data
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Apr 26 15:38:40 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258936#comment-258936 ]
Friendly Automation commented on ASTERISK-29948:
------------------------------------------------
Change 18428 merged by Kevin Harwell:
manager: Terminate session on write error.
[https://gerrit.asterisk.org/c/asterisk/+/18428|https://gerrit.asterisk.org/c/asterisk/+/18428]
> iostream: Infinite TCP timeout writing data
> -------------------------------------------
>
> Key: ASTERISK-29948
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29948
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/General, Core/Netsock
> Affects Versions: 18.9.0
> Reporter: N A
> Assignee: Joshua C. Colp
> Labels: patch
> Attachments: ASTERISK-29948.diff, ctbtpry4gq.txt
>
>
> I've noticed that my calls to open a new AMI connection can get blocked and hang forever.
> Whenever this happens, if I do "core set debug 1", I can see that there seems to be an infinite loop of TCP failures:
> {noformat}
> [2022-03-04 00:48:00] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[1328]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[991]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[2345]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[1672]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[32735]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[474]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[2017]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[32410]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[2345]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[32735]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[991]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[1672]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[474]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[2017]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[1328]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[32410]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[32735]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[991]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[1672]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[474]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[2017]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[2345]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[1328]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:00] DEBUG[32410]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:01] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30181]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28196]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26872]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27008]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29701]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26256]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[26079]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27154]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[29234]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[30691]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27061]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[31373]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27662]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[28753]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> [2022-03-04 00:48:02] DEBUG[27092]: iostream.c:484 ast_iostream_write: TCP timeout writing data
> {noformat}
> The only fix I've come up with is to completely restart Asterisk.
> It does not matter if there are any calls; this happens even on a system idle of calls.
> In this last particular case, these TCP warnings came back less than an hour after Asterisk had been running.
> While these are not warnings, it does mean something is wrong in this case as there are hundreds of each of these *per second*, and AMI is blocked forever for new connections (and possibly existing ones too).
> Seems like Asterisk can get into a funny state where TCP has broken down and then the system is basically unusable for AMI until it is restarted.
> However, no obvious impact to call process or anything like that - this seems to only break, as the errors suggest, TCP connections like AMI.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list