[
http://issues.apache.org/jira/browse/DIRMINA-197?page=comments#action_12372887
]
Emmanuel Lecharny commented on DIRMINA-197:
-------------------------------------------
When I say it creates a LOT of thread, I really mean a LOT !!! If the test
don't freeze, and if I try to launch it with 10000 bind/unbind, I go up to 5126
threads before getting a :
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
at sun.nio.ch.IOUtil.read(IOUtil.java:206)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
at org.apache.directory.tester.Agent.bind(Agent.java:83)
at org.apache.directory.tester.Injector.run(Injector.java:54)
> CPU exhaustion on heavy bind/unbind
> -----------------------------------
>
> Key: DIRMINA-197
> URL: http://issues.apache.org/jira/browse/DIRMINA-197
> Project: Directory MINA
> Type: Bug
> Reporter: Emmanuel Lecharny
> Priority: Blocker
> Attachments: stack.txt
>
> Still doing smoke tests...
> So now, I have a program that bind and unbind one thousand times to ADS.
> Everything works just fine, but now, ADS is trying to transform my CPU to a
> popcorn machine. It uses 75% of my CPU just doing nothing seious. I have
> created a thread dump with jstack, attached.
> Any help welcomed !
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira