Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 1998 23:12:31 -0500 (EST)
From:      "John S. Dyson" <dyson@FreeBSD.ORG>
To:        berend@pobox.com (Berend de Boer)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: swap_pager: out of swap space, only power off did help
Message-ID:  <199805020412.XAA00781@dyson.iquest.net>
In-Reply-To: <01BD754F.A0AB9EF0.berend@pobox.com> from Berend de Boer at "May 1, 98 10:22:28 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Berend de Boer said:
> 
> 2. How can I prevent this?
> 
> 	The most important question of course. FreeBSD should not hang in such a 
> case, but be ale to continue somehow, maybe by killing the offender. It's 
> very easy to kill a FreeBSD machine in this respect. Just send it a 10MB 
> msg and oops, the machine goes down.
> 
I suggest setting the ulimit for the process so that it cannot allocate
"too much" memory.  In 2.2.X, it isn't likely to see major changes.

-- 
John                  | Never try to teach a pig to sing,
dyson@freebsd.org     | it just makes you look stupid,
jdyson@nc.com         | and it irritates the pig.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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