From owner-freebsd-x11@freebsd.org Mon Feb 17 05:09:20 2020 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4004E24D9F1 for ; Mon, 17 Feb 2020 05:09:20 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LX8b6JSqz40R0; Mon, 17 Feb 2020 05:09:19 +0000 (UTC) (envelope-from chardon.frederic@gmail.com) Received: by mail-il1-x12f.google.com with SMTP id s18so13159930iln.0; Sun, 16 Feb 2020 21:09:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mkCfgI14OZvXLwROHI3aThRux7d0wAbTe5Gj1WzS0fg=; b=s4Us8xou/oGMa7Zmg9j4YYGB1ZolOHDpQkhqGtVAekIauxJT/Mf5jwSVIFOdliq4Fu dzHOFm0Dnp6pk6ygnfMbdV4P/MeNj3GH+ghVb5jZnRHHtoDbWM6y2Keg0vorF8nMEjKz fSu/U+h/yVIf9Brv5MaA4yHIIjZ1WhdgylriaFPnXceHNDPiZzFAou0F3qg2DkCLHgcK xH/SuLOrDKpUYWJWJASETHXgzk6X28Z1YQ096s4cnGMOam4hoBS5PxOOuYn+XqjSm1gC IyUPyVrlgtdDE5B9JuO2keep4VfvfmETqu71a4CxIyOMrLGgwv6+ijeOmGtsQpoC/C7O oD7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mkCfgI14OZvXLwROHI3aThRux7d0wAbTe5Gj1WzS0fg=; b=R9uwGoVA7hmqJoE8oCp8wCAFisLn9n+eRVtiPslsgfcjvidj+sqSRBVybYrgs2A45d h1tk2myOzoZ4HQZanrIhqTMA/Pw5rRjgc2idVMUiNx9ArdMTy8wN8gp57XNWIyj6J/Az ipAIVaKlu9O+BJdTvK+fCb6Zvi+ebE4XgKqPnMYIk03jESsulI//9qDOl76uTTNNkbuW MSu8t4ZtYZVLcH4VOFntYfwIayEX6QIuJr0yDpHWYFuZYLbuwOPKdq4wGHe0NYksm+08 Wg+tGuCHxEvD16B4y5rEizQHC32lo2lvXzwHItW5ecV/ML42VuaT1ToQDkv534x10Lrk /R6w== X-Gm-Message-State: APjAAAXV9xajiHnS4rKFK/Iu2anj1QMgwk0ysnD8uVVGBhF/R/KPtR+Z PA3xexboisLJ+uNdeUI9N1RDnCxz3oTOk4dC8eoWEQ== X-Google-Smtp-Source: APXvYqy4vaaAENvPd/tyeFyGmCXjXJ1CxlbxrbV9vyKGftcXZv380fDQ2OmTNNpOyJKRwiSCWXh6O4NtEQVi85j6jC8= X-Received: by 2002:a92:9f1b:: with SMTP id u27mr13409281ili.173.1581916158013; Sun, 16 Feb 2020 21:09:18 -0800 (PST) MIME-Version: 1.0 References: <20200216183927.GX1860@fc.opsec.eu> <20200216192228.GA56942@fc.opsec.eu> In-Reply-To: <20200216192228.GA56942@fc.opsec.eu> From: Frederic Chardon Date: Mon, 17 Feb 2020 06:09:06 +0100 Message-ID: Subject: Re: X11: Maximum number of clients reached ? To: Kurt Jaeger Cc: freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48LX8b6JSqz40R0 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2020 05:09:20 -0000 Le dim. 16 f=C3=A9vr. 2020 =C3=A0 20:22, Kurt Jaeger 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"