[ 
https://issues.apache.org/jira/browse/SSHD-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17578726#comment-17578726
 ] 

Evgeny Pasynkov edited comment on SSHD-1290 at 8/12/22 9:48 AM:
----------------------------------------------------------------

This error log happens approximately every 2 hours with the load 5-10 ssh 
sessions per second. No prior problems for the questionable connection are 
logged.

I would appreciate better logging for this case:
- Make a slightly different message for cases {{f.isWritten()}} and {{else}} so 
future investigation would help
- Check if {{writeState.pendingWrite}} is already null and probably do not log 
this case as error


was (Author: xvost):
Sure, will try do to it tomorrow. In any case better logging is welcomed here. 
At least to tell two similar log places from each other, and to check if 
`writeState.pendingFuture` as actually null 

> Race condition is logged in ChannelAsyncOutputStream
> ----------------------------------------------------
>
>                 Key: SSHD-1290
>                 URL: https://issues.apache.org/jira/browse/SSHD-1290
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.9.0
>            Reporter: Evgeny Pasynkov
>            Priority: Major
>
> After upgrading to 2.9.0 I start receiving in logs records like
> {code}
> onWritten(ChannelAsyncOutputStream[[id=0, 
> recipient=0]-SSHServerSessionEx[****]] cmd=SSH_MSG_CHANNEL_DATA) future 
> changed
> {code}
> Which looks suspicious to racy data structure updates



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to