[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256129: Further Example



On Thu, Jul 29, 2004 at 11:01:19AM +1000, Lucas Barbuto wrote:
> Hi,
> 
> Here's a brief example of what I'm talking about, just to clarify.  This 
> happens every two or three days.

I suspect there is a resource leak in one of the applications you are
using.

> [lbarbuto@juno] [~] $ xlsclients
> juno  gnome-session
> juno  aterm -fn smooth -fb smooth -bg black -fg gray -geometry 120x20 
> -ls -name irssi -title '[ irssi ] [ irc.openprojects.net ]' +sb -tr -e irssi
> juno  aterm -fn smooth -fb smooth -bg black -fg gray -geometry 80x20 -ls 
> -name aterm -title aterm +sb -sh 50 -tr
> juno  /usr/lib/control-center/gnome-settings-daemon
> juno  metacity --sm-save-file 1061195406-13153-2509766848.ms
> juno  gnome-panel --screen=0
> juno  nautilus --screen=0
> juno  /usr/lib/gnome-panel/wnck-applet
> juno  /usr/lib/gnome-panel/clock-applet
> juno  /usr/lib/mozilla-thunderbird/mozilla-thunderbird-bin 
> -contentLocale en-US -UILocale en-US -height 600 -width 800
> juno  /usr/lib/mozilla-firefox/firefox-bin -a firefox -contentLocale 
> en-US -UILocale en-US -width 800 -height 600
> [lbarbuto@juno] [~] $ xeyes &
> [1] 995
> [lbarbuto@juno] [~] $ xterm &
> [2] 999
> [lbarbuto@juno] [~] $ Xlib: connection to ":0.0" refused by server
> Xlib: Maximum number of clients reached
> xterm Xt error: Can't open display: :0.0
> 
> [2]+  Exit 1                  xterm
> [lbarbuto@juno] [~] $

Could you show us the output of "xwininfo -root -children"?  I never
experience the problem you have, and I use KDE and Mozilla.  For me, that
command reports 830 windows.

(I realize windows are not the same thing as clients, but giving that this
bug has been open for a while without much useful information apart from
confirmation of its existence, I want to see what we can do to gather more
data.)

To be honest, I don't know how to ask the X server how many clients it
*thinks* are connected for the purposes of sending this error down the wire
to Xlib.  xlsclients connects to the server and uses XQueryTree(), which
isn't the same thing.  That's only going to be able to find clients that
are attached to the root window, and won't help us with a resouce leak.

(My xwininfo suggestion probably suffers from the same flaw, but I'll keep
my fingers crossed anyway.)

-- 
G. Branden Robinson                |     I am only good at complaining.
Debian GNU/Linux                   |     You don't want me near your code.
branden@debian.org                 |     -- Dan Jacobson
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: