activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Vijlbrief <tom...@xs4all.nl>
Subject Re: Memory usage increase after client power failure
Date Thu, 22 Feb 2007 05:27:16 GMT
Op woensdag 21 februari 2007 21:05, schreef eccrowe:

> It should also be noted that after a client power off, the remaining active
> clients very quickly stop receiving their messages.  Server logs still
> appear to be sending messages but the enqueue count is not increasing in
> the jmx-console and eventually the server logs stop logging send events as
> well. All of this with jmx-console indicating 0 memory usage.
>
> Are there any default settings which have changed or have been added
> between 4.0-RC2 and 4.1 which may be causing these additional issues?
>

There is (was) a problem with dying (Stomp) clients for which
I created a patch:

https://issues.apache.org/activemq/secure/attachment/15322/patchInactivityMonitor.txt

This could be related to your problem...

================
The InactivityMonitor code reads:

public void onException(IOException error) {
if( monitorStarted.get() ) { stopMonitorThreads(); 
getTransportListener().onException(error); }
}

So if monitorStarted is false the EOFException is completely ignored
and not propagated to higher layers!

I assume it should be:

public void onException(IOException error) {
if( monitorStarted.get() ) { stopMonitorThreads(); }
getTransportListener().onException(error); // tom.vijlbrief
}
==============



Tom

Mime
View raw message