Results 1 to 4 of 4

Thread: Plasma-desktop (and other KDE-stuff) opening X-connections until I can't open anything

  1. #1

    Default Plasma-desktop (and other KDE-stuff) opening X-connections until I can't open anything

    Hey there,

    I'm using openSUSE 12.3 (up to date), Xorg 1.13.2, fglrx 12.104-4 and KDE 4.10.5.

    Since about 1-2 weeks ago, I have trouble opening programs past a certain time after boot, where programs would stop telling me "Maximum number of clients reached" which comes from the X-server (as far as I can tell). The total number of connections given by xlsclients varies between 110 and 150 when it happens, including usually about 40-50 connections by plasma-desktop alone. Here is a complete list of connections in a situation as described, having only urxvt, Firefox, Thunderbird, Skype and Dropbox running on top of plasma. Using a different DE (tried i3 and razorqt) did not result in this problems, as those peak at around 30-40 connections including open programs.

    My question here is, is it normal for plasma and the rest of KDE to open this amount of connections and if so, is there a (hopefully easy) way of increasing the maximum number of accepted connections by X?

    Cheers

  2. #2

    Default Re: Plasma-desktop (and other KDE-stuff) opening X-connections until I can't open anything

    Quote Originally Posted by sulami View Post
    Hey there,

    I'm using openSUSE 12.3 (up to date), Xorg 1.13.2, fglrx 12.104-4 and KDE 4.10.5.

    Since about 1-2 weeks ago, I have trouble opening programs past a certain time after boot, where programs would stop telling me "Maximum number of clients reached" which comes from the X-server (as far as I can tell). The total number of connections given by xlsclients varies between 110 and 150 when it happens, including usually about 40-50 connections by plasma-desktop alone. Here is a complete list of connections in a situation as described, having only urxvt, Firefox, Thunderbird, Skype and Dropbox running on top of plasma. Using a different DE (tried i3 and razorqt) did not result in this problems, as those peak at around 30-40 connections including open programs.

    My question here is, is it normal for plasma and the rest of KDE to open this amount of connections and if so, is there a (hopefully easy) way of increasing the maximum number of accepted connections by X?

    Cheers
    Isn't the maximum number 256? To change it you would have to change X's source code and recompile, AFAIK.

    Anyway, I never had this problem (I am using KDE as well, but the radeon driver). And my number of connections right now is:
    Code:
    wolfi@amiga:~> xlsclients|wc -l
    164
    There seems to be an issue with the fglrx driver though, see here f.e.:
    https://forums.opensuse.org/english/...-uptime-3.html

  3. #3

    Default Re: Plasma-desktop (and other KDE-stuff) opening X-connections until I can't open anything

    Quote Originally Posted by wolfi323 View Post
    Isn't the maximum number 256? To change it you would have to change X's source code and recompile, AFAIK.

    Anyway, I never had this problem (I am using KDE as well, but the radeon driver). And my number of connections right now is:
    Code:
    wolfi@amiga:~> xlsclients|wc -l
    164
    This was what I thought as well, and I was also confused by the fact that the critical number of connections varied by 20 or more connections. Thanks for the hint, I hope I can resolve this problem, as I need fglrx.

  4. #4

    Default Re: Plasma-desktop (and other KDE-stuff) opening X-connections until I can't open anything

    So I added -noreset to the start-parameters of X and so far there seem to be no further problems, running about 130 clients for a whole day, I guess this one is solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •