Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-21 Thread Laszlo Hornyak
Hi, I think the reason is that the cloudstack UI index.jsp creates a session (which is the default behavior of a JSP page unfortunately) and if the container keeps the session data wthout overflowing to disk then you can use it to OOM the server very easily. curl http://localhost:8080/client/ -v

Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread Sudhansu Sahu
I have seen OOM issue 6.0.24-90. After downgrading the tomcat to 6.0.24-78, the same environment does not show OOM anymore. Thanks Sudhansu On Fri, Oct 16, 2015 at 10:58 AM, ilya wrote: > Out of curiosity, i decide to run ab on one of the smalller lab > environments that had older tomcat 6.0.24

Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread ilya
Out of curiosity, i decide to run ab on one of the smalller lab environments that had older tomcat 6.0.24 and ACS 4.5.2+ , i was able to compete all 100,000 requests in 15 or so minutes... # ab -n 10 -c 1 http://localhost:8080/client/ This is ApacheBench, Version 2.3 <$Revision: 655654 $> Co

Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread Carlos Reátegui
What all happened with the work to embed tomcat or jetty? Seems like that could help with these issues. > On Oct 15, 2015, at 9:23 PM, ilya wrote: > > The stock tomcat 6.0.24 is poorly maintained by CentOS/RedHat. > > We've seen several issues with latest 6.0.24.x tomcat builds. > > We also

Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread ilya
The stock tomcat 6.0.24 is poorly maintained by CentOS/RedHat. We've seen several issues with latest 6.0.24.x tomcat builds. We also found tomcat6-6.0.43+ to be alot more stable. Though its not in public CentOS repos, Marcus has a build that works well and has been tested in very large environme

CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread Qian Shaohua
Hi all, Our CloudStack 4.5.2 with tomcat6 was constantly running out of memory in a few days. We changed JAVA_OPS to "-Xmx4g" in tomcat6.conf. But it didn't help. We used apache benchmark to send 10 http requests to a fresh installed CloudStack 4.5.2 with no zone setup. ab -n 10

Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread Remi Bergsma
Hi, Just FYI, not sure if it is related: I also noticed that it reports “OutOfMemory” even when there is another issue, like exhausted file descriptors or too many processes. Try bumping those limits as well. Regards, Remi On 15/10/15 10:32, "windyii" wrote: >Hi all, > > > >Our CloudStac

Re: CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread Anshul Gangwar
Try downgrading tomcat i.e. some old version available in repos. It seems there is some problem with latest version on repos. > On 15-Oct-2015, at 2:02 PM, windyii wrote: > > Hi all, > > > > Our CloudStack 4.5.2 with tomcat6 was constantly running out of memory in a > few days. > > We cha

CloudStack 4.5.2 with tomcat6 out of memory

2015-10-15 Thread windyii
Hi all, Our CloudStack 4.5.2 with tomcat6 was constantly running out of memory in a few days. We changed JAVA_OPS to "-Xmx4g" in tomcat6.conf. But it didn't help. We used apache benchmark to send 10 http requests to a fresh installed CloudStack 4.5.2 with no zone setup. ab -n 1