Since I upgraded to 4.2 it looks like the cache memory doesn't go over about 70K or so. I have over 700K free and it started using swap, which doesn't normally happen for a few days or so. Any hints on what might be up?
This is just after a compile and the cached is only 75k total used free shared buffers cached Mem: 1032848 263992 768856 0 4612 75628 -/+ buffers/cache: 183752 849096 Swap: 1052248 18260 1033988
On a side note, anyone able to have Xorg running for more then 14 days? It consumes about 750megs after 14 days or so.
18 megs of swap with a gig installed is nothing significant. As far as cached memory not being used. If xorg is using 750 megs of ram there's not a whole bunch left for a file cache after the other applications are also allocated.
Dave wrote:
Since I upgraded to 4.2 it looks like the cache memory doesn't go over about 70K or so. I have over 700K free and it started using swap, which doesn't normally happen for a few days or so. Any hints on what might be up?
This is just after a compile and the cached is only 75k total used free shared buffers cached Mem: 1032848 263992 768856 0 4612 75628 -/+ buffers/cache: 183752 849096 Swap: 1052248 18260 1033988
On a side note, anyone able to have Xorg running for more then 14 days? It consumes about 750megs after 14 days or so. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 10/20/05, William Warren hescominsoon@emmanuelcomputerconsulting.com wrote:
18 megs of swap with a gig installed is nothing significant. As far as cached memory not being used. If xorg is using 750 megs of ram there's not a whole bunch left for a file cache after the other applications are also allocated.
The xorg memory consumtion is a different issue, I've had that problem for awile now, thats why I put in another 512 of ram so I can reboot twice a month instead of every weekend.
I'm curious if something has changed in the way memory is managed, I was under the impression that there should be very little free memory since the cache and buffers should be using it.
Dave wrote:
On 10/20/05, William Warren hescominsoon@emmanuelcomputerconsulting.com wrote:
18 megs of swap with a gig installed is nothing significant. As far as cached memory not being used. If xorg is using 750 megs of ram there's not a whole bunch left for a file cache after the other applications are also allocated.
The xorg memory consumtion is a different issue, I've had that problem for awile now, thats why I put in another 512 of ram so I can reboot twice a month instead of every weekend.
I'm getting into this thread late, but it's worth mentioning that top reports the total amount of *mapped* memory. This includes video memory. And on a card with 3D, the cards memory can be mapped 3 or more times, resulting in X looking like a huge memory hog.
Also, current kernels are aggressive at freeing up application memory that is rarely used by swapping it out to make more room for caching disk data. IMO, it's a win. But if you do not like the behavior:
echo 0 > /proc/sys/vm/swappiness
(The range is 0-100. Default is 60.)
This will cause it to swap out only when it has to. You can make the change permanent by setting vm.swappiness=0 in /etc/sysctl.conf
-Steve Bergman
Steve Bergman wrote:
Also, current kernels are aggressive at freeing up application memory that is rarely used by swapping it out to make more room for caching disk data. IMO, it's a win.
Yep, this is a great "feature," especially on something like a busy web server that's serving up lots of static content.
Cheers,
On 10/21/05, Chris Mauritz chrism@imntv.com wrote:
Steve Bergman wrote:
Also, current kernels are aggressive at freeing up application memory that is rarely used by swapping it out to make more room for caching disk data. IMO, it's a win.
Yep, this is a great "feature," especially on something like a busy web server that's serving up lots of static content.
Ahh ya, that seems to be the culprit. I've been on a lot of graphic intensive sites, so Firefox has been flushing out the cache by using a few hundred megs of ram.
Thanks for the info, I should stop going on dating sites to keep up with the latest changes haha
Dave wrote:
On 10/20/05, William Warren hescominsoon@emmanuelcomputerconsulting.com wrote:
18 megs of swap with a gig installed is nothing significant. As far as cached memory not being used. If xorg is using 750 megs of ram there's not a whole bunch left for a file cache after the other applications are also allocated.
The xorg memory consumtion is a different issue, I've had that problem for awile now, thats why I put in another 512 of ram so I can reboot twice a month instead of every weekend.
I'm curious if something has changed in the way memory is managed, I was under the impression that there should be very little free memory since the cache and buffers should be using it.
Sounds like a memory leak, not unheard of in X servers. SGI has had some famous ones over the years :-). Also not uncommon given the change from XFree86 to Xorg (different team as I understood it).
yes xorg is different but they forked xfree since xfree went to an incompatible license.
William A. Mahaffey III wrote:
Dave wrote:
On 10/20/05, William Warren hescominsoon@emmanuelcomputerconsulting.com wrote:
18 megs of swap with a gig installed is nothing significant. As far as cached memory not being used. If xorg is using 750 megs of ram there's not a whole bunch left for a file cache after the other applications are also allocated.
The xorg memory consumtion is a different issue, I've had that problem for awile now, thats why I put in another 512 of ram so I can reboot twice a month instead of every weekend.
I'm curious if something has changed in the way memory is managed, I was under the impression that there should be very little free memory since the cache and buffers should be using it.
Sounds like a memory leak, not unheard of in X servers. SGI has had some famous ones over the years :-). Also not uncommon given the change from XFree86 to Xorg (different team as I understood it).
-- William A. Mahaffey III
Remember, ignorance is bliss, but willful ignorance is LIBERALISM !!!!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
William Warren wrote:
yes xorg is different but they forked xfree since xfree went to an incompatible license.
Are there any major Linux distros still using XFree since the license dust up? I hadn't really paid much attention to it since most of my installs are on headless server systems.
Cheers,
I am sure there are but most of the "major" ones have switched to xorg because of the licensing issues.
Chris Mauritz wrote:
William Warren wrote:
yes xorg is different but they forked xfree since xfree went to an incompatible license.
Are there any major Linux distros still using XFree since the license dust up? I hadn't really paid much attention to it since most of my installs are on headless server systems.
Cheers,
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos