git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Donnie Berkholz <spyderous@gentoo.org>
Cc: Yann Dirson <ydirson@altern.org>,
	Git Mailing List <git@vger.kernel.org>,
	Matthias Urlichs <smurf@smurf.noris.de>,
	Martin Langhoff <martin@catalyst.net.nz>,
	Johannes Schindelin <Johannes.Schindelin@gmx.de>
Subject: Re: irc usage..
Date: Sun, 21 May 2006 21:50:49 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0605212132570.3697@g5.osdl.org> (raw)
In-Reply-To: <44713BE4.9040505@gentoo.org>



On Sun, 21 May 2006, Donnie Berkholz wrote:
> 
> Fortunately the storms haven't been that bad down in Corvallis. cvsps
> also worked fine for me, but git-cvsimport broke in the middle.

Hmm. It's actually possible that it did that for me too - I had put the 
cvsimport in an xterm and forgotten about it, and just assumed that the 
power failure was what broke it. But maybe it had broken down before that 
happened - I just don't have any logs left ;)

> Here's the last bits:
> 
> [ snip snip ]
> Commit ID 7a36de9c4c9b93337ed789ae2341cad3d0991c6d
> Unknown: error  Cannot allocate memory
> Fetching profiles/package.mask   v 1.992
> cat: write error: Broken pipe

Hmm. I don't actually know perl, and my original "cvsimport" script was 
actually this funny C program that generated a shell script to do the 
import. That worked fine, and had no memory leaks, but it was a truly 
hacky thing of horrible beauty. Or rather, it _would_ have been that, if 
it had had any beauty to be horrible about. But at least I would have been 
able to debug it.

But the perl one I can't parse any more. That said, the whole "Unknown:" 
printout seems to come from the subroutine "_line()", which just reads a 
line from the cvs server.

Did you do a "top" at any time just before this all happened? It _sounds_ 
like it might actually be a memory leak on the CVS server side, and the 
problem may (or may not) be due to the optimization that keeps a single 
long-running CVS server instance for the whole process.

I wouldn't be in the least surprised if that ends up triggering a slow 
leak in CVS itself, and then CVS runs out of memory.

That would likely have been obvious in any "top" output just before the 
failure.

