nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache Memory

This is a discussion on Apache Memory within the Web servers forums, part of the Mastering Servers category; Hi, This is my first thread, so go easy on me. I have a question which hope someone will enlighten ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-06-2007, 08:40 PM
Junior Member
User
 
Join Date: Jun 2007
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Winston is on a distinguished road
Default Apache Memory

Hi,

This is my first thread, so go easy on me. I have a question which hope someone will enlighten me.

I'm running Apache 2.2.4 and php 4.4.7. When I do a 'top', the memory usage showing I'm using 628472k of 969624k memory, However the load is very low, below 1

just wondering, is it normal Apache will allocated a portion of memory even it is not used at the moment ?

Winston
Reply With Quote
  #2 (permalink)  
Old 18-06-2007, 09:36 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Welcome to forum!

Yes it is very common on Linux and UNIX commands to consume all free memory. Basically OS caches all frequently used files in memory and server them from memory. Here is output from my system:

Code:
free -m
Output:
Code:
  total       used       free     shared    buffers     cached
Mem:          2008       1595        412          0         58        718
-/+ buffers/cache:        818       1189
Swap:         1027          0       1027
My system load
Code:
uptime
Output:
Code:
 11:03:29 up 137 days, 11:23,  1 user,  load average: 0.16, 0.10, 0.09
Look at the buffers/cache line. In short as long as your load is below 5 (<5) and disk i/o under control nothing to worry
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
process need more memory brijesh Linux software 3 13-12-2007 05:38 PM
-bash: /bin/ps: Cannot allocate memory kasimani Linux software 1 12-10-2007 09:00 PM
command for knowing free memory in BSD ricc All about FreeBSD/OpenBSD/NetBSD 2 08-07-2007 01:28 PM
difference between Swap and Virtual memory ricc Linux software 3 16-03-2007 01:35 AM
How can we use USB memory stick in Linux8&9 p_narahari Linux software 1 08-05-2005 05:11 PM


All times are GMT +5.5. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38