From owner-freebsd-current@freebsd.org Wed Jan 20 12:16:31 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2858BA8A498 for ; Wed, 20 Jan 2016 12:16:31 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3E322158F; Wed, 20 Jan 2016 12:16:29 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA01437; Wed, 20 Jan 2016 14:16:27 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1aLrgZ-0005xj-Cw; Wed, 20 Jan 2016 14:16:27 +0200 Subject: Re: environment corrupt; missing value for QT_IM_MO To: Ryan Stone , Andriy Gapon References: <5514E5B0.1030509@rawbw.com> <568B8291.50700@FreeBSD.org> <568B84DC.7080705@FreeBSD.org> Cc: FreeBSD Current From: Andriy Gapon Message-ID: <569F7A4A.7000901@FreeBSD.org> Date: Wed, 20 Jan 2016 14:15:06 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2016 12:16:31 -0000 On 05/01/2016 21:36, Ryan Stone wrote: > On Tue, Jan 5, 2016 at 3:54 AM, Andriy Gapon wrote: > >> Is there a limit on the environment's size? >> > > If memory serves, this is bounded by ARG_MAX in sys/syslimits.h. The value > is not tunable as far as I know, so if you want to experiment with changing > it you will have to change syslimits.h and recompile your kernel. The total arguments and environment size seems to be much smaller than ARG_MAX of 256K. -- Andriy Gapon