From owner-freebsd-emulation Mon Feb 7 21:27:41 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from pinhead.parag.codegen.com (207-44-235-154.CodeGen.COM [207.44.235.154]) by builder.freebsd.org (Postfix) with ESMTP id B47E53E20 for ; Mon, 7 Feb 2000 21:27:39 -0800 (PST) Received: from pinhead.parag.codegen.com (parag@localhost.parag.codegen.com [127.0.0.1]) by pinhead.parag.codegen.com (8.9.3/8.9.3) with ESMTP id VAA04167; Mon, 7 Feb 2000 21:27:06 -0800 (PST) (envelope-from parag@pinhead.parag.codegen.com) To: Rajeev Jayavant Cc: freebsd-emulation@freebsd.org, nicklin@softframe.com, tjm@codegen.com Subject: Re: Framemaker mystery - a solution In-Reply-To: Message from Rajeev Jayavant of "Mon, 07 Feb 2000 21:40:09 MST." <389F9E29.D17C85DF@uswest.net> X-Image-URL: http://www.codegen.com/images/CG-logo-only.gif X-URL: http://www.codegen.com X-Face: =O'Kj74icvU|oS*<7gS/8'\Pbpm}okVj*@UC!IgkmZQAO!W[|iBiMs*|)n*`X ]pW%m>Oz_mK^Gdazsr.Z0/JsFS1uF8gBVIoChGwOy{EK=<6g?aHE`[\S]C]T0Wm Date: Mon, 07 Feb 2000 21:27:06 -0800 Message-ID: <4163.949987626@pinhead.parag.codegen.com> From: Parag Patel Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 07 Feb 2000 21:40:09 MST, Rajeev Jayavant wrote: > >I can reliably make Framemaker fail or run by toggling between >openfiles=unlimited and openfiles=64. Similar results can be had by >using "limit descriptors" under [t]csh. I didn't experiment enough to >find >the magic limit for openfiles that triggers the failure. Wow! Nice work! I also don't know why this works, but I did narrow down the limit to 1024. I used the "ulimit -n" shell builtin to set the descriptor limit before launching maker. 1025 and greater crashes but 1024 and lower works fine. Go figure. I just edited the Frame .wrapper script (in the bin directory - all names are symlinks to this script) to set "ulimit -n 1024" at the top and Frame is working nicely under both 4.0-CURRENT and 3.4-STABLE. I didn't need to edit /etc/login.conf at all. Thanks! -- Parag Patel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message