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

N A (JIRA) noreply at issues.asterisk.org
Mon Apr 25 18:46:41 CDT 2022


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

N A edited comment on ASTERISK-29948 at 4/25/22 6:45 PM:
---------------------------------------------------------

They didn't go away immediately, but they weren't causing any issues.
I rebooted Server B which called the expect script to SSH into Server A which then spawned a PHP script which spawned an AMI connection to the Asterisk instance on Server A.

Interestingly, rebooting Server B did not close the manager connections even though the SSH connections would have dropped. But that could just be because AMI doesn't know when something has disconnected from it unless it explicitly "logs out". After all, it could just not have read or written to the socket.

(edit: maybe not true, as the socket would close, so not 100% sure...)

I checked now and most of those connections have since closed, but two are left.

I don't think this is necessarily a problem, since the connections weren't terminated cleanly. Regardless, they're not causing any issue to the rest of the system anymore.


was (Author: interlinked):
They didn't go away immediately, but they weren't causing any issues.
I rebooted Server B which called the expect script to SSH into Server A which then spawned a PHP script which spawned an AMI connection to the Asterisk instance on Server A.

Interestingly, rebooting Server B did not close the manager connections even though the SSH connections would have dropped. But that could just be because AMI doesn't know when something has disconnected from it unless it explicitly "logs out". After all, it could just not have read or written to the socket.

I checked now and most of those connections have since closed, but two are left.

I don't think this is necessarily a problem, since the connections weren't terminated cleanly. Regardless, they're not causing any issue to the rest of the system anymore.

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