Re: memory overload ???
drgonzo120 wrote:
hello,
my httpd crashed, and i checked the top colmmand and it looks like my
system is using a rather big quantity of memory ???
Instead of 'top', use 'free' to check your overall memory usage. The
first line "Mem:" shows total usage, but isn't terribly important
because that includes buffers and cache (which can be dumped when an app
needs memory). What really counts is the next one, labelled "-/+
buffers/cache:". That shows actual usage after removing buffers and
cache from consideration. Does it still look like you're using a lot of
RAM?
.
Relevant Pages
- Re: [PATCH 01/30] swap over network documentation
... added to the cache, the s->reserve flag on the cache is removed. ... This ensures that memory from the emergency reserve can be used to ... However some memory usage might not be accounted with sufficient ... (Linux-Kernel) - Re: problems with mmap() and disk caching
... inactive shows disk cache and wired shows kernel itself. ... Active memory: the memory which is referenced by application. ... The pages migrate between active/inactive/cache/free by the ... On buffers dissolve, buffer cache explicitely puts pages constituing ... (freebsd-hackers) - RE: confused with memory usage, sar, top, free, vmstat
... Yes, extra memory will be used in buffers and cache, and that memory can be reclaimed if needed. ... confused with memory usage, sar, top, free, vmstat ... (RedHat) - Re: New Forum: BulletProof, Bitmap Steganography, XOR
... I see no reason for the great speed differencies, it's my system disk, ... the huge speed loss when switching from 0.5MB to 1MB buffers). ... cache is the issue. ... That's why I used such a large file, my memory is only 8GB with half ... (sci.crypt) - Re: problems with mmap() and disk caching
... Now the file is in inactive memory, ... inactive shows disk cache and wired shows kernel itself. ... Any managed mapping of the page participates in the active references. ... On buffers dissolve, buffer cache explicitely puts pages constituing ... (freebsd-hackers) |
|