xinghhhhhhh opened a new issue, #855:
URL: https://github.com/apache/mina-sshd/issues/855

   ### description
   I wrote an sftp server proxy using mina-sshd, and I found that the listener 
logging for open requests took a long time to process, sometimes blocking.
   
   ### Log Description
   One of my test logs showed a difference of about 20s.See attached 
sftp-2160-test-ls.log for the full log
   `2025-11-25 18:38:37.859 [sshd-SshClient[6c827e56]-nio2-thread-1] TRACE 
org.apache.sshd.common.io.nio2.Nio2Session - 
handleCompletedWriteCycle(Nio2Session[local=/0:0:0:0:0:0:0:0:53369, 
remote=/10.10.16.195:1234]) finished writing len=80 at cycle=18 after 536100 
nanos
   2025-11-25 18:38:52.862 [sshd-MySftpSubsystem-58008-thread-1] DEBUG 
org.example.sftpServerTest.SftpAuditRecorder - TEST LOG: Open file: /`
   
   ### Some information
   Appears when the target device is a network device.
   In 2.16.0, it doesn't block when I comment out the log output in the open 
method of SftpAuditRecorder.
   In 2.13.2, log printing blocks even if you comment it out.
   
   ### attachment
   
[sshd-sftp-2160-Test.zip](https://github.com/user-attachments/files/23744854/sshd-sftp-2160-Test.zip)
   
   
[sftp-2160-test-ls.log](https://github.com/user-attachments/files/23744856/sftp-2160-test-ls.log)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to