LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-25-2011, 06:31 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 236

Rep: Reputation: 18
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
 
Old 07-25-2011, 05:21 PM   #2
dafydd2277
Member
 
Registered: Mar 2010
Posts: 58

Rep: Reputation: 5
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?
 
Old 07-27-2011, 10:42 PM   #3
vishnu22001
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 http://www.computerhope.com/unix/usar.htm for more details on sar command
 
  


Reply

Tags
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


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

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