You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "tomaswolf (via GitHub)" <gi...@apache.org> on 2023/05/27 20:49:50 UTC

[GitHub] [mina-sshd] tomaswolf commented on issue #354: OOM error with apache mina client, thousands of threads at sun/misc/Unsafe.park(Native Method)

tomaswolf commented on issue #354:
URL: https://github.com/apache/mina-sshd/issues/354#issuecomment-1565675788

   These threads normally terminate when the `SshClient` is closed. If your code calls `SshClient.setSchedulerExecutor()`, then your code is responsible for shutting it down.
   
   Sounds like the code is using multiple clients, and doesn't close them properly when they're no longer needed.


-- 
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: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org