Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2003 02:05:02 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Scott Long <scottl@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: swapon vs savecore dilemma
Message-ID:  <20030902070502.GQ38141@over-yonder.net>
In-Reply-To: <3F543FA0.7020801@freebsd.org>
References:  <41076.1062480964@critter.freebsd.dk> <20030901233731.U6074@znfgre.qbhto.arg> <3F543FA0.7020801@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 02, 2003 at 12:58:40AM -0600 I heard the voice of
Scott Long, and lo! it spake thus:
> 
> I still think that the real problem is in running swapon before
> savecore.  In 99% of the cases out there, RAM scales with storage,
> so I really can't imaging fsck needing to swap, and certainly not
> in it's 'preen-before-background' mode.

Note also that (last I heard, anyway) this is often "worked around", or
non-issued, by us allocating swap from the "bottom" of the partition up,
and coredumps happening from the "top" down.  So, if you've got 512 megs
of swap, and 128 megs of ram, you'd need to use 384 megs of swap (+/-
housekeeping) before you corrupted your core.


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"



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