LinuxQuestions.org
Help answer threads with 0 replies.
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 04-18-2011, 01:02 AM   #1
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Rep: Reputation: 18
How much RAM does each apache website consume?


Hi, is there an easy way to determine this?
If I run TOP and order by memory usage I get all the websites, but only showing as different apache processes, not so useful:
Code:
28077 www-data  20   0  332m  89m 4324 S    0 18.2   0:35.71 apache2
28060 www-data  20   0  252m  48m 4808 S    0  9.9   2:00.61 apache2
28342 www-data  20   0  245m  43m 4608 S    0  8.8   0:03.57 apache2
28107 www-data  20   0  240m  39m 4672 S    0  7.9   0:07.91 apache2
28355 www-data  20   0  239m  37m 4100 S    0  7.5   0:02.40 apache2
How can I for example determine what website is using that 89MB of memory?
 
Old 04-18-2011, 03:40 AM   #2
Kobussie
LQ Newbie
 
Registered: Feb 2006
Location: Limburg, NL
Distribution: Debian(Etch); Arch Linux, FreeBSD
Posts: 22

Rep: Reputation: 1
Hi!

I assume you're talking about a server running a number of different websites? I think there's no easy way to determine the load on the server for each website. Apache starts processes for each incoming http-request, but not on a per-website basis. If you want to know more about the load on the server for each website, I think you'll have to look at the access-log files. I hope this helps...
---------- Post added 04-18-11 at 09:40 AM ----------

Last edited by Kobussie; 04-18-2011 at 03:41 AM.
 
1 members found this post helpful.
Old 04-18-2011, 03:54 AM   #3
FireRaven
Member
 
Registered: Apr 2006
Location: Australia
Distribution: Debian Squeeze
Posts: 135

Original Poster
Rep: Reputation: 18
I was afraid you'd say that.
Damn. Thanks anyway.
 
  


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
[SOLVED] Apache question: two website gurl4sh25 Linux - Server 2 01-28-2011 12:46 PM
Apache Website not working rossie Linux - Newbie 2 01-22-2010 03:55 PM
Website publishing in Apache j_kamal Linux - Newbie 3 11-11-2005 02:19 AM
Apache - Website Redirection Help cbarone2005 Linux - Software 2 09-29-2005 03:45 PM
apache website question vadertech Linux - Newbie 6 03-28-2003 05:02 PM

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

All times are GMT -5. The time now is 08:50 PM.

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