From owner-freebsd-hackers Mon Feb 6 19:37:15 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA03950 for hackers-outgoing; Mon, 6 Feb 1995 19:37:15 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA03944 for ; Mon, 6 Feb 1995 19:37:09 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id TAA27906; Mon, 6 Feb 1995 19:37:01 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id TAA00751; Mon, 6 Feb 1995 19:37:01 -0800 Message-Id: <199502070337.TAA00751@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: Ed Hudson cc: freebsd-hackers@FreeBSD.org Subject: Re: kernel limits In-reply-to: Your message of "Sun, 05 Feb 95 10:01:13 GMT." <199502051001.KAA01142@p5.spnet.com> From: David Greenman Reply-To: davidg@Root.COM Date: Mon, 06 Feb 1995 19:37:00 -0800 Sender: hackers-owner@FreeBSD.org Precedence: bulk > however, let me ask again as to why the value of 40 for > CHILD_MAX/MAXUPRC, as an initial setting of a user's maxproc, > is still relevent in a modern workstation? Hmmm...I just looked at SunOS 4.1.3 and the limit there is 25 processes. ...but I agree that 40 is too small. Perhaps 64 is more reasonable. >>> 1) bump /usr/src/sys/sys/param.h:MAXSYMLNK from 8 to >>> something reasonable, such as 32. >> >> This limit should probably be changeable using sysctl. > > it would be great if this were indeed changeable via sysctl. > and would certainly satisfy my needs. but this is overkill > for a number that is otherwise rarely relevent. > > it looks to me like this is only used as a constant in > an iteration count check. i don't quite feel competent > enough with the kernel sources yet to volunteer to implement > this change. This change has been committed to CVS: revision 1.7 date: 1995/02/07 03:33:05; author: davidg; state: Exp; lines: +2 -2 Changed maximum number of symlinks in a path from 8 to 32. The exact value isn't important; it is only used to prevent symlink loops from looping forever. 32 is a quite reasonable default. Submitted by: Ed Hudson -DG