LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 10-01-2010, 12:52 AM   #1
kubed_lovee
LQ Newbie
 
Registered: Jun 2007
Location: cairo , Egypt
Distribution: Fedora
Posts: 25

Rep: Reputation: 0
Unhappy Excessive Memory Usage !


Hi Guys

I have a problem with my 2 web servers ( Machine it self ) it has only the Apache httpd installed in front of a tomcat server using the mod_jk , the 2 servers has 8GB ram each . the problem is that when i check i found that the 2 are running out of memory this is the output of #free please advice what should i do

Code:
[root@server ~]# free
             total       used       free     shared    buffers     cached
Mem:       8171508    8046752     124756          0     426136    6654244
-/+ buffers/cache:     966372    7205136
Swap:      4096564        148    4096416
 
Old 10-01-2010, 01:34 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
Determine the top processes 'eating' RAM with:
Code:
# ps -eo size,pid,user,cmd --sort -size | head -10
 
Old 10-01-2010, 03:12 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
The only problem you have is you don't understand the numbers. Go read this, and post back if you still have questions.
 
Old 10-01-2010, 08:00 AM   #4
kubed_lovee
LQ Newbie
 
Registered: Jun 2007
Location: cairo , Egypt
Distribution: Fedora
Posts: 25

Original Poster
Rep: Reputation: 0
I think i should kill my self for this mistake , and thanks for the quick answer syg00 i owe you .
 
Old 10-01-2010, 08:15 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117

Just hope all your problems are this easy to solve.
 
  


Reply


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
Excessive RAM/swap usage Jinouchi Linux - Software 10 03-09-2009 09:59 AM
Excessive RAM usage on boot - unnecessary modules? Jinouchi Linux - Newbie 17 01-15-2009 03:30 PM
Ubuntu 8.10 - excessive CPU usage & heating hulk321 Linux - Software 1 12-03-2008 07:23 PM
Excessive CPU Usage Smarajit Linux - Newbie 2 04-11-2007 11:02 AM
After upgrade, excessive RAM usage kuratkull Debian 2 11-05-2006 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration