🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #1088

Re: ulimit -- You don't need sources! (kind of long)

#1088
From: Steve Losen
Date: Fri, 05 May 1989 13:42
15 lines
1299 bytes
In article <562@aurora.AthabascaU.CA> lyndon@nexus.ca writes:
%
%One problem with this is that cron jobs don't go through login. Yes I can
%add an explicit ulimit command to the command lines in cron, just as I
%can add wrappers around login. The fact that I have to do this on such
%a global scale argues that perhaps this limit shouldn't be there in the
%first place ...

Ok -- so the obvious solution is to write a new /etc/init that
sets the ulimit and then execs the real init, "/etc/init.real".
Then every process on the system inherits the big ulimit.
(I haven't had the guts to try this, however)
-- 
Steve Losen     scl@virginia.edu
University of Virginia Academic Computing Center
Technical Details
Message-ID: <2408@virginia.acc.virginia.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!uvaarpa!virginia!scl
References: <836@twwells.uucp> <4428@ihuxz.ATT.COM> <545@aurora.AthabascaU.CA> <8305@chinet.chi.il.us> <5627@xyzzy.UUCP> <562@aurora.AthabascaU.CA>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!uvaarpa!virginia!scl
From: scl@virginia.acc.virginia.edu (Steve Losen)
Newsgroups: comp.bugs.sys5
Subject: Re: ulimit -- You don't need sources! (kind of long)
Keywords: ulimit
Message-ID: <2408@virginia.acc.virginia.edu>
Date: 5 May 89 13:42:07 GMT
References: <836@twwells.uucp> <4428@ihuxz.ATT.COM> <545@aurora.AthabascaU.CA> <8305@chinet.chi.il.us> <5627@xyzzy.UUCP> <562@aurora.AthabascaU.CA>
Reply-To: scl@virginia.acc.Virginia.EDU (Steve Losen)
Organization: University of Va., Charlottesville, VA
Lines: 15