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
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?
I have this parameter by default in true.
If i comment this line, would i have a better performance if i comment the line? What does this param mean?
thanks a lot
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.