Re: T5 page request return blank layout under heavy load test
Turn out to be -XX:+UseCompressedOops cause the problem. Problem solved. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3289579.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Three things I'd do (in this order): 1) Find out if it's the container the serving the empty response or your application (should be very simple to find out - if you can't tell otherwise for sure, just make a little identifiable change in your template and see it that's what you get back). As said, I highly doubt that you are getting a bare layout. 2) You indicated that only 40% of memory is used. From the looks of it, I'd say you are hitting a JVM OoM. It happens relatively easily with 5.1 with a moderate load and tight max memory limit. You have way more memory on the system available - allocate e.g. -Xmx3072 and see what happens. If OoM is the issue, you should be able to handle roughly double the requests. 3) Find the right memory limits and tweak GC settings. The trick is to find the right limits for the platform. If you allocate too much, the OS oom killer will step in (assuming you are on Xnix platform) - again happens fairly easily especially on virtualized platforms (since there's no swap) near the memory limits even if it seems that there's free memory available. Kalle On Wed, Nov 24, 2010 at 2:14 AM, dennisdeo81 dennis@rockshore.net wrote: Hi Kalle, Below are my Java Memory Arguments for weblogic: -server -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseParallelGC -XX:SurvivorRatio=3 -XX:+UseCompressedOops -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -verbose:gc -XX:+DisableExplicitGC -Xloggc:/var/applogs/weblogic/vmb-um/managed1/gc_pipe -Xverify:none -Dmanaged1 -Dvmb-um -Djava.awt.headless=true -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278183.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Hi Thiago, Thanks for reply. I haven't try version 5.2 as I do not want to upgrade the version recklessly without knowing what is the root cause, and may introduce more errors by the upgrade. I will leave that to the last option. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278100.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Hi Kalle , I am not sure if it's serving only the bare layout page or it's empty response. From the response returned (view with firebug), it seems to be returning the html (similiar to bare layout) on all requests for pages or anything requested internally for css or javascript. Also, tracing the logs, i can't see any log indicate the application is been deployed (weblogic). Also, when the JVM XDebug is switch on, this issue seems to be resolved on it's own, with the same load tests run. I will try to find out what's set on the jvm in the next post. Any suggestion? -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278118.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Hi Kalle, Below are my Java Memory Arguments for weblogic: -server -Xms1536m -Xmx1536m -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseParallelGC -XX:SurvivorRatio=3 -XX:+UseCompressedOops -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -verbose:gc -XX:+DisableExplicitGC -Xloggc:/var/applogs/weblogic/vmb-um/managed1/gc_pipe -Xverify:none -Dmanaged1 -Dvmb-um -Djava.awt.headless=true -Djavax.xml.stream.XMLInputFactory=weblogic.xml.stax.XMLStreamInputFactory -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3278183.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
T5 page request return blank layout under heavy load test
Hi, I recently have an application develop with tapestry 5.1 deploy on Weblogic + oracle database. The pages work well under normal usage but went nuts after stress testing. I am using hibernate + spring security module from tapestry on the web page login, and ramp up 1000 users on the login process. Upon processing 500 users login, the application seems to be exhausted and only response the bare layout as html on all requests(regardless if the request on any page, css, js and etc). Also notice the javascript onDomLoaded is now empty: Tapestry.onDOMLoaded(function() { }); Which should normally: Tapestry.onDOMLoaded(function() { Tapestry.init({linkZone:[[forgotPassword,loginZone,/duc/login.forgotpassword]],zone:[{update:show,element:loginZone}]}); }); Also it's running on 4 vcpu, 12G memory server, so it only use nearly 50% of cpu, 40% or memory, 40 connections to the database whilst the load test. Anyone have any idea? Helps are much appreciated. Many thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3277134.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
On Tue, 23 Nov 2010 15:07:33 -0200, dennisdeo81 dennis@rockshore.net wrote: Hi, Hi! I recently have an application develop with tapestry 5.1 deploy on Weblogic + oracle database. Have you tried Tapestry 5.2(.4)? Since the 5.2 alphas, Tapestry doesn't use a page pool anymore, and this can be a factor when handling lots of concurrent users. Anyway, this is strange. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: T5 page request return blank layout under heavy load test
Are you sure that what you are getting is the bare layout and that the webapplication is still (somewhat) functional/loaded? Just a wild guess, but it could be the container serving up an empty response after undeploying the webapp on out-of-memory-error. Is your JVM set to handle all of that 12GB of memory? If you haven't explicitly configured the jvm, I doubt it would. What Xmx etc. params are you using? I had a vaguely similar case with a Tapestry app running on Jetty going belly up when I was posting (lots of!) gzipped xml content to it. It undeployed after an OoM and started serving a blank response. The issue was finally tracked down to JVM/Jetty issue (see http://jira.codehaus.org/browse/JETTY-1167 and further links). Kalle On Tue, Nov 23, 2010 at 9:07 AM, dennisdeo81 dennis@rockshore.net wrote: Hi, I recently have an application develop with tapestry 5.1 deploy on Weblogic + oracle database. The pages work well under normal usage but went nuts after stress testing. I am using hibernate + spring security module from tapestry on the web page login, and ramp up 1000 users on the login process. Upon processing 500 users login, the application seems to be exhausted and only response the bare layout as html on all requests(regardless if the request on any page, css, js and etc). Also notice the javascript onDomLoaded is now empty: Tapestry.onDOMLoaded(function() { }); Which should normally: Tapestry.onDOMLoaded(function() { Tapestry.init({linkZone:[[forgotPassword,loginZone,/duc/login.forgotpassword]],zone:[{update:show,element:loginZone}]}); }); Also it's running on 4 vcpu, 12G memory server, so it only use nearly 50% of cpu, 40% or memory, 40 connections to the database whilst the load test. Anyone have any idea? Helps are much appreciated. Many thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-page-request-return-blank-layout-under-heavy-load-test-tp3277134p3277134.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org