Re: Memory Leaking. Help!

David Schwartz (davids@webmaster.com)
Mon, 15 Apr 2002 03:00:30 -0700


>No, I do not. That is why I asked is there a way to find out what is
>eating ram. I am not sure if this a leakage. I am only a paranoid
>sysadmin.

In fact, you have no reason whatsoever to believe the memory is leaking.
It's just being *used*.

>>What does ps -aux imply has all the memory ?

>Top at 9am showed 3.2GB of availabe memory.
>
>Top at 10am showed 2.3Gb of available memory
>
>This top at 11am
>10:19am up 13:23, 6 users, load average: 0.07, 0.03, 0.01
>143 processes: 142 sleeping, 1 running, 0 zombie, 0 stopped
>CPU0 states: 0.0% user, 5.0% system, 0.0% nice, 94.0% idle
>CPU1 states: 0.0% user, 1.0% system, 0.0% nice, 98.0% idle
>Mem: 3799080K av, 2215132K used, 1583948K free, 1580K shrd, 377916K
>buff
>Swap: 8192992K av, 0K used, 8192992K free 1515392K
>cached

If you don't want the memory to be used, take it out of the system and let
it sit on your desk. If you put the memory in the system, the system assumes
that you want to use it. It keeps data in memory that it would otherwise
throw away, that we if it's used again, it doesn't have to be fetched from
disk.

DS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/