Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 1996 22:40:47 +0000 (GMT)
From:      Rob Hartill <robh@imdb.com>
To:        dyson@freebsd.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: server death when swap space is all gone.
Message-ID:  <199610282240.WAA11017>
In-Reply-To: <199610282221.RAA00804@dyson.iquest.net> from "John S. Dyson" at Oct 28, 96 05:21:25 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610282240.WAA11017>>