[jboss-user] [Performance Tuning] - Re: Diff response times at different times
There was a typo in my earlier post regarding CPU Utilization. It was around 60-90% during peak load View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258922#4258922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Diff response times at different times
Thanks Peter For your excellent support. During the load test run, I saw that the CPU utilization is around 60-70% I'm setting the PermGen Size to 512m with the params -XX:PermSize=64m -XX:MaxPermSize=512m If I donot set this, I'm quickly getting Out of Memory Permgen Space Error. If I can't increase the heapsize beyond 1700MB(including permgen), Does that mean 2GB/4GB/8GB RAM will not make much difference? If garbage collector is not the culprit for the difference in response times at different intervals, I wonder what else could be the reason...? Will clustering of JBoss help me in meeting the SLA? If yes, can I try the software clustering(with out adding any other hardware), or I have to go with Hardware Clustering only? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258791#4258791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Diff response times at different times
Please pardon me for my poor excel skills. The csv files for the tests are here 1. Without setting young size http://new.flyupload.com/files/view/rwy3laQamtpju9Ok1ZH9 2. With Young size setting http://new.flyupload.com/files/view/JP8mCuSxAOH8VTIGWJEj What is meant by think time? My Performance test run is done around for 8 min Where in first 2 min, no. of users slowly ramp up and then steady state is maintained for 5 min and then the no. of users will be ramped down in 1 min Though my RAM is 4 GB, unfortunately, If I am going beyond 1124 MB of heap, I'm getting some error saying that cannot allocate that much heap and the server is not getting started. I'm running I am running JBoss 4.2.3 on Intel Xeon CPU, E5405 @2.00 G.Hz,3.99 GB RAM. It has 4 processors I'm running it on 32-bit Windows Server 2003 OS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258707#4258707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Diff response times at different times
I think I plotted graphs properly this time. 1. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m Graph is http://img169.imageshack.us/img169/6715/withoutyoung.jpg 2. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:NewSize=300M -XX:MaxNewSize=300M -XX:SurvivorRatio=32 -XX:+UseTLAB -XX:TLABSize=64K Graph is http://img203.imageshack.us/img203/9528/withyoung.jpg The server machine is having 4 processors. 32 bit JVM. What is meant by CMS collection? You mean using Concurrent Collector (Using -XX:+UseConcMarkSweepGC -XX:+UseParNewGC options)? Btw, I configured the HttpConnector with maxthreads=600. (I arrived at this number after monitoring the busy threads using JMX Console) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258700#4258700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Diff response times at different times
My heap graph with JVM Parameters : 1. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m Graph is http://img260.imageshack.us/img260/2228/withoutyoungsize.jpg [img]http://img260.imageshack.us/img260/2228/withoutyoungsize.jpg[/img] 2. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:NewSize=300M -XX:MaxNewSize=300M -XX:SurvivorRatio=32 -XX:+UseTLAB -XX:TLABSize=64K Graph is [url]http://img260.imageshack.us/img260/1281/withyoungsize.jpg [/url] [img]http://img260.imageshack.us/img260/1281/withyoungsize.jpg [/img] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258538#4258538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Diff response times at different times
I tried with the below JVM Settings : set JAVA_OPTS=%JAVA_OPTS% -Xms1024m âXmx1024m âXX:NewSize=300M âXX:MaxNewSize=300M âXX:SurvivorRatio=32 âXX:+UseTLAB âXX:TLABSize=64K But this settings didn't work well for me. With this setting, I observed that the response time is increased even more. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258516#4258516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Diff response times at different times
We have a strict SLA requirement that the reports should be displayed in 1 min max for a load of 500 users We are running a load test of 500 users on the application. We are getting different response times in different time intervals. The deviation is from 1 min. to 2 min. I want to understand why the application is giving huge diff. in response times at different time intervals. 1. Is it some thing because of garbage collection? If yes, how to analyze it? 2. Is it because of any memory leaks in the application? If yes, how to analyze it? Can you please help me regarding this? I'm setting the JVM Parameters Xms, -Xmx both to 1024. All the other parameters I'm leaving them as they are in \bin\run.bat View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258512#4258512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Exception while Server Shutdown
As part of slimming the Jboss default server, I have removed couple of things in jboss\server\default directory without complete knowledge. After doing that, while trying to shutdown the server by calling shutdown -S, I'm getting the below error Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | at sun.rmi.transport.Transport$1.run(Transport.java:153) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) | at java.lang.Thread.run(Thread.java:595) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) | | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.Shutdown.main(Shutdown.java:214) Can somebody please let me know what I might have deleted by mistake? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258220#4258220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: maxThreads/ThreadPool configuration
Thanks Peter for valuable inputs. 1. Below is the exception stack trace I'm seeing in during load test beyond the 200 users 2009-09-26 14:33:28,453 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/MedNetPortal].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException: setAttribute: Session already invalidated | at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1289) | at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1254) | at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130) | at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:283) | at org.apache.jsp.jsp.common.login.Login_jsp._jspx_meth_f_005fview_005f0(Login_jsp.java:202) | at org.apache.jsp.jsp.common.login.Login_jsp._jspService(Login_jsp.java:100) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:97) | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) | at com.hospira.mednet.portal.view.common.controller.PortalExTranFilter.doFilter(PortalExTranFilter.java:46) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:198) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) | at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) | at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473) | at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.r
[jboss-user] [Performance Tuning] - maxThreads/ThreadPool configuration
I'm little confused with the following 2 parameters 1. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256609#4256609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - No. of Active Sessions
Is there any limit on the maximum no. of http sessions that jboss can support? Is there any configuration parameter where i can configure or monitor? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216161#4216161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user