Hi! Load testing my application ( with Jboss 3.0.8 ) I had these strange
results:

If using 1 jboss node, with cluster settings active but without another
machine, I runned a test scenario that consisted of 10, 100 and 200 users
navigating through my site.
I had this batch file that would do
"run 10x scenario with 10 users, then run 10x scenario with 100 users, then
run 10x scenario with 200 users"

I left this running over night, and got the results in the next day...
Then I added the second machine, with similar settings, to the cluster.

I went home and left my batch test running... 50% of load to each machine.
Each machine would see the load corresponding to the following batch test:
"run 10x scenario with 5 users, then run 10x scenario with 50 users, then
run 10x scenario with 100 users"
(which would total a cluster load the same as above)

Well... my test client locked soon after beginning the 50 users test...
there were exceptions thrown in JBoss because of "out of memory" errors...
I changed my java memeory settings by using
"%JAVA%" -Xmx384m %JAVA_OPTS%
in my run.bat file.

I went home once again, confident that now it would work... I rerun the "10x
50users + 10x 100users" test
When I got back... it was locked soon after starting the 100 users test,
with exceptions on JBoss and the memory usage (measured by windows task
manager) was over 400Mb...
Well, I rerun the 100 users test, and it eventually locked again, exceptions
and memory usage again over 400Mb after running 5x the 100 users test...


While I've not reached a conclusion, these questions are bothering me:
 -  Why did the batch rest run completely when there was only 1 machine,
without exceeding the standard (128, right?) Mb memory usage?
 -  Why do I triple the memory available to java and it still goes to
maximum usage, and after hours of not loading the server the memory usage
does not decrease?
 -  Could I set more aggressive memory settings to java that could free more
memory, making my app work without the "out of memory"?


-- 
Joao Clemente - jpcl at rnl ist utl pt



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to