maximum number of clients reached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fglrx-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
X server hits a client limit at a very low value. Somewhere around 95 clients. This is very easy to hit and I have hit this limit frequently since upgrading to 11.10. This has not normally been a problem in decades of running linux.
# Firefox downloads PDF file but does not open it as usual
$ evince /tmp/CM6206+
[26] 9099
Maximum number of clients reachedCannot parse arguments: Cannot open display:
[26] Exit 1 evince /tmp/CM6206+
$ ubuntu-bug evince
Maximum number of clients reachedCannot start: Gtk couldn't be initialized
$ ps axlww | fgrep -i evince | wc
45 632 4771
$ ico
Maximum number of clients reachedico: cannot open display ":0"
$ killall evince
# NOTE that I killed evince and thus about half the clients.
$ xlsclients | wc
50 107 1227
$ xlsclients | sort | uniq -c
1 '' /bin/sh /usr/lib/
1 cervantes applet.py
1 cervantes bamfdaemon
1 cervantes bluetooth-applet
1 cervantes compiz
1 cervantes deja-dup
6 cervantes emacs
1 cervantes eog
1 cervantes evolution-
4 cervantes file-roller
1 cervantes firefox
1 cervantes gdu-notificatio
1 cervantes gnome-fallback-
1 cervantes gnome-screensaver
1 cervantes gnome-session
1 cervantes gnome-settings-
1 cervantes gnome-terminal
1 cervantes gpodder
3 cervantes inkscape
1 cervantes nautilus
1 cervantes nm-applet
1 cervantes notify-osd
1 cervantes npviewer.bin
2 cervantes plugin-container
1 cervantes polkit-
2 cervantes python
1 cervantes scp-dbus-service.py
1 cervantes soffice
1 cervantes ubuntuone-
1 cervantes unity-panel-service
1 cervantes unity-window-
1 cervantes update-manager
1 cervantes update-notifier
2 cervantes vlc
2 cervantes xsane
1 cervantes xterm -bg green -title alpine -e alpine
$ sudo lsof -p `pidof X` | grep socket | wc -l
[sudo] password for whitis:
lsof: WARNING: can't stat() fuse.gvfs-
Output information may be incomplete.
64
$ xwininfo -root -children | wc
882 5982 56551
$ xrestop - Display: :0
Pixmaps: 162522K total, Other: 1405K total, All: 163928K total
res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
1200000 1784 2 1 38 16732 26206K 435K 26641K ? Compiz
0600000 0 0 0 1 0 22500K 0B 22500K ? <unknown>
1a00000 7 3 1 20 66 20282K 2K 20284K 2723 nautilus
0c00000 6 2 0 18 319 18750K 7K 18757K 2680 gnome-setting
14c00000 59 99 1 2268 2453 12731K 62K 12793K 2426 Downloads
4e00000 4 3 1 18 55 12709K 2K 12712K 11289 food_0002.jpe
a400000 25 126 1 1040 151 12316K 8K 12324K 22268 Wireless Test
13600000 48 165 1 128 115 8221K 8K 8229K 26330 BitPim
0000000 2 0 2 0 132 7500K 5K 7505K ? <unknown>
1e00000 0 0 0 1 0 7500K 0B 7500K ? <unknown>
2c00000 9661 67 1 118 1113 1870K 255K 2125K 2782 unity-window-
e000000 5 3 1 19 57 1358K 2K 1361K 5330 CN0144-Design
6400000 5 3 1 19 57 1358K 2K 1361K 19168 st51_d00_e00.
6000000 5 3 1 19 57 1358K 2K 1361K 19051 st51_d00_asci
4c00000 5 3 1 19 57 1358K 2K 1361K 11279 15w-pcb.zip [
13a00000 15 99 1 175 131 900K 6K 906K 30059 Preview 7650
7a00000 15 101 1 167 130 899K 6K 906K 23198 Preview 7650:
7600000 17 7714 1 26 68 472K 183K 656K 21913 virginia_low.
6200000 22 7862 1 50 83 463K 187K 651K 21158 usmap2.svg -
7400000 17 4358 1 28 69 469K 105K 575K 21902 virginia.svg
...
Unity and compiz seem to have an inordinate number of windows open.
uptime was a mere 19 days.
I am not running google chrome, lastpass, or MinimizeToTray which have been blamed for this problem elsewhere.
On a related note, the screensaver can take a very long time to let you unlock the screen (and actually displays the desktop to prying eyes before hiding it and displaying the prompt). Last time I needed to unlock, it would not display the password window. I switched to a console window and killed it. It has been mentioned that switching to console and back may free some x server resources.
I have 16GB RAM in this machine.
ati-driver-
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xorg 1:7.6+7ubuntu7
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelMo
.tmp.unity.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 1e1a99f31ec2933
CheckboxSystem: edda5d4f616ca79
CompizPlugins: [core,bailer,
CompositorRunning: compiz
Date: Sun Jan 1 07:19:16 2012
DistUpgraded: Log time: 2011-11-09 01:26:59.103060
DistroCodename: oneiric
DistroVariant: ubuntu
GdmLog: X: /tmp/.X11-unix has suspicious mode (not 1777) or is not a directory, aborting.
GraphicsCard:
ATI Technologies Inc Cayman PRO [AMD Radeon 6900 Series] [1002:6719] (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:03d4]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
JockeyStatus:
xorg:fglrx_updates - ATI/AMD proprietary FGLRX graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Disabled, Not in use)
MachineType: System manufacturer System Product Name
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: Upgraded to oneiric on 2011-11-09 (53 days ago)
dmi.bios.date: 02/17/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1902
dmi.board.
dmi.board.name: Crosshair IV Formula
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.6+
version.
version.ia32-libs: ia32-libs 20090808ubuntu26
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → fglrx-installer (Ubuntu) |
I'm also getting this error when trying to open a PDF with evince on 12.04.