[ 
http://issues.apache.org/jira/browse/DIRMINA-197?page=comments#action_12373010 
] 

Emmanuel Lecharny commented on DIRMINA-197:
-------------------------------------------

Some more infos :

When I do a bind, I get this stack :

org.apache.mina.common.PooledThreadModel.buildFilterChain() (line 95)
org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate$Worker.processSessions()
 (line 413)
org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate$Worker.run()
 (line 133)

And the top of the stack, line 95, reads :
...
   ThreadPoolFilter filter = new ThreadPoolFilter( threadNamePrefix );
...

So for each bind request, I get a new thread created. The sky is the limit :)


> 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

Reply via email to