Bug in Mina2.0.7 with SOCKS5 Proxy

2014-09-26 Thread Michael Reinecke
Hello devs, we are using Mina 2.0.7 to access an server through an Socks5 proxy. This worked fine as long as we use a direct IP address of the endpoint, but once we use the computer name, a nullpointer exception would occur. I searched through the source code and found the cause. If Java can

[jira] [Created] (DIRMINA-987) SOCKS5 Proxy handler can not handle unresolved computer names

2014-09-26 Thread Michael Reinecke (JIRA)
Michael Reinecke created DIRMINA-987: Summary: SOCKS5 Proxy handler can not handle unresolved computer names Key: DIRMINA-987 URL: https://issues.apache.org/jira/browse/DIRMINA-987 Project: MINA

[jira] [Updated] (DIRMINA-987) SOCKS5 Proxy handler can not handle unresolved computer names

2014-09-26 Thread Michael Reinecke (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-987?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Reinecke updated DIRMINA-987: - Description: We are using Mina 2.0.7 to access an server through an Socks5 proxy. This

[jira] [Commented] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread JIRA
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14148919#comment-14148919 ] Saša Živkov commented on SSHD-348: -- My previous report was too optimistic. Checked our

[jira] [Comment Edited] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread JIRA
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14148919#comment-14148919 ] Saša Živkov edited comment on SSHD-348 at 9/26/14 8:44 AM: --- My

[jira] [Updated] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread JIRA
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Saša Živkov updated SSHD-348: - Attachment: diff Some SSH threads get blocked in Object.wait() method forever

Re: NIOProcessor thread causes 100% cpu usage in certain scenario

2014-09-26 Thread Emmanuel Lécharny
Le 25/09/14 22:00, Erick Lichtas a écrit : Hi everyone, Hi Erick, I have ran into a situation with Mina that causes the NIOProcessor threads to run away and consume all available CPU on the system (of the current core to be more accurate). My context is that I'm running the Apache FTP

[jira] [Commented] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread David Ostrovsky (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14148939#comment-14148939 ] David Ostrovsky commented on SSHD-348: -- That means that the problem was introduced

[jira] [Commented] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread Guillaume Nodet (JIRA)
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14148985#comment-14148985 ] Guillaume Nodet commented on SSHD-348: -- Great, it makes more sense to me, as I was

[jira] [Created] (DIRMINA-988) 100% CPU when using IoBuffer.shrink() method in some cases

2014-09-26 Thread Emmanuel Lecharny (JIRA)
Emmanuel Lecharny created DIRMINA-988: - Summary: 100% CPU when using IoBuffer.shrink() method in some cases Key: DIRMINA-988 URL: https://issues.apache.org/jira/browse/DIRMINA-988 Project: MINA

Re: NIOProcessor thread causes 100% cpu usage in certain scenario

2014-09-26 Thread Emmanuel Lécharny
Le 25/09/14 22:00, Erick Lichtas a écrit : Hi everyone, Hi, I created the JIRA : https://issues.apache.org/jira/browse/DIRMINA-988 and applied a fix on it. It should be released soon.

[jira] [Created] (SSHD-355) sftp: content of file deleted if trying to write without permission

2014-09-26 Thread Stefan Mueller (JIRA)
Stefan Mueller created SSHD-355: --- Summary: sftp: content of file deleted if trying to write without permission Key: SSHD-355 URL: https://issues.apache.org/jira/browse/SSHD-355 Project: MINA SSHD

[jira] [Commented] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread JIRA
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149136#comment-14149136 ] Hugo Arès commented on SSHD-348: There are two commit that look suspicious:

[jira] [Comment Edited] (SSHD-348) Some SSH threads get blocked in Object.wait() method forever

2014-09-26 Thread JIRA
[ https://issues.apache.org/jira/browse/SSHD-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14149136#comment-14149136 ] Hugo Arès edited comment on SSHD-348 at 9/26/14 1:30 PM: - There are

RE: NIOProcessor thread causes 100% cpu usage in certain scenario

2014-09-26 Thread Erick Lichtas
Hi Emmanuel, This is fantastic and thank you! I have applied your change locally and have ran some tests and things seem to be working as expected now. I will continue to test it out and let you know if I encounter any other problems related to this. Thanks again, Erick -Original