You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Thomas Wolf (Jira)" <ji...@apache.org> on 2023/06/03 19:42:00 UTC
[jira] [Closed] (SSHD-1328) Hanging while executing rsync commands.
[ https://issues.apache.org/jira/browse/SSHD-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Wolf closed SSHD-1328.
-----------------------------
I cannot fix your code. I thought I had pointed out what I thought was wrong, and that implies a solution: read those output/error streams right away, don't wait until the channel is closed. The {{rsync}} probably produces lots of output; once {{stdout}} buffers are full, the {{rsync}} will block because it cannot write output anymore.
> Hanging while executing rsync commands.
> ----------------------------------------
>
> Key: SSHD-1328
> URL: https://issues.apache.org/jira/browse/SSHD-1328
> Project: MINA SSHD
> Issue Type: Bug
> Environment: Linux and Solaris
> Reporter: sivaprasad
> Priority: Blocker
>
> Hi Team,
> I hope all are doing great, I'm using Mina to execute remote commands execution and file uploads/downloads. everything is working fine, but while executing rsync commands( this command will take more than 1hr to complete) Mina is hanging forever and not returning anything.
> I have added HEARTBEAT in my code, but Mina is printing command output after command execution is completed but I need to print command output parallel with command execution.
> I have attached my code, can someone look into this and help me to resolve this issue’s.
>
> Thanks,
> Siva.
--
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