Date: Mon, 17 Feb 2020 06:09:06 +0100 From: Frederic Chardon <chardon.frederic@gmail.com> To: Kurt Jaeger <pi@freebsd.org> Cc: freebsd-x11@freebsd.org Subject: Re: X11: Maximum number of clients reached ? Message-ID: <CAMODbkkH1gsi1KRm4GA5KHUFSJQHowRKRJRsoxq2ERFTNj%2BiAw@mail.gmail.com> In-Reply-To: <20200216192228.GA56942@fc.opsec.eu> References: <20200216183927.GX1860@fc.opsec.eu> <20200216192228.GA56942@fc.opsec.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
Le dim. 16 f=C3=A9vr. 2020 =C3=A0 20:22, Kurt Jaeger <pi@freebsd.org> a =C3= =A9crit : > > Hi! > > > What is the trick to solve this when this error message comes up ? > > Oh my, what a mess: > > https://unix.stackexchange.com/questions/498652/does-x-window-have-a-maxi= mum-number-limit-on-clients > > says: Yes, there's a limit, and it's a Xorg startup option. > > The limit is a compile time limit in > > x11-servers/xorg-server/work/xorg-server-1.18.4/include/misc.h > > #define MAXCLIENTS 512 > #define LIMITCLIENTS 256 /* Must be a power of 2 and <=3D MAXCLIENT= S */ > > Changing MAXCLIENTS and LIMITCLIENTS to some other value like 2048 > seems to be possible, but needs an Xorg restart. > > TODO: test it, submit PR to increase values. You can use the -maxclients option to launch X (see man Xserver) The man page is a little bit misleading (it sounds as if 512 is the max allowed), I used a value of 1024 in the past without issue (apart from a warning in Xorg.log). > -- > pi@FreeBSD.org +49 171 3101372 Now what ? > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMODbkkH1gsi1KRm4GA5KHUFSJQHowRKRJRsoxq2ERFTNj%2BiAw>