[jboss-user] [EJB/JBoss] - Stateful Session Bean Cache Policy
do-not-reply at jboss.com
Wed Jan 21 08:08:37 EST 2009
I have a stateful session bean in my application. When a user performs a search in the application, the stateful session bean is used so that the results may be paged through even if a user does not click next page for quite some time. I seem to be running into a situation where JBoss passivates several stateful session beans one after the other. This appears to be taking up a lot of system resources and the remainder of the application seems to hang or at least performance has degraded significantly while JBoss completes this operation. I would like some advice as to how I should tweak my container-cache-conf settings so that I do not get so many passivations at one time. Thanks.
I also get this exception when many beans are being passivated: EJBException: Could not passivate Too many open files.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203618#4203618
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203618
More information about the jboss-user