From owner-freebsd-questions Mon Oct 28 14:41:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA08719 for questions-outgoing; Mon, 28 Oct 1996 14:41:44 -0800 (PST) Received: from nora.pcug.co.uk (Nora.PCUG.CO.UK [192.68.174.71]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA08710; Mon, 28 Oct 1996 14:41:39 -0800 (PST) Received: from imdb.demon.co.uk by nora.pcug.co.uk id aa24042; 28 Oct 96 22:41 GMT Message-Id: <199610282240.WAA11017> Subject: Re: server death when swap space is all gone. To: dyson@freebsd.org Date: Mon, 28 Oct 1996 22:40:47 +0000 (GMT) Cc: freebsd-questions@freebsd.org In-Reply-To: <199610282221.RAA00804@dyson.iquest.net> from "John S. Dyson" at Oct 28, 96 05:21:25 pm From: Rob Hartill Organization: Internet Movie Database Reply-To: robh@imdb.com X-pgp-public-key: http://us.imdb.com/pgp.html X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John S. Dyson wrote: > >> >> I know linux is crap, but the simple fact is my 96Mb FreeBSD machine >> with 77Mb of swap, doing nothing but "diff" on two files falls over >> with "diff: memory exhausted", while a 48mb linux machine with ? swap >> can produce the 700k diff file. >> >Ahhh.... I thought that you had problems with swap space :-). Nahhh, >we just normally use an arbitrary memory limit of 64MB per proc, easily >upgraded to 128MB by a bash command like: > >ulimit -d 131000 Ah, now that did something. Now I run out of swap, but that's another story. I remember trying to filddle with "limit -h" under tcsh/csh without any luck in the past... so that's what bash's for. thanks.