You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2020/09/04 05:43:00 UTC
[jira] [Commented] (SSHD-1074) Too many
SSH_MSG_CHANNEL_WINDOW_ADJUST requests were sent by Server
[ https://issues.apache.org/jira/browse/SSHD-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17190566#comment-17190566 ]
Lyor Goldstein commented on SSHD-1074:
--------------------------------------
How many are "too many" and how many are "good enough" ? Can you point to some documentation defining the threshold for this distinction ?
{quote}
does it mean not enough buffers to handle?
{quote}
Not necessarily, but I need to research this a bit (you can do the same - review how {{SSH_MSG_CHANNEL_WINDOW_ADJUST}} message is used and why)..
> Too many SSH_MSG_CHANNEL_WINDOW_ADJUST requests were sent by Server
> --------------------------------------------------------------------
>
> Key: SSHD-1074
> URL: https://issues.apache.org/jira/browse/SSHD-1074
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Sreedhar J
> Priority: Minor
>
> During the file transfer to Apache SFTP Server, I see lot of
> SSH_MSG_CHANNEL_WINDOW_ADJUST requests are sent by Server to client.
>
> does it mean not enough buffers to handle?
>
> Here are the log entries
>
> 2020-09-02 21:54:28,946 [system-thread-1] DEBUG SftpSubsystem - doSendStatus(ServerSessionImpl[admin@/10.84.41.27:60825])[id=1378] SSH_FXP_STATUS (substatus=SSH_FX_OK, lang=, msg=)
> 2020-09-02 21:54:28,946 [system-thread-1] DEBUG ServerSessionImpl - encode(ServerSessionImpl[admin@/10.84.41.27:60825]) packet #1431 sending command=94[SSH_MSG_CHANNEL_DATA] len=30
> 2020-09-02 21:54:28,947 [system-thread-1] DEBUG ChannelSession - sendWindowAdjust(ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) SSH_MSG_CHANNEL_WINDOW_ADJUST len=1050400
> 2020-09-02 21:54:28,947 [system-thread-1] DEBUG ServerSessionImpl - encode(ServerSessionImpl[admin@/10.84.41.27:60825]) packet #1432 sending command=93[SSH_MSG_CHANNEL_WINDOW_ADJUST] len=9
> 2020-09-02 21:54:28,947 [system-thread-1] DEBUG Window - Increase Window[server/local](ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) by 1050400 up to 2097152
> 2020-09-02 21:54:29,022 [NioProcessor-2 ] DEBUG ChannelSession - handleData(ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) SSH_MSG_CHANNEL_DATA len=16384
>
> 21:54:30,471 [system-thread-1] DEBUG SftpSubsystem - doSendStatus(ServerSessionImpl[admin@/10.84.41.27:60825])[id=1410] SSH_FXP_STATUS (substatus=SSH_FX_OK, lang=, msg=)
> 2020-09-02 21:54:30,471 [system-thread-1] DEBUG ServerSessionImpl - encode(ServerSessionImpl[admin@/10.84.41.27:60825]) packet #1464 sending command=94[SSH_MSG_CHANNEL_DATA] len=30
> 2020-09-02 21:54:30,471 [system-thread-1] DEBUG ChannelSession - sendWindowAdjust(ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) SSH_MSG_CHANNEL_WINDOW_ADJUST len=1050400
> 2020-09-02 21:54:30,471 [system-thread-1] DEBUG ServerSessionImpl - encode(ServerSessionImpl[admin@/10.84.41.27:60825]) packet #1465 sending command=93[SSH_MSG_CHANNEL_WINDOW_ADJUST] len=9
> 2020-09-02 21:54:30,471 [system-thread-1] DEBUG Window - Increase Window[server/local](ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) by 1050400 up to 2097152
> 2020-09-02 21:54:30,487 [NioProcessor-2 ] DEBUG ChannelSession - handleData(ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) SSH_MSG_CHANNEL_DATA len=16384
> 2020-09-02 21:54:30,502 [NioProcessor-2 ] DEBUG ChannelSession - handleData(ChannelSession[id=0, recipient=0]-ServerSessionImpl[admin@/10.84.41.27:60825]) SSH_MSG_CHANNEL_DATA len=16384
> 2020-09-02 21:54:30,502 [system-thread-1] DEBUG SftpSubsystem - process(ServerSessionImpl[admin@/10.84.41.27:60825])[length=32821, type=SSH_FXP_WRITE, id=1411] processing
> 2020-09-
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org