From owner-freebsd-hackers Wed May 6 17:53:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA01396 for freebsd-hackers-outgoing; Wed, 6 May 1998 17:53:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA01338 for ; Wed, 6 May 1998 17:52:44 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id AAA26439; Thu, 7 May 1998 00:52:42 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id CAA09235; Thu, 7 May 1998 02:52:42 +0200 (MET DST) Message-ID: <19980507025242.48058@follo.net> Date: Thu, 7 May 1998 02:52:42 +0200 From: Eivind Eklund To: David Kelly Cc: hackers@FreeBSD.ORG Subject: Re: cvs woes References: <199805070029.TAA19128@nospam.hiwaay.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199805070029.TAA19128@nospam.hiwaay.net>; from David Kelly on Wed, May 06, 1998 at 07:29:49PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 06, 1998 at 07:29:49PM -0500, David Kelly wrote: > Eivind Eklund writes: > > The above is a result of CVS being 'somewhat less than graceful' about > > not having enough memory. When adding directories, it should really > > update CVS/Entries in a two-phase commit before actually extracting > > the directory. This would let it fail gracefully (ie, a new 'cvs > > update' would bring it to the correct state). > > How much memory does it take? I only have 64M and another 128M of swap. That should be enough physical memory - the question is how your limits are set (ie, login.conf and ulimit are your friend.) > > Now, since it doesn't, you're more or less screwed. What you can do: > > > > Blow the unknown directories away and do a 'cvs update' (simplest). > > This should get you up to date correctly, unless you've got patches in > > the unknown directories. > > That's the strangest thing. "cvs update" was not restoring the deleted > directories. That's because they're missing from the metadata for CVS in their parent directory, thus CVS think they're directories you have created that just happen to be in the way of ones it would like to create. > As I mentioned earlier, not sure how it happened other than I've had > several system freezes when "cvs -q update" was running, Netscape 3.01 > was open, and pppd had a connection. Four or five times, those three > things were required to freeze. Strange. Sound like a problem with the kernel ppp driver that is triggered by /usr/sbin/pppd running out of memory. > So I'm tempting fate again. Haven't had a freeze since replacing a very > old /etc/login.conf. Netscape, pppd, and cvs are running at this very > moment. The freeze never occurs until cvs is very near the end of its > tasks. I believe cvs accumulate memory all through its task (ie, it doesn't free as much as it should), but I might be wrong. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message