Smurf, Martin, Dscho.. Any ideas? My old script just ran RCS directly on 
the files, and had no issues like that. I'll happily admit that my old 
script generator thing was horrible, but it was a lot easier to debug than 
the smarter perl script that uses a CVS server connection..

		Linus

  reply	other threads:[~2006-05-22  4:51 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-20 17:26 irc usage Linus Torvalds
2006-05-20 17:50 ` Junio C Hamano
2006-05-20 18:52   ` Jakub Narebski
2006-05-20 20:39 ` Yann Dirson
2006-05-20 22:18   ` Donnie Berkholz
2006-05-20 22:45     ` Linus Torvalds
2006-05-20 23:12       ` Donnie Berkholz
2006-05-21 19:24         ` Linus Torvalds
2006-05-22  3:59           ` Linus Torvalds
2006-05-22  4:19             ` Donnie Berkholz
2006-05-22  4:50               ` Linus Torvalds [this message]
2006-05-22  5:04                 ` Martin Langhoff
2006-05-22  5:21                 ` Donnie Berkholz
2006-05-22  7:42                 ` Martin Langhoff
2006-05-22  9:13                   ` Linus Torvalds
2006-05-22 12:54                     ` Martin Langhoff
2006-05-22 17:27                       ` Linus Torvalds
2006-05-22 17:51                         ` Jakub Narebski
2006-05-22 18:03                           ` Linus Torvalds
2006-05-22 19:03                             ` Matthias Lederhofer
2006-05-22 19:09                               ` Junio C Hamano
2006-05-23 20:19                             ` Jakub Narebski
2006-05-22 19:46                         ` Martin Langhoff
2006-05-22 19:09                       ` Donnie Berkholz
2006-05-22 19:38                         ` Linus Torvalds
2006-05-22 19:49                           ` Donnie Berkholz
2006-05-22 20:20                             ` Linus Torvalds
2006-05-22 21:48                               ` Donnie Berkholz
2006-05-29 21:54                                 ` Donnie Berkholz
2006-05-29 22:21                                   ` Martin Langhoff
2006-05-29 22:32                                     ` Donnie Berkholz
2006-05-30  0:19                                       ` Martin Langhoff
2006-05-30  5:31                                         ` Donnie Berkholz
2006-05-30  6:01                                           ` Martin Langhoff
2006-05-30  0:43                                       ` Linus Torvalds
2006-05-30 22:31                                       ` Martin Langhoff
2006-05-30 23:07                                         ` Linus Torvalds
2006-05-31  1:04                                           ` Martin Langhoff
2006-05-31  2:49                                             ` Donnie Berkholz
2006-05-31  6:05                                               ` Martin Langhoff
2006-05-31 13:54                                                 ` Alec Warner
2006-05-31 22:03                                                   ` Martin Langhoff
2006-06-01  1:42                                                     ` Alec Warner
2006-06-01  7:47                                                       ` Martin Langhoff
2006-06-05  0:33                                                         ` Alec Warner
2006-06-05  2:06                                                           ` Martin Langhoff
2006-06-05  2:36                                                             ` Alec Warner
2006-06-05  3:49                                                               ` Martin Langhoff
     [not found]                                                               ` <20060605120743.566fb85f.seanlkml@sympatico.ca>
2006-06-05 16:07                                                                 ` Sean
2006-05-22 19:41                         ` Martin Langhoff
2006-05-22 20:11                           ` Linus Torvalds
2006-05-22 20:33                             ` Linus Torvalds
2006-05-22 21:41                             ` Matthias Urlichs
2006-05-22 22:18                               ` Linus Torvalds
2006-05-22 23:23                                 ` Martin Langhoff
2006-05-22 23:29                                   ` Martin Langhoff
2006-05-22 23:33                                   ` Linus Torvalds
2006-05-22 22:39                               ` Junio C Hamano
2006-05-22 23:15                                 ` Martin Langhoff
2006-05-23  6:52                                   ` Jeff King
2006-05-23  6:58                                     ` Jeff King
2006-05-23  7:01                                       ` [PATCH 1/2] cvsimport: use git-update-index --index-info Jeff King
2006-05-23  7:00                                     ` [PATCH 2/2] cvsimport: cleanup commit function Jeff King
     [not found]                                       ` <7v4pzh6wtr.fsf@assigned-by-dhcp.cox.net>
2006-05-23  7:13                                         ` Jeff King
2006-05-23  7:27                                       ` [PATCH 1/2] cvsimport: use git-update-index --index-info Jeff King
2006-05-23  8:13                                       ` [PATCH 2/2] cvsimport: cleanup commit function Martin Langhoff
2006-05-23  8:24                                         ` Junio C Hamano
2006-05-23 20:32                                           ` Martin Langhoff
2006-05-23 16:50                                         ` Linus Torvalds
2006-05-23 19:36                                           ` Linus Torvalds
2006-05-23 20:25                                             ` Junio C Hamano
2006-05-23 20:29                                             ` Martin Langhoff
2006-05-23 21:10                                               ` Jeff King
2006-05-23 21:13                                                 ` Martin Langhoff
2006-05-23 17:47                                       ` Morten Welinder
2006-05-23 20:59                                         ` Jeff King
2006-05-23 23:41                                           ` Junio C Hamano
2006-05-24  9:52                                             ` Jeff King
2006-05-22 20:16                         ` irc usage Donnie Berkholz
2006-05-21  9:46       ` Thomas Glanzmann
2006-05-21  1:14     ` Donnie Berkholz
2006-05-22  1:45   ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0605212132570.3697@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=martin@catalyst.net.nz \
    --cc=smurf@smurf.noris.de \
    --cc=spyderous@gentoo.org \
    --cc=ydirson@altern.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).