[Bug 910539] Re: maximum number of clients reached
I'm running an AMD Radeon HD 6450 with the driver downloaded and installed from the AMD website (http://support.amd.com/en- us/download/desktop?os=Linux%20x86) When running "sudo lsof -P `pidof X`" I would also see a lot of entries like another user mentioned above: Xorg 21747 root 103r REG 8,4 0 16387220 /etc/ati/atiapfuser.blb After renaming atiapfuser.blb to something else (atiapfuser.blb.bak), I rebooted, and these entries stopped piling up. It's been a few days since I did this, and I haven't seen them at all, and I don't get any more errors about maximum number of clients reached. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
This is looking more and more like a X server resource leak. I reached this state again after a couple of days (as I usually do) and tried to capture some information to compare with the clean-state data, so I closed everything I had open until I had only the clients that I normally have right after login. Then I started running xwininfo with different options. After successfully running xwininfo several times I suddenly got Maximum number of clients reachedxwininfo: error: unable to open display ":0.0" I literally had not run anything else other than a few shell commands. I seriously doubt xwininfo is leaking handles. Later, when I'm not doing real work, I'll try to script something to see if I can create a failure. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
I don't think this is an issue with a hardcoded constant in X, not unless someone recently made it much smaller. I hadn't seen this problem at all in 15+ years of using Linux/X, not until upgrading from 10.04LTS to 12.04LTS. More likely it's a newly introduced resource leak in X or gnome. I'm using the nVidia driver. I hit this yesterday and had to log out/restart X, and I'm already hitting it again today. After killing everything except a single terminal and this instance of Firefox I notice out of 244 root window children over 160 instances of this sort: 0xc001b9 (has no name): () 238x196+842+518 +842+518 2 children: 0xc001ba (has no name): () 236x164+1+27 +843+545 0xc001bb (has no name): () 238x196+0+0 +842+518 They're all children of the root window. There are some duplicates, for instance (ignoring their 2 children): 0xc01660 (has no name): () 1077x1052+850+154 +850+154 0xc016b1 (has no name): () 1077x1052+324+118 +324+118 0xc017ea (has no name): () 1077x1052+850+154 +850+154 0xc01877 (has no name): () 1077x1052+850+154 +850+154 0xc018fb (has no name): () 1077x1052+850+154 +850+154 0xc01947 (has no name): () 1077x1052+850+154 +850+154 0xc019cc (has no name): () 1077x1052+850+154 +850+154 0xc01a45 (has no name): () 1077x1052+850+154 +850+154 I used to think it was xscreensaver, but I disabled that. I have no screensaver process running now. The only "strange" thing that might be related is a shell script I run that fires off xplanet every 5 minutes to generate a jpeg and then calls gconftool -t str -s /desktop/gnome/background/picture_filename to update the background image. > xlsclients john gnome-session john gnome-settings-daemon john gnome-panel john gnome-fallback-mount-helper john rainlendar2 john polkit-gnome-authentication-agent-1 john devilspie john gtk-window-decorator john notify-osd john gdu-notification-daemon john telepathy-indicator john indicator-applet john gweather-applet-2 john indicator-applet-session john indicator-printers-service john evolution-alarm-notify john gnome-terminal john firefox Any suggestions on how to debug this would be appreciated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
I've just hit this bug in 13.04 using nvidia drivers. but the 280+ instances of Kblankscrn from the screen saver bug currently going around probably contributes! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
Although I agree with both points. It is hard coded limit in X11, and you can hit it with NVIDIA drivers. However, in this case, there is a bug in the ATI drivers which causes users to hit this limit sooner due to elevated number of windows created and/or not released correctly. Wayland *should* resolve this issue, however, ATI drivers would need to be coded to use that driver format as they are currently not supported. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
Anyway, googling for the error message suggests that lots of people hit this; its a hard-coded constant in an X11 header file; it would need to be changes and have X11 recompiled, or made into a run-time configurable parameter. Lets just hope that Wayland doesn't have this problem ... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
Nothing to do with ATI, I hit this on NVIDIA as well. In my case, I have many, many copies of evince running. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
What GPU and driver (w/ version) is everyone using? I've noticed the /etc/ati/atiapfuser on mine and would like to see if this could be the actual reason. Thanks, J -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: fglrx-installer (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
There is an easy way around this -- rename (or even delete) the file /etc/ati/atiapfuser.blb. From my research this is a "user profile" which doesn't seem to be utilized, at least in my case. When that files exist, you will see LOTS of entries like: Xorg21747 root 103r REG8,40 16387220 /etc/ati/atiapfuser.blb in the output of "sudo lsof -P `pidof X`". But after I 'mv' the file, not long these entries. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
I've had 200 zenity instances (xlsclients | sort | uniq -c), killed it (killall zenity) and now everything works fine. The problem appeared after 35 days uptime. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
I'm also getting this error when trying to open a PDF with evince on 12.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
** Package changed: xorg (Ubuntu) => fglrx-installer (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 910539] Re: maximum number of clients reached
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/910539 Title: maximum number of clients reached To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/910539/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs