nixCraft Linux Forum

nixCraft

Linux 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

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-18-2007, 09:40 PM
Junior Member
User
 
Join Date: Jun 2007
My distro: Debian
Posts: 1
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
Sponsored Links
  #2 (permalink)  
Old 06-18-2007, 10:36 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,036
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 | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
Reply

Bookmarks


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 On

Similar Threads

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


All times are GMT +5.5. The time now is 02:34 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

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