yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16136
Re: [Question #660090]: can't open yade when I have already opened 64 yade
Question #660090 on Yade changed:
https://answers.launchpad.net/yade/+question/660090
Janek Kozicki proposed the following answer:
"Maximum number of clients reached"
I know this error. By default the xserver-org (the program that controls
the display) can support at maximum 256 xclients. This may be translated
into having at maximum 256 windows open, but that's not true. For
example chromium uses just one xclient connection even if it has 50
windows opened, while cssh uses 136 xclient connections even though it
has only 4 windows opened. Okular is very annoying on the other end,
because it uses one additional xclient connection everytime I recompile
latex and refresh file inside okular. After lengthy latex editing
session I suddenly can't open any more windows, even a terminal. That's
why I moved to katarakt for pdf display, and use okular sparingly.
Yade behaves "normally" in that it uses one xclient connection per
window opened. However running multiple yade simulations still makes you
run out of xclient connections rather quickly. That's why it's more
efficient to run them without $DISPLAY variable and without windows.
I did recompile xserver-org package locally to increase xclients limit
to 512, just to make this nuisance less annoying.
You can check how many xclient connections are using with this command:
xlsclients | wc -l
That's the explanation for what really happens for you. However Jérôme
has the best solution for your problem, I think :)
best
Janek
--
You received this question notification because your team yade-users is
an answer contact for Yade.