From: Panagiotis Issaris <takis.issaris@uhasselt.be>
To: git@vger.kernel.org
Subject: Problem setting up public packed repository
Date: Fri, 6 Oct 2006 23:49:31 +0200 [thread overview]
Message-ID: <20061006214931.GA18555@poseidon.issaris.org> (raw)
Hi
I'm having trouble setting up a public GIT repository. After using git-push
everything works fine, but the repository is _big_ (261MB). But, I can clone it
without any problem. If I "git-pack -a -d" and "git-prune-packed" it, the
repository is nicely shrinked to 14MB _but_ I can't clone it anymore. It starts
alright and seems to look for the pack, but it just hangs at that point...
To illustrate this, I have made a "cp -lr" copy of that public tree [1], one as it
was after git-push (well in fact, it it a packed/prune-packed one, unpacked
again) and another which is packed/prune-packed (the 14MiB one).
Trying to clone it shows this (both with git-clone and cg-clone):
takis@poseidon:/tmp$ cg-clone http://lumumba.uhasselt.be/takis/git/ffmpeg-h264.git
defaulting to local storage area
Fetching head...
Fetching objects...
progress: 38 objects, 159434 bytes
cg-clone: interrupted
takis@poseidon:/tmp$ cg-clone http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git
defaulting to local storage area
Fetching head...
Fetching objects...
Getting alternates list for http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git/
Getting pack list for http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git/
progress: 0 objects, 0 bytes
cg-clone: interrupted
With the packed/prune-packed repository it just hangs with the "progress: 0
objects, 0 bytes" message. So, I decided to have look what might be going on, if
any data was actually getting in and that I was maybe just being to impatient:
takis@poseidon:/tmp/a$ ps x|grep git
18386 pts/9 S+ 0:00 /bin/sh /home/takis/bin/git-clone http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git
18400 pts/9 S+ 0:00 git-http-fetch -v -a -w heads/master heads/master http://lumumba.uhasselt.be/takis/git/ffmpeg-h264-test.git/
18416 pts/10 S+ 0:00 grep git
takis@poseidon:/tmp/a$ strace -f -p 18400
Process 18400 attached - interrupt to quit
select(0, [], [], [], {0, 48000}) = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0) = 0
gettimeofday({1160169868, 454932}, NULL) = 0
gettimeofday({1160169868, 454989}, NULL) = 0
select(0, [], [], [], {0, 50000}) = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0) = 0
gettimeofday({1160169868, 506226}, NULL) = 0
gettimeofday({1160169868, 506277}, NULL) = 0
select(0, [], [], [], {0, 50000}) = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0) = 0
gettimeofday({1160169868, 558245}, NULL) = 0
gettimeofday({1160169868, 558296}, NULL) = 0
select(0, [], [], [], {0, 50000}) = 0 (Timeout)
poll([{fd=4, events=POLLIN}], 1, 0) = 0
gettimeofday({1160169868, 610227}, NULL) = 0
gettimeofday({1160169868, 610277}, NULL) = 0
...
And this goes on and on and on... and there seems to be no data getting in.
(Ofcourse at first I had just done a "du -h" of the clone target dir, but that
didn't grow. To make sure git wasn't using a hidden dir somewhere or keeping all
the pulled-in-data in-memory or something, I decided to look with strace).
What am I doing wrong? Any hints?
I am using the current git-GIT.
Thanks in advance for any replies! :)
With friendly regards,
Takis
[1] I know about the "-l" and "-s" flags, but I wanted to be 100% sure that it
were just copies, and no references would be pointing from here to there...
reply other threads:[~2006-10-06 21:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20061006214931.GA18555@poseidon.issaris.org \
--to=takis.issaris@uhasselt.be \
--cc=git@vger.kernel.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).