[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-dev
Subject:    [jira] [Comment Edited] (SSHD-1290) Race condition is logged in ChannelAsyncOutputStream
From:       "Evgeny Pasynkov (Jira)" <jira () apache ! org>
Date:       2022-08-12 9:49:00
Message-ID: JIRA.13476378.1660218959000.154497.1660297740011 () Atlassian ! JIRA
[Download RAW message or body]


    [ 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: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic