From owner-freebsd-questions@FreeBSD.ORG Thu Nov 11 09:05:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31D0216A4CE for ; Thu, 11 Nov 2004 09:05:07 +0000 (GMT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B0243D41 for ; Thu, 11 Nov 2004 09:05:06 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp54-29.lns1.adl2.internode.on.net [150.101.54.29]) iAB9514Y079653 for ; Thu, 11 Nov 2004 19:35:02 +1030 (CST) From: Malcolm Kay Organization: at home To: freebsd-questions@freebsd.org Date: Thu, 11 Nov 2004 19:35:01 +1030 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200411111935.01396.malcolm.kay@internode.on.net> Subject: PID in linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2004 09:05:07 -0000 I am attempting to run a commercial CAD software suite compiled for Linux on a FreeBSD 4.10 OS. It runs as well or perhaps better than on a Linux box until the PID becomes large. The MAX_PID for FreeBSD is 99999 while Linux has a limit of 0x8000. Once the current PID gets high the interaction of software components in the suite fails. Is there anything I can do about this apart from changing to an actual Linux OS? Can I edit in /usr/include/sys/proc.h and recompile the system (kernel) for a lower MAX_PID? Will it work? Will it lead to other complications? Is this where the kernel compilation obtains its value? Can MAX_PID be changed via sysctl? Is there someway to reset the current PID without rebooting? While I find Linux preferable to MS systems I still find it much less attractive than FreeBSD with respect to file systems, documentation and supported applications. And I also need to interact many other FreeBSD machines on the LAN (and also a few Linux boxes). Any ideas would be appreciated. Malcolm