Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Maximum number of clients reached
Forum Updated to NodeBB v4.3 + New Features

Maximum number of clients reached

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 3.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chris CCF
    wrote on last edited by
    #1

    Maximum number of clients reached

    I would like to know how could I increase this number limit? My application would turn on many QWidget by show(). After tens of QWidget shown, a warning "Maximum number of clients reached" appeared at my terminal and program stopped running.

    Chris

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Platform details and qt versions ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chris CCF
        wrote on last edited by
        #3

        Platform is CentOS 7
        Qt5.8.0

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          How many widgets are you generating exactly ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          C 1 Reply Last reply
          0
          • SGaistS SGaist

            Hi and welcome to devnet,

            How many widgets are you generating exactly ?

            C Offline
            C Offline
            Chris CCF
            wrote on last edited by
            #5

            @SGaist

            After 52 individual QWidgets (widget form) show() and then the terminal complain about "Maximum number of clients reached".

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              For how long do you have your system running ?

              See this thread for some hints.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • C Offline
                C Offline
                Chris CCF
                wrote on last edited by
                #7

                Seems like this is the problem of gtk...

                mrjjM 1 Reply Last reply
                0
                • C Chris CCF

                  Seems like this is the problem of gtk...

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Chris-CCF
                  Hi
                  Its more like an X server issue i think
                  https://bbs.archlinux.org/viewtopic.php?id=188052
                  " MAXCLIENTS variable in xorg-server sources from 256 to 512."

                  So i do wonder if you get only 51 ?

                  C 1 Reply Last reply
                  1
                  • mrjjM mrjj

                    @Chris-CCF
                    Hi
                    Its more like an X server issue i think
                    https://bbs.archlinux.org/viewtopic.php?id=188052
                    " MAXCLIENTS variable in xorg-server sources from 256 to 512."

                    So i do wonder if you get only 51 ?

                    C Offline
                    C Offline
                    Chris CCF
                    wrote on last edited by
                    #9

                    @mrjj
                    Do you think there is any solution? I think this is quite hard to tackle. Right?

                    mrjjM 1 Reply Last reply
                    0
                    • C Chris CCF

                      @mrjj
                      Do you think there is any solution? I think this is quite hard to tackle. Right?

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Chris-CCF
                      Hi
                      Seems people just recompile their xorg.

                      Also you might be able to just upgrade xorg?
                      https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1518411
                      ( no idea for CentOS )

                      do you have something like xlsclients ? to see how many u really use?

                      1 Reply Last reply
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved