From owner-freebsd-bugs@FreeBSD.ORG Tue May 18 18:02:51 2010 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D64F9106566B; Tue, 18 May 2010 18:02:51 +0000 (UTC) (envelope-from scode@scode.org) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4FE0A8FC08; Tue, 18 May 2010 18:02:50 +0000 (UTC) Received: by wwb22 with SMTP id 22so17497wwb.13 for ; Tue, 18 May 2010 11:02:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.166.68 with SMTP id f46mr3945649wel.6.1274203871273; Tue, 18 May 2010 10:31:11 -0700 (PDT) Sender: scode@scode.org Received: by 10.216.50.11 with HTTP; Tue, 18 May 2010 10:31:11 -0700 (PDT) X-Originating-IP: [213.114.159.69] In-Reply-To: <201005171610.o4HGA51L079188@freefall.freebsd.org> References: <201005171610.o4HGA51L079188@freefall.freebsd.org> Date: Tue, 18 May 2010 19:31:11 +0200 X-Google-Sender-Auth: PXtnKPEaZtZykocVzTniescmVSE Message-ID: From: Peter Schuller To: Antony Mawer , jhb@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: freebsd-bugs@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/120749: [request] Suggest upping the default kern.ps_arg_cache_limit X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 18:02:51 -0000 > There was some recent comments that suggested this was beneficial with > various Tomcat/Java applications, which otherwise experienced their > command lines being truncated in the rc.d script for tomcat. What is > the trade of increasing this - increased memory usage? Tomcat/Java stuff is a great example of how many real-life command lines are much longer nowadays. As I originally stated, this is why I think a (to me, seemingly) more "modern" default is appropriate. Yes, it can be changed. But why should one have to, unless there is a clear disadvantage? (I do, and it doesn't affect me, but I am thinking of other people and new users.) I would be surprised if "ps auxww | grep X" not yielding output has not confused quite a lot of people, not neccessarly even aware that there is *a* limit, let alone how to change it. And as I said originally in the PR submission, I cannot speak to whether there are technical reasons other than memory use why this cannot be increased. But if the *only* issue is memory use, that seems like a complete non-issue to me given that even minimalistic simple C programs will typically depend on a stack size significantly larger than this. Again, even if the memory is in fact wired, it seems like a completely acceptable trade-off to me on any reasonable, modern, general-purpose system. I don't have any personal stake in this since I adjust the sysctl appropriately on all installations I manage, but I think this is an almost text book example of a seemingly small "detail" that may detract from the overall FreeBSD experience for new users in particular (and probably not-so-new users too). -- / Peter Schuller