Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!uunet!pipex!uknet!nessie!demon!azrael.demon.co.uk!azrael.demon.co.uk!not-for-mail From: blade@azrael.demon.co.uk (Ji Kim) Newsgroups: comp.os.386bsd.questions,demon.ip.support.unix Subject: Re: tin says out of memory Date: 6 Aug 1993 05:45:02 -0000 Organization: 386BSD Hackers UnLimited. Lines: 27 Message-ID: <23sr4u$a9@azrael.demon.co.uk> References: <CAMv3L.4LA@kram.org> <CB8wzB.EFI@demon.co.uk> <23pfv1$gc@azrael.demon.co.uk> <CBAwso.8Gt@kram.org> In article <CBAwso.8Gt@kram.org> mark@kram.org (Mark Turner) writes: >In article <23pfv1$gc@azrael.demon.co.uk> blade@azrael.demon.co.uk (Ji Kim) writes: >> > >> or alternatively use a C proggie to set the limit using setrlimit,eg. > >This seemed to have no effect. :( > 1. This sets the limit for all child processes, so running this once won't do anything. What you could do is to put it at the begginning of any memory-intensive programs. Since bash already has `ulimit' you probably won't need this. 2. Note that you have to be root to set the limit to infinity. A better method would be to set it to the current hard limit (why is this neccessary!!??). Try `man setrlimit' and `man tcsh' (for limit). Ji. -- E-mail: blade@azrael.demon.co.uk (home) | azrael.demon.co.uk: blade@dcs.qmw.ac.uk (college) | 486DX-33 running 386BSD. | X,News,Email all running | smoothly. Info. on request.