Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2001 15:28:32 -0400
From:      Steve Shorter <steve@nomad.lets.net>
To:        Fernando Schapachnik <fschapachnik@vianetworks.com.ar>
Cc:        edwin chan <slack@suntop-cn.com>, freebsd-security@FreeBSD.ORG
Subject:   Re: when mail full  /tmp partition, system cracked
Message-ID:  <20010906152832.A44174@nomad.lets.net>
In-Reply-To: <20010906104547.C56598@ns1.via-net-works.net.ar>; from fschapachnik@vianetworks.com.ar on Thu, Sep 06, 2001 at 10:45:47AM -0300
References:  <015701c136d5$91352e00$9201a8c0@home.net> <20010906104547.C56598@ns1.via-net-works.net.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 06, 2001 at 10:45:47AM -0300, Fernando Schapachnik wrote:
> En un mensaje anterior, edwin chan escribió:
> > we found the messages in log:
> > 
> > Sep  5 21:00:33 www /kernel: swap_pager: out of swap space
> > Sep  5 21:00:33 www /kernel: swap_pager_getswapspace: failed
> 
> What might have happened is that a the great amount of email forked a
> great amount of processes which in turn ate all available memory and
> swap. Your machine ran out of swap. Either increase it (look at the
> FAQ & handbook for instructions) or add more memory. Or impose
> resource limits (can do it via login.conf and/or sendmail.cf
> -MaxDaemonChildren, RefuseLA, etc.-).

	What is supposed to happen is the largest process is supposed
to be killed if virtual memory is exhausted. There is a bug in 
4.3-RELEASE that prevents this from happening. The kernel hangs 
before any processes get killed.

	It has fixed in STABLE.

	-steve

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




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