LinHES Forums
http://forums.linhes.org/

swap partition usage - memory leak? - R5.5
http://forums.linhes.org/viewtopic.php?f=6&t=19626
Page 2 of 2

Author:  neutron68 [ Tue Mar 17, 2009 9:06 pm ]
Post subject:  Re: memory leak?

tjc wrote:
neutron68 wrote:
I read in the R5.5 hints that you were rebooting your machine every 4 days due to the memory leak. Are you still or has the problem been solved with new nvidia drivers or xorg software?

More like every week or so depending on the status, but yes. Just killing the X server and letting it restart is usually all it takes.

I never noticed a memory leak with the combination of software in R5F27. Is this isolated to R5.5?
In R5.5, I've been watching my RAM usage with RRD and have seen a constant building up of RAM.

Author:  tjc [ Tue Mar 17, 2009 10:01 pm ]
Post subject: 

Please see Known Issues # 2.3.2 in the R5.5 Hints and follow the link to the Nvidia forums there. It points you to a very clear and detailed problem report and analysis of the issue and it's causes.

Author:  neutron68 [ Wed Mar 18, 2009 1:09 pm ]
Post subject:  R5F27 - no memory leak?

tjc wrote:
Please see Known Issues # 2.3.2 in the R5.5 Hints and follow the link to the Nvidia forums there. It points you to a very clear and detailed problem report and analysis of the issue and it's causes.

Yes, I had read the hints page and then the nvidia forum page.
http://www.nvnews.net/vbulletin/showthread.php?t=112228

The nvidia page says:
Quote:
we are experiencing a continuous memory leak using drivers ranging from 1.0-9762 to current 173.08. The leak seems to be in glXSwapBuffers.


To follow this further, I just looked back at the R5F27 changelog (http://mysettopbox.tv/CHANGELOG.txt)
The changelog for R5F27 seems to indicate the nvidia driver was 1.0-8776.

So, I guess R5F27 was before the memory leak problem started?

Eric

Author:  neutron68 [ Sun Jun 21, 2009 12:49 pm ]
Post subject:  what about driver version?

It's been a while since this was discussed.
Has anyone found a solution for the memory leak in R5.5?

What if we rolled back our nvidia driver to a version before the memory leak - like 1.0-8776?
Or updating to a newer nvidia driver than in stock R5.5?

I just updated to nvidia driver version 180.51. I'll see if that fixes the memory leak...

Author:  marc.aronson [ Sun Jun 21, 2009 5:52 pm ]
Post subject:  Re: what about driver version?

neutron68 wrote:
It's been a while since this was discussed.
Has anyone found a solution for the memory leak in R5.5?


I haven't looked for a solution, but I put in place a work-around for my brother. Given his usage pattern the memory leak would create problems after ~2-weeks of continuous uptime, so I set up a cronjob that does a "pkill xinit" at 2AM once a week.

Author:  neutron68 [ Mon Jun 22, 2009 8:48 am ]
Post subject:  looked around for memory leak reports

I've looked around the Net for reports of Linux memory leaks.

There is a memory leak one with some versions of xorg software.
http://bbs.archlinux.org/viewtopic.php?id=70084

Maybe this R5.5 memory leak is a combination of xorg and nvidia software?

Eric

Author:  neutron68 [ Mon Jun 29, 2009 9:05 pm ]
Post subject:  180.51 didn't help

Updating to nvidia driver 180.51 didn't help. The memory usage continues to grow a little each day.

When I use the 'top' command, I see that xorg is taking a fairly large percentage of memory (20-30%) after memory starts filling up.
Does this indicate that xorg is the problem?

Author:  tjc [ Tue Jun 30, 2009 7:24 pm ]
Post subject: 

X or one of the drivers that it loads. Mine is up around 28% at the moment, so it'll probably be time to restart the X server this weekend.

Author:  neutron68 [ Tue Jun 30, 2009 8:34 pm ]
Post subject:  versions?

tjc wrote:
X or one of the drivers that it loads. Mine is up around 28% at the moment, so it'll probably be time to restart the X server this weekend.
Are you running an nvidia card too? What driver version are you using?

The version of X in R5.5 is from 2007.
Perhaps a newer version would cure this??

Author:  cliffsjunk [ Thu Jul 23, 2009 9:42 am ]
Post subject: 

tjc wrote:
Please see Known Issues # 2.3.2 in the R5.5 Hints and follow the link to the Nvidia forums there. It points you to a very clear and detailed problem report and analysis of the issue and it's causes.


Girlfriends system is a PVR350 only system and it has this problem so it is not Nvidia. Swap graph in rrd shows up ramp till full over and over (and then it gets rebooted when it becomes a problem) over the course of a year.

Author:  neutron68 [ Thu Aug 06, 2009 11:32 am ]
Post subject:  not nvidia's fault, after all?

cliffsjunk wrote:
Girlfriends system is a PVR350 only system and it has this problem so it is not Nvidia. Swap graph in rrd shows up ramp till full over and over (and then it gets rebooted when it becomes a problem) over the course of a year.


That is a compelling piece of evidence - memory leak in R5.5 is not dependant on having a nvidia display card in the system! So, the common piece is x.org?

I've never seen a guide on how-to update the version of x.org. I am pretty sure that Cecil has a method of doing this - since he usually updates to a newer version of x.org with each release.

Cecil, can you offer your method of x.org update?

Eric

Page 2 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/