OS: debian 7.6 kernel: 3.2.0-4-amd64 video: AMD nee ATI Trinity [Radeon HD 7560D] (built-in) video driver: fglrx (Proprietary) DE: kde4

The machine does not turn off, only the screen is blocked, 2 FireFox windows (20-30 tabs in each), 2 konsole windows (5-8 tabs in each), quanta, skype, okular, sometimes OpenOffice and chrome are constantly open. Somewhere after 2-3 weeks of operation, the error "Maximum number of clients reached" starts to appear - when I try to start some X-application.

What can cause it? Is there a driver problem or something else?

When was the card nVidia - such problems (with the same mode of operation) did not arise.

    1 answer 1

    What can cause it? Is there a driver problem or something else?

    Perhaps, the xlsclients program running in the terminal emulator will help. as its name suggests, it displays a list of x-clients connected to the x-server.

    • xlsclients | wc -l Maximum number of clients reachedxlsclients: unable to open display ":0" xlsclients | wc -l Maximum number of clients reachedxlsclients: unable to open display ":0" If you close that, then: xlsclients | wc -l 77 xlsclients | wc -l 77 Total - 77 X-applications - and a little old one - Boris
    • You have listed seven programs: firefox, konsole, quanta, skype, okular, openoffice, chrome. i.e., there should be seven x-clients, not 77. see what these “extra” clients are: perhaps some of the programs “spawns” additional connections to the x-server. - aleksandr barakin
    • Well, what I have listed are applications that, let's say, before my eyes. the rest is plasma-desktop, knotify4, kwin, krunner, kuiserver and other kde components. I think their list is about the same for any kde system. The same skype - spawns 7 entries in the list xlsclients, okular - 3 entries. On a home machine (identical in both software versions and use case, with the exception of video - there is Nvidia), this problem does not arise. - Boris
    • check if open sockets are accumulating (most likely due to the crash of any failed x clients): sudo lsof -p $ (pidof Xorg X) | grep socket | wc -l - aleksandr barakin
    • This check gives out 0 - Boris