-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git fat pull hangs on linux #46
Comments
Can you give instructions to reproduce? Duane Murphy [email protected] writes:
|
Sure. I have a large repository. git rev-list returns 363110 objects. I'm not sure if the size is the limitation or not. The same code does not hang on Mac OS, git 1.8.5.2, python 2.7.5. |
Does ./test.sh run for you? What protocol are you using? Is the remote Duane Murphy [email protected] writes:
|
Nope. Hangs in exactly the same spot. I'm using git fat pull, the test hangs at git fat push.
Has nothing to do with the remote host. The hang is in referenced_objects, before the host is contacted. |
A ps helps to identify more state:
Why would close not be enough? Hmm... |
I upgraded python to 2.7.8. This seems to have fixed the problem. I'd sure like to know how to work around this problem in python 2.6. I guess, I'll close this issue? |
The problem is http://bugs.python.org/issue12786 (fixed in 2.7 and Duane Murphy [email protected] writes:
|
Thank you for finding this problem. You're google fu is better than mine. I look forward to seeing the fix. I did the obvious, addition of close_fds=True to all of the subprocesses involved in the threads. That fixes the problem on Linux, but as the bug indicates there is a problem on Windows. Occasionally, Windows will hang during this process now [sigh]. It seems like the threading is not really providing any benefit as Python is inherently single threaded. I'm considering a rewrite of that section using generators. |
issue12786 is really a catastrophy for portability. I'm surprised there |
I'm having what appears to be a similar issue.. git fat pull is hanging on OSX 10.10.5 with system python version 2.7.10 However it works fine if I install python using brew which right now is also version 2.7.10 |
Support partial pulls and respect GIT_SSH
I'm using git-fat on linux with git version 1.8.5.5 and python version 2.6.6.
git fat pull hangs.
My preliminary debugging indicates that filter_gitfat_candidates never completes.
All three data processing threads start (cut_sha1hash, filter_gitfat_candidates, and metadata processing). cut_sha1hash ends, but filter_gitfat_candidates never completes, hanging the program.
I am using the latest git-fat code (is git-fat versioned yet?)
I wanted to report this as soon as possible. I will continue debugging.
Hints to a possible problem would be great.
The text was updated successfully, but these errors were encountered: