[asterisk-bugs] [JIRA] (ASTERISK-29948) iostream: Infinite TCP timeout writing data

N A (JIRA) noreply at issues.asterisk.org
Fri Mar 4 06:24:07 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258274#comment-258274 ] 

N A commented on ASTERISK-29948:
--------------------------------

One guess is this may happen if an AMI connection is opened and then "abandoned" - however, I am still trying to confirm that. At that point, AMI is trying to send to something that isn't listening or engaging with it anymore, hence the "TCP timeout".

However, this then blocks ALL AMI traffic and really there needs to be a graceful abort if an AMI connection has gone dead like that for a while, to prevent it from taking the whole system down.

However, it sounds logical - would this make sense given the issue?

> 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: Unassigned
>
> 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