This content has been marked as final.
Show 3 replies
-
1. Re: Server memory problems
akaltenpoth Jan 27, 2005 6:30 AM (in response to akaltenpoth)Just in case somebody is interested:
After very tedious months of struggling with a (productive!) server that needed restarting at least once a day, we finally have found the problem:
For performance improvement we had wanted to disable the MetricsInterceptor, so in standardjboss.xml we set set the flag<interceptor metricsEnabled="false">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
The result was thousands of unused messages accumulating in our entity beans that never got garbage collected.
After setting the flag to true suddenly the server was running fine!
Now we have simply commented out the whole line, so that the MetricsInterceptor really doesn't interfere. Seems to work ok.
Could this be a JBoss bug? -
2. Re: Server memory problems
mcarabias Jan 28, 2005 8:57 PM (in response to akaltenpoth)I have this parameter by default in true.
<interceptor metricsEnabled="false">org.jboss.ejb.plugins.MetricsInterceptor</interceptor>
If i comment this line, would i have a better performance if i comment the line? What does this param mean?
thanks a lot
Matias -
3. Re: Server memory problems
genman Jan 28, 2005 9:51 PM (in response to akaltenpoth)
It's hard to say what's related or not. Seems like a red herring.
Use jboss-profiler (or some other profiling tool) to take a look at what objects were created (and kept live) by your server.