Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 16:53:58 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgrading a live server with rdist
Message-ID:  <20030603164732.D77677-100000@gwdu60.gwdg.de>
In-Reply-To: <3EDCB272.1080506@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Jun 2003, Chuck Swiger wrote:

> Konrad Heuer wrote:
> [ ... ]
> > As far as I see there is little chance to do this without carefully
> > restarting all processes, e.g. by shutting down into single user mode and
> > returning to multi user mode.
>
> It is advisable to switch into single-user mode when updating the system files,
> agreed.
>
> > If you replace program files and shared libraries used by currently
> > running processes, this will cause the corresponding processes to be
> > aborted abnormally in case of page fault requiring a page-in from the
> > program files or shared libraries.
>
> Generally not; the system doesn't delete files that are in use even if you
> overwrite those files: it hangs on to the inode and won't free the space until
> nobody needs that file.

Yes, that's true in general, but if you replace program files and/or
libraries needed by processes invoked before this processes WILL FAIL in
case of a page-in.  Try if you don't believe.

Regards

Konrad Heuer (kheuer2@gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany




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