Bug#467214: xserver-xorg: memory leak
Package: xserver-xorg Version: 1:7.3+10 Severity: normal Hi, X has a memory leak. After running for 52 days (and adding lots of swap), it was taking up 1831m of virtual memory: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 14893 root 5 -10 1831m 16m 1840 S 0.7 3.6 1690:08 Xorg I suspect it is something to do with DBus, as running strings(1) on swap produced lots of references to dbus: $ sudo strings /dev/hda2 /home/sys/swap/* |fgrep org.freedesktop.DBus.Local|wc -l 446272 The strings output contained lots of copies of: unix:path=/var/run/dbus/system_bus_socket org_freedesktop_general org_freedesktop_general org_freedesktop_general /org/freedesktop/DBus/Local org.freedesktop.DBus.Local Disconnected Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ECTED EXTERNAL DBUS_COOKIE_SHA1 ANONYMOUS DBus appears to be working OK (at least running dbus-monitor then starting pidgin produced a flurry of messages). In case it is relevant, I'm running ion3 with mostly xterms. The data above was with a recent but non-current version of X from unstable, I've now been running for 19 days with the version that was in unstable 19 days ago, and X is up to 734Mb of VM usage. Let me know if there is anything I can do to help track this down. Ian. -- Package-specific info: Contents of /var/lib/x11/X.roster: xserver-xorg /var/lib/x11/X.md5sum does not exist. X server symlink status: lrwxrwxrwx 1 root root 13 2006-04-27 15:06 /etc/X11/X - /usr/bin/Xorg -rwxr-xr-x 1 root root 1673980 2008-02-01 04:06 /usr/bin/Xorg Contents of /var/lib/x11/xorg.conf.roster: xserver-xorg VGA-compatible devices on PCI bus: 00:0a.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1) 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter /etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum. Xorg X server configuration file status: -rw-r--r-- 1 root root 2459 2007-11-08 05:37 /etc/X11/xorg.conf Contents of /etc/X11/xorg.conf: # xorg.conf (Xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type man xorg.conf at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom # md5sum /etc/X11/xorg.conf /var/lib/xfree86/xorg.conf.md5sum # dpkg-reconfigure xserver-xorg Section InputDevice Identifier ps2keyboard Driver kbd Option CoreKeyboard Option XkbRules xorg Option XkbModel pc104 Option XkbLayout gb EndSection Section InputDevice Identifier ps2mouse Driver mouse Option CorePointer Option Device/dev/gpmdata # Option Protocol IMPS/2 Option Protocol Intellimouse Option Emulate3Buttons false Option Buttons 5 Option ZAxisMapping 4 5 EndSection Section Device Identifier geforce # BusID PCI:0:A:0 Driver nv # Driver nvidia EndSection Section Monitor Identifier Right Monitor (0) Option DPMS HorizSync 31.5-57.0 VertRefresh 50-90 Gamma 1.6 EndSection Section Screen Identifier Right Screen (0) Device geforce Monitor Right Monitor (0) DefaultDepth24 # Option Accel Off SubSection Display Depth 1 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 4 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 8 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 15 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 16 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth
Bug#467214: xserver-xorg: memory leak
reassign 467214 xserver-xorg-core found 467214 2:1.4.1~git20080131-1 thank you Ian Beckwith wrote: Package: xserver-xorg Version: 1:7.3+10 Severity: normal Hi, X has a memory leak. After running for 52 days (and adding lots of swap), it was taking up 1831m of virtual memory: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 14893 root 5 -10 1831m 16m 1840 S 0.7 3.6 1690:08 Xorg I suspect it is something to do with DBus, as running strings(1) on swap produced lots of references to dbus: $ sudo strings /dev/hda2 /home/sys/swap/* |fgrep org.freedesktop.DBus.Local|wc -l 446272 The strings output contained lots of copies of: unix:path=/var/run/dbus/system_bus_socket org_freedesktop_general org_freedesktop_general org_freedesktop_general /org/freedesktop/DBus/Local org.freedesktop.DBus.Local Disconnected Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ECTED EXTERNAL DBUS_COOKIE_SHA1 ANONYMOUS That's interesting. I guess I'll forward this information in the upstream bugzilla, maybe it'll help them fix some memory leaks. DBus appears to be working OK (at least running dbus-monitor then starting pidgin produced a flurry of messages). In case it is relevant, I'm running ion3 with mostly xterms. The data above was with a recent but non-current version of X from unstable, I've now been running for 19 days with the version that was in unstable 19 days ago, and X is up to 734Mb of VM usage. Let me know if there is anything I can do to help track this down. You can look at xrestop in case there's an application allocating too many pixmaps. If dbus is really the bad guy here, you probably won't see anything in xrestop though. It could be related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447526 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457957 Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#467214: xserver-xorg: memory leak
Processing commands for [EMAIL PROTECTED]: reassign 467214 xserver-xorg-core Bug#467214: xserver-xorg: memory leak Bug reassigned from package `xserver-xorg' to `xserver-xorg-core'. found 467214 2:1.4.1~git20080131-1 Bug#467214: xserver-xorg: memory leak Bug marked as found in version 2:1.4.1~git20080131-1. thank you Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#467214: xserver-xorg: memory leak
On Sat, Feb 23, 2008 at 09:18:20PM +0100, Brice Goglin wrote: You can look at xrestop in case there's an application allocating too many pixmaps. If dbus is really the bad guy here, you probably won't see anything in xrestop though. I forgot to mention I'd checked xrestop, there is nothing suspicious there. Looking now: Pixmaps:1544K total, Other: 259K total, All:1803K total It could be related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447526 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=457957 Oops, I hadn't spotted those, I didn't realise xorg-server was a separate source package from xorg. thanks, Ian. -- Ian Beckwith - [EMAIL PROTECTED] - http://erislabs.net/ianb/ GPG fingerprint: AF6C C0F1 1E74 424B BCD5 4814 40EC C154 A8BA C1EA Listening to: Iggy Pop - Nude Rude (Best Of) - Lust For Life -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#467214: xserver-xorg: memory leak
Processing commands for [EMAIL PROTECTED]: forwarded 467214 https://bugs.freedesktop.org/show_bug.cgi?id=14639 Bug#467214: xserver-xorg: memory leak Noted your statement that Bug has been forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=14639. thank you Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#467214: xserver-xorg: memory leak
forwarded 467214 https://bugs.freedesktop.org/show_bug.cgi?id=14639 thank you Ian Beckwith wrote: On Sat, Feb 23, 2008 at 09:18:20PM +0100, Brice Goglin wrote: You can look at xrestop in case there's an application allocating too many pixmaps. If dbus is really the bad guy here, you probably won't see anything in xrestop though. I forgot to mention I'd checked xrestop, there is nothing suspicious there. Looking now: Pixmaps:1544K total, Other: 259K total, All:1803K total I have reported this bug upstream at the URL above, feel free to add any comment if you think it could help. Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]