Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ncoast.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!cwruecmp!hal!ncoast!bsa From: bsa@ncoast.UUCP (Brandon Allbery) Newsgroups: net.unix-wizards Subject: System V vs. ulimit: if sys5 == ++sys3 then... Message-ID: <844@ncoast.UUCP> Date: Fri, 6-Sep-85 20:33:36 EDT Article-I.D.: ncoast.844 Posted: Fri Sep 6 20:33:36 1985 Date-Received: Thu, 12-Sep-85 08:42:50 EDT References: <1149@brl-tgr.ARPA> Reply-To: bsa@ncoast.UUCP (Brandon Allbery) Followup-To: net.unix-wizards Organization: North Coast Xenix, Cleveland, OH Lines: 37 Expires: Quoted from <1149@brl-tgr.ARPA> ["Another reason why a few sources should come with binary licenses"], by root%bostonu.csnet@csnet-relay.arpa (BostonU SysMgr)... +--------------- | | 1. The ULIMIT problem, modifying login.c is currently the | only effective way to raise ulimit above 2048 on SYSV. | +--------------- On the Plexus P/35 and P/60 which run System III (and as of last month new ones run System V), the ulimit is implemented and is changed as follows: /* ulimit.c */ #define GETTY "/etc/getty" main(argc, argv, envp) char **argv, **envp; { ulimit(2, 1000000L); /* I think it's 2; I'm on Xenix now, which implements a different ulimit() */ execve(GETTY, argv, envp); } In /etc/inittab the /etc/getty is replaced with /etc/ulimit: ...:/etc/ulimit tty8 b I could very well have this wrong if /etc/inittab workls differently (or getty works differently) on System V, but if not this will give you an effectively unlimited ulimit without source code. --bsa -- /****************************************************************************\ * Brandon S Allbery, 6504 Chestnut, Independence, OH 44131 +01 216 524 1416 * * (phone and address subject to change in ca. 1-2 months when I get an apt.) * * 74106,1032 CIS BALLBERY MCIMAIL TELEX 6501617070 ncoast!bsa@Case.CSNET * \****************************************************************************/