bubba
03-07-2001, 10:45 AM
When I reboot my box (RedHat 7, 2.4.2 kernel) I get the following mem usage:
[root]# free -m
total used free shared buffers cached
Mem: 312 69 242 0 2 33
-/+ buffers/cache: 33 278
Swap: 509 0 509
Now, if I leave it overnight I get the following in the morning:
[root]# free -m
total used free shared buffers cached
Mem: 312 308 3 0 84 43
-/+ buffers/cache: 180 131
Swap: 509 0 509
Sure, the buffers and the cached go up, but the used, even subtracting the buffers and cached, goes WAY up. (from 33 to 180!!!) This sounds like some memory leak to me. Anyone seen this? I don't seem to see it, at least not as bad, on single processor machines I have upgraded to 2.4.2.
Interesting new data. I booted with an old 2.2.16 kernel I had on the machine and I don't see this problem. I left it running for a day (running all the same services, of course) and I only had 15-25 MB used!!! So it does seem to be 2.4.x...
[root]# free -m
total used free shared buffers cached
Mem: 312 69 242 0 2 33
-/+ buffers/cache: 33 278
Swap: 509 0 509
Now, if I leave it overnight I get the following in the morning:
[root]# free -m
total used free shared buffers cached
Mem: 312 308 3 0 84 43
-/+ buffers/cache: 180 131
Swap: 509 0 509
Sure, the buffers and the cached go up, but the used, even subtracting the buffers and cached, goes WAY up. (from 33 to 180!!!) This sounds like some memory leak to me. Anyone seen this? I don't seem to see it, at least not as bad, on single processor machines I have upgraded to 2.4.2.
Interesting new data. I booted with an old 2.2.16 kernel I had on the machine and I don't see this problem. I left it running for a day (running all the same services, of course) and I only had 15-25 MB used!!! So it does seem to be 2.4.x...