Hi, Regarding setting the session-timeout, I found that session-timeout in Axis1 was set to 5 minutes by default, so I set it to 30 minutes in axis1 as well, just to compare. However, I don't find any big memory consumption increase when I pump requests.
As a matter of fact, the memory usage stays between 10 and 25 M, whereas with axis2, even after setting session-timeout to 2 min, usage touches 100M frequently. So I am not sure that setting the session-timeout is a good workaround. Is there any reason for this high memory usage in axis2 as against axis1 ? I have not yet tried Andreas' suggestion, though, and I will do so now. Thanks and Regards, Subramanyam -----Original Message----- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, May 25, 2006 11:43 PM To: [email protected]; Andreas Hörnicke Subject: Re: Re[2]: Axis2 High memory usage, OutOfMemory exception Andreas, Could you *please* add this info to bug report AXIS2-766? thanks, dims On 5/25/06, Andreas Hörnicke <[EMAIL PROTECTED]> wrote: > > Here is what i did to overcome this "problem": After defining my > own SessionListener and invalidating the created sessions > immediately i got some exceptions thrown by axis. So my current > solution is to extend the AxisServlet, overriding the service > method and invalidate the session after super.service was called. > Works fine in my testing environment. > > -- Andreas > > > KI> (tomcat)/conf/web.xml will contains session-timeout settings, > KI> and that value is default to 30 min. > KI> (tomcat)/webapps/axis2/WEB-INF/web.xml will not have this settings. > > KI> I'm not sure but here is my guess, > > KI> Service will run as servlet of tomcat, I think. > KI> And each servlet threads for invoked services will remain as session. > KI> After receiving request and send back response, > KI> web service session should be clear or invalidate by Axis2. > KI> But results of your test seems to remain those sessions until timeout. > KI> So, set the session-timeout to minimum value is work around for this. > > KI> How everyone think about this ? > > KI> Regards, > KI> kinichiro > > KI> __________________________________________________ > KI> Do You Yahoo!? > KI> Tired of spam? Yahoo! Mail has the best spam protection around > KI> http://mail.yahoo.com > > KI> --------------------------------------------------------------------- > KI> To unsubscribe, e-mail: [EMAIL PROTECTED] > KI> For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Davanum Srinivas : http://wso2.com/blogs/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
