Re: Free Memory and Tasks



On Thu, 12 Jan 2006 21:09:13 +0100
Marco <marco4ever@xxxxxxxxx> wrote:


> this is my memory statistics:
> 1295184k total, 664740k used, 630444k free, 85144k buffers
> and every day my free memory decrease.

Normally, this is a good thing, since "free" memory is unused memory
(Don't you think that a change in 'free' would have been a good thing in
the first place - call it "unused" because that is what it really is,
but then we'd have to call the "free" command "unused" or something.)
and unused memory is wasted memory. Over time, expect it to go down as
more is committed for apps, caches and disk buffers. You'll also see it
momentarily go up from time to time, especially if you close out a big
app.



>
> Spamd (5 child in total) use 15% of memory!!! (Now I don't receve
> e-mail, because this server is in testing and the smtp port is closed)

But it's not a good idea to run services you don't use. They do take
some resources that could be put to better use.

How does (if it does) email get to your system? Is spamd only filtering
local mail (pop or fetchmail etc)? spamd wouldn't normally be running
unless there were mail messages to process. As far as apache is
concerned, there's no need to load or run it if you aren't going to be
hosting services, so you're better off doing an aptitude purge apache2.


> Apache2 (7 child in total) use 13% of memory!!! (Now I'don't web
> traffic, my port 80 is closed!)

Much of which is shared, so don't simply total them up.



--
------------------------------------------------------------------------
David E. Fox Thanks for letting me
dfox@xxxxxxxxx change magnetic patterns
dfox@xxxxxxxxxxxxxxxxxxxxxx on your hard disk.
-----------------------------------------------------------------------


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: why swap at all?
    ... On a slow system with small memory you quite often see swapped out ... > still turn on swap so that other 57MB of unused memory isn't wasted. ... Actually the number of totally unused memory is quite small. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: how can i free the physical memory in standby pages
    ... i feel the lag when i bring some unusing program to ... release the process' unused memory back to the OS. ... if/when you need the memory back it will have to be reallocated from the OS. ... do not free the global page cache. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: [PATCH][v2.6.29][XEN] Return unused memory to hypervisor
    ... Return unused memory to hypervisor ... memory lower then is assigned to guest, ... Comparing both kernels I found code for returning unused memory to ...
    (Linux-Kernel)
  • Re: Free Memory
    ... You have to defined what you mean by "unused memory". ... standard storage allocator to return space to the kernel once it is freed (this is ... I want to know how to free the unused memory in Windows. ... I run my application the RAM free percentage keeps on decreasing. ...
    (microsoft.public.vc.mfc)
  • RE: ten thousand small processes
    ... >If your going to get this serious about your memory management, ... Where is all that DRAM going? ... >I don't care much about the 3-page text segment. ... >To unsubscribe, send any mail to ...
    (freebsd-performance)