[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-dev
Subject:    [jira] [Commented] (VYSPER-328) One CPU goes to 100%
From:       "Bernd Fondermann (JIRA)" <jira () apache ! org>
Date:       2012-09-30 8:21:07
Message-ID: 1599165928.145183.1348993267729.JavaMail.jiratomcat () arcas
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/VYSPER-328?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=13466436#comment-13466436 ] 

Bernd Fondermann commented on VYSPER-328:
-----------------------------------------

This is probably due to a infinite loop in BoshBackedSessionContext between 
a. private void requestExpired(final AsyncContext context)
and 
b. void writeBoshResponse(Stanza responseStanza)
a. calls b. in a while loop, but only if the request window still contains requests.
b. then returns immediately (if (isEmtpyResponse) return;), resulting in an endless \
loop  
> One CPU goes to 100% 
> ---------------------
> 
> Key: VYSPER-328
> URL: https://issues.apache.org/jira/browse/VYSPER-328
> Project: VYSPER
> Issue Type: Bug
> Components: BOSH
> Affects Versions: 0.7
> Reporter: Bernd Fondermann
> Assignee: Bernd Fondermann
> 
> When running Vysper, suddenly a thread consumes 100% CPU, while the chat \
> application stays responsive. A profiler reports nearly 99% CPU time consumed in \
> org.apache.vysper.xmpp.extension.xep0124.BoshBackedSessionContext#requestExpired.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic