Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-25-2011, 07:31 AM   #1
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 262

Rep: Reputation: 18
Tomcat + java 32bit = growing swap - Problem


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.

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.

Old 07-25-2011, 06:21 PM   #2
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5

-) 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?
Old 07-27-2011, 11:42 PM   #3
LQ Newbie
Registered: Feb 2011
Posts: 3

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

check for more details on sar command


memory, problem, swap, tomcat

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
32bit Tomcat on 64bit RHEL - Maximum heapsize ??? dlugasx Linux - Server 1 07-20-2011 10:00 AM
[SOLVED] Swap pointless on a 32bit system with >4GiB hardware ram? onedingo Linux - General 11 06-30-2010 12:38 AM
MySQL ibdata1 growing and growing and growing and... jnojr Linux - Software 1 07-20-2009 08:11 PM
Problem with Nutch, Tomcat, or Java laundry_day Linux - Newbie 5 05-02-2007 03:16 AM
JAVA and TOMCAT problem : Broken Pipe fellsin Linux - Software 1 01-13-2005 02:47 AM

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration