Ben Miller wrote: > We have a strange memory leak happening in Xorg to one person. The system > was fine running build 67, but when upgraded to build 78 and 85 Xorg just > grows and grows. The system is an Ultra 20 with 4GB of memory and two > monitors. With just one monitor the problem is still there. We tried > switching the person to an Ultra 40 with 2GB of memory and the problem stays. > We have tried both the nv and nvidia drivers on the Ultra 20 and also tried > swapping in an ATI card for the NVidia card. Xorg just keeps growing and > after a few days of being logged on needs to be restarted as Xorg can't get > enough memory. It seems to grow the most when the system is xlocked. The > user runs several firefox windows, thunderbird, xterms, xmeters, etc... > > Here is what pmap says currently on the Ultra 40. > # pmap -x 496 > 496: /usr/X11/bin/Xorg :0 -depth 24 -audit 0 -auth /var/lib/gdm/:0.Xauth > Address Kbytes RSS Anon Locked Mode Mapped > File > 0000000000400000 2032 672 - - r-x-- Xorg > 000000000060C000 80 40 24 - rw--- Xorg > 0000000000800000 172 144 124 - rw--- Xorg > 000000000082B000 1384656 961964 954536 - rw--- [ heap ] > ... > FFFFFD7FFFD72000 568 72 72 - rw--- [ stack > ] > ---------------- ---------- ---------- ---------- ---------- > total Kb 1480832 1045368 955004 - > > If the firefox's are run on a remote system the growth seems to be slower, > but still happens. Any suggestions where to look next? Has anyone else ran > into this? >
It is possible that some X client (Firefox is a suspect) is using lots of server side resources like pixmaps. You can use the following utility to see which client is using how much of server-side resources: http://www.freedesktop.org/wiki/Software/xrestop Regards, Moinak. > Ben > > > This message posted from opensolaris.org > _______________________________________________ > xwin-discuss mailing list > xwin-discuss at opensolaris.org >