[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1220) When an JBM client encounters an OOM, it causes to hang the JBM server

Tim Fox (JIRA) jira-events at lists.jboss.org
Tue Mar 11 11:42:59 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-1220?page=comments#action_12402158 ] 
            
Tim Fox commented on JBMESSAGING-1220:
--------------------------------------

Hello Jeff-

The actual value of prefetchSize will depend on the size of your messages. The larger your messages the smaller the prefetchSize.

I'm glad the workaround works, but I will chase the remoting team anyway, to see if we can introduce a timeout on the server which will prevent the hang even if the prefetch size is larger.

Thanks for your patience in this. I know this one has taken a long time to resolve.

> When an JBM client encounters an OOM, it causes to hang the JBM server
> ----------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1220
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-1220
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: Messaging Core
>    Affects Versions: 1.4.0.SP3_CP01
>         Environment: Fedora 8, JBM-1.4.0-SP3, JDK-1.5.0_14
>            Reporter: Tyronne Wickramarathne
>         Assigned To: Tyronne Wickramarathne
>             Fix For: 1.4.0.SP3.CP02, 1.4.1.beta2
>
>         Attachments: stack_traces.zip, testcase.zip, testcase_win32.zip
>
>
> 1. Connect a JMS Topic Subscriber with limited memory (e.g. -Xmx64m), that buffers an infinite number of messages.
> 2. Publish messages to JBM, on the same subscribed topic, until the client runs out of memory.
> 3. Try to connect another client, publish more messages, etc. You should see the problem at this point.
> 4. Kill the OOM client. The system should recover.
> 5. at this point, the JBM server gets hanged

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list