From owner-freebsd-emulation Tue Nov 3 16:32:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14301 for freebsd-emulation-outgoing; Tue, 3 Nov 1998 16:32:13 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from couatl.uchicago.edu (couatl.uchicago.edu [128.135.21.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14176 for ; Tue, 3 Nov 1998 16:32:03 -0800 (PST) (envelope-from sfarrell@couatl.uchicago.edu) Received: (from sfarrell@localhost) by couatl.uchicago.edu (8.9.1/8.9.0) id SAA01986; Tue, 3 Nov 1998 18:32:11 -0600 (CST) To: freebsd emulation list Subject: Sybase/FreeBSD update From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 03 Nov 1998 18:32:11 -0600 Message-ID: <87yapsz4ac.fsf@couatl.uchicago.edu> Lines: 31 X-Mailer: Gnus v5.6.42/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a follow-up to my last post on the subject of problems with sybase/linux running under emulation in FreeBSD 3.0R. Here's what I've found out: The problem is triggered when maxusers is set from default 32 to 64 (sorry, no other data points). I've narrowed down the various variables that maxusers affect, and maxprocsperuid appears to be the culprit. Interestingly, even if the kernel is built with maxusers 64 (the broken value), then using sysctl to change maxprocsperuid will fix sybase's problem (I think you just need to frob it a bit--it doesn't matter what you set it to (521 is a known working value)). It might also be interesting to note that when sysctl is used to change maxprocsperuid, the value of that variable doesn't change in the kernel (at least as it's referenced in kernel_resource.c). I should point out that it appears to be a general kernel problem and not an emulation problem, as there are no references to maxusers and friends in the linux emulator. Please feel free to contact me for more information, but I don't expect to have a 3.0 box to play with again in the near future (weeks or couple of months). (Yes, I'm punting and using linux for this application... No, I'm not happy about it, but there are many reasons, not least of which is the license. I have put in my word to sybase to get a native port). -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message