开发者

T5 page request return blank layout under heavy load test

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 notic开发者_JS百科e 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"}]});
});

Weirdly, when the XDebug on JVM is set, the problem seems to be solved. Further analysis on the server, 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.


Please check the mailing list .. this was resolved as an OutOfMemory error, not really related to Tapestry at all.


take out -XX:+UseCompressedOops from your vm arguments! ;)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