Out of swap space error

Hi

We are facing “out of swap space” issue in our tomcat webserver. Our webserver is hosted in Linux box and BOXi 3.1 Sp3 application in Windows 2008 server. The web server configuration is as below.

CPU (1) - Intel(R) Xeon(R) CPU E7450 @ 2.40GHz
Total Physical Memory - 3.56 GB
Total Java Heap Memory - 3 GB
Tomcat version - 5.5

We are carrying out performance testing in this environment. The testing scenario is ramping up 90 users by 5 users per 20 seconds and running on steady state for 1 hour wherein reports are opened, refreshed, saved and closed. When the testing is carried out the tomcat server gets crashed with the following errors.

The total swap memory allocated is 1 GB. The garbage collector used is Serial collector - Copy, MarkSweepCompact (default)
This issue occurs during the execution of testing and crashes the tomcat service. The error mostly occurs once Jave heap memory is full and sometimes even when heap memory reaches 50%-60%. There are below mentioned warnings thrown before “Out of swap space” error occurs.

Please help us in resolving this issue. Let me know, if any further information is required.

Thanks
Priram


Priramanan (BOB member since 2012-07-06)

I’m in a BI4 world now so may be speaking out of turn, but that appears on the face of it to be a miniscule amount of physical memory.


Nick Daniels :uk: (BOB member since 2002-08-15)

Hi,

Could any one please help me in arriving at appropriate sizing of java heap memory for a system with a physical memory of 4 GB. Also let me know the recommended ratio of swap memory to physical memory for a linus system with above configurations.

Thanks
Priramanan


Priramanan (BOB member since 2012-07-06)

Hi Priramanan:
I would try using a newest Tomcat version supported by your BO version. I believe that SP5 support at least Tomcat 6.0.18 .

You have to make sure the error isn't related to the number of users, make them to run and view light reports (not to many pages on memory). 

Isn't the same load two users refreshing and viewing big reports   -200 or 300 pages each- that a 100 of user using one page report.

Around here there a lot of thread about sizing.

Reinaldo


reinaldonunez :venezuela: (BOB member since 2004-10-01)

Are you using 32 bit or 64bit Tomcat?

~Unmesh


Unmesh702 :india: (BOB member since 2009-02-19)