Koozali.org: home of the SME Server

Memory

simpleone

Memory
« on: July 26, 2002, 06:04:54 AM »
Hi all,

I seem to be having a problem with my e-smith 5.5 server in that it is using about 95% memory. If i stop and stop httpd, the memory goes back to about 60% but then straight back up to around 95% yet the swap space is not being used at all.

Anyone help with this ?

Jon Blakely

Re: Memory
« Reply #1 on: July 26, 2002, 08:49:53 AM »
< Author: Rich Lafferty (richl-forums_AT_e-smith.com) wrote
< Date:   06-25-02 10:02
<
< It's a feature! You've paid for that RAM, after all. Linux will do its best to use
< all the real memory available for something, whether allocated to programs
< or for cache, and to keep things out of swap when possible.
<
< You can check the accuracy of phpsysinfo at the command line with the
< command "free", which will break things up a little further:
<
< $ free
< total used free shared buffers cached
< Mem: 776640 623112 153528 644856 135284 356272
< -/+ buffers/cache: 131556 645084
< Swap: 265032 1144 263888
<
< That's probably similar in proportion to what you're seeing -- 620MB of
< 776MB are in use, but 131MB of that is buffers and cache.
<
< Cheers,
<
< --Richsimpleone wrote:
>
> Hi all,
>
> I seem to be having a problem with my e-smith 5.5 server in
> that it is using about 95% memory. If i stop and stop httpd,
> the memory goes back to about 60% but then straight back up
> to around 95% yet the swap space is not being used at all.
>
> Anyone help with this ?

Andy Taylor

Re: Memory
« Reply #2 on: July 26, 2002, 01:13:40 PM »
I too have exactly the same symtoms, below is the output from "free -t"

                                total         used        free     shared    buffers     cached
Mem:                       130648     125580     5068    0           30552      19904
-/+ buffers/cache:      75124       55524
Swap:                      265032      0             265032
Total:                       395680     125580     270100

128Mb RAM installed.. looks like 125 Mb being used..
But see the second value in the buffers/cache row..
thats what is actually being used.. (55.5 Mb)

running "top" and then enternig a capital M will show you what is using the most memory.

In my case its also HTTPD
Again for my system thats normal.

Hope that helps..
Andy

Jehu

Re: Memory
« Reply #3 on: July 26, 2002, 08:35:54 PM »
I don't think this is normal.  When I had 5.1.2 my memory was at 38% and with 5.5 it's at 95% it must be 5.5 that has this problem.
It is really slowing down my system when I have to make changes through server manager.  I am thinking of going back to 5.1.2.
Just my two cents.

Cheers,
Jehu.

Dan Brown

Re: Memory
« Reply #4 on: July 26, 2002, 08:50:44 PM »
This is not necessarily a problem, and the reason the server manager is slower is unrelated (it more likely relates to the forms-magic they're using for the multi-language support).