LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Tomcat + java 32bit = growing swap - Problem (http://www.linuxquestions.org/questions/linux-server-73/tomcat-java-32bit-%3D-growing-swap-problem-893613/)

dlugasx 07-25-2011 07:31 AM

Tomcat + java 32bit = growing swap - Problem
 
Hello,

I have two running Tomcats 5( -Xms2048M -Xmx3300M)(1.5 Java 32bit) on RedHat 4 x64. My server has 8GB ram.

I dont know why but each Tomcat generating such a big swap.


Code:

                                                        SWAP
11206 user  18  0 3549m 2.1g 5140 S  0.7 23.5  19:01.47 1.4g java
11820 user  19  0 3585m 2.2g 5344 S  1.0 24.9  37:37.86 1.3g java

Does anybody knows why ?


I count on Your help.

Dlugasx

dafydd2277 07-25-2011 06:21 PM

Hello!

-) What ps command did you use to generate that process output?

-) Have you looked at swap usage using nmon or something like nmon?

What I'm thinking is that swap can be allocated as a resource. Are you seeing the allocation, or actual usage?

vishnu22001 07-27-2011 11:42 PM

u try to know the memory usage by sar -r and c how much memory is being used..

check http://www.computerhope.com/unix/usar.htm for more details on sar command


All times are GMT -5. The time now is 03:49 AM.