Unsolved Maximum number of clients reached
-
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
-
Platform details and qt versions ?
-
Platform is CentOS 7
Qt5.8.0 -
Hi and welcome to devnet,
How many widgets are you generating exactly ?
-
After 52 individual QWidgets (widget form) show() and then the terminal complain about "Maximum number of clients reached".
-
For how long do you have your system running ?
See this thread for some hints.
-
Seems like this is the problem of gtk...
-
@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 ?
-
@mrjj
Do you think there is any solution? I think this is quite hard to tackle. Right? -
@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?