Hello,

I'm getting out of ideas how to get rid of an annoying problem:

Maximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedMaximum number of clients reachedError: cannot open display: :0


Somehow I get this message in my xerrors log file each and every day after a few hours and I have no idea what causes it. So far I have

- switched from a small xdmcp client to a real desktop system
- avoided to run application over remote-X (which we are frequently doing here, not only on xdmcp systems)
- switched from gnome to kde
- monitored X usage with xrestop
- monitored open file descriptors of X

Nothing of that has helped or revealed anything so far.

If the issue comes up, xrestop does not show much different values than after a start of my session. Counting the number of open files with

lsof -p `pidof X` | wc -l

shows rather high number between 750 and 900, but so far not above 1000 (limit is 1024). The /proc/$PID/fd shows even much less open FDs, usually between 150 and 250.

So it would be really nice, if there would be a way to figure out where the limit of "Maximum number of clients" comes from.


Thanks,
Bernd
xrestop - Display: :0
          Monitoring 239 clients. XErrors: 0
          Pixmaps:   71451K total, Other:     250K total, All:   71701K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier    
1600000    88    1    0  250 1350    21292K     33K  21325K 220624 kwin
2000000    97   65    0  718  963    15090K     26K  15117K 220645 
plasma-desktop
4200000     7    5    0   33  135     9364K      3K   9367K 220771 schubert : 
bash
0200000     0    1    0    1    0     6890K     24B   6890K   ?   <unknown>
1000000     0    0    0    1    0     6890K      0B   6890K   ?   <unknown>
4000000     8    3    0 1894 1956     4223K     46K   4269K 220768 skype
11600000    65   52    1  728  102     2267K      6K   2273K 254197 C/C++ - 
fhgfs_client_module/source/closed/net/filesystem/Fhgfs
4c00000     6    3    0   33   67     1318K      1K   1320K 221356 klipper
5400000    11    5    0   19   61      743K      1K    744K 220880 
printer-applet
18a00000     6   36    1   51   86      422K      4K    426K 220771 <unknown>
1400000     9    2    0   15   38      299K      1K    300K 220622 
Qt-subapplication
4a00000     7   54    1  163  300      241K      9K    250K 220826 Pidgin
1800000    70   65    1  348  498      215K     15K    231K 221434 
gmane.comp.freedesktop.xorg - news.gmane.org - Mozilla Thunderb
5200000     4   22    1    7   18      128K      2K    130K 220858 
screenlets-daemon.py
0e00000     4    1    0   17   36      125K    984B    125K 220566 kded4
0800000     4    1    0   17   56      121K      1K    122K 220741 krunner
1c00000     3    1    0    5  557       58K     13K     71K 220634 kglobalaccel
3e00000     3    1    0    5   13       58K    408B     58K 220767 
nepomukcontroller
3800000     3    1    0    5   13       58K    408B     58K 220752 
nepomukservicestub
3600000     3    1    0    5   13       58K    408B     58K 220749 
nepomukservicestub
3400000     3    1    0    5   13       58K    408B     58K 220730 kaccess
3200000     3    1    0    5   13       58K    408B     58K 220719 
nepomukservicestub
3000000     3    1    0    5   13       58K    408B     58K 220699 
akonadi_nepomuk_contact_feeder
2e00000     3    1    0    5   13       58K    408B     58K 220697 
akonadi_maildir_resource
2c00000     3    1    0    5   13       58K    408B     58K 220696 
akonadi_ical_resource
2a00000     3    1    0    5   13       58K    408B     58K 220698 
akonadi_maildispatcher_agent
2600000     3    1    0    5   13       58K    408B     58K 220695 
akonadi_contacts_resource
2200000     3    1    0    5   13       58K    408B     58K 220655 knotify4
1e00000     3    1    0    5   13       58K    408B     58K 220647 
kactivitymanagerd
1a00000     3    1    0    5   13       58K    408B     58K 220636 kwalletd

_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to