Skip to content
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

Migration process gets stuck for a long time #49

Open
kwisatz opened this issue Feb 5, 2018 · 1 comment
Open

Migration process gets stuck for a long time #49

kwisatz opened this issue Feb 5, 2018 · 1 comment

Comments

@kwisatz
Copy link

kwisatz commented Feb 5, 2018

I successfully converted a single repository, but since then, any other repository I try to convert exhibits the same behavior. It proceeds to the following step, then just hangs there for a very long time, even on small repositories with very few commits:

[main] INFO git.lfs.migrate.Main - LFS server: OK
[main] INFO git.lfs.migrate.Main - Converting object without dependencies in 2 threads...
[pool-2-thread-2] INFO git.lfs.migrate.Main -   processed: 1/9
[pool-2-thread-1] INFO git.lfs.migrate.Main -   processed: 436/618
[pool-2-thread-2] INFO git.lfs.migrate.Main -   processed: 541/618
[main] INFO git.lfs.migrate.Main -   processed: 618/618
[main] INFO git.lfs.migrate.Main - Converting object with dependencies in single thread...
[main] INFO git.lfs.migrate.Main -   processed: 1/121
[main] INFO git.lfs.migrate.Main -   processed: 121/121

straceing it doesn't reveal very much:

) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
futex(0x7f13b0aa29d0, FUTEX_WAIT, 1957, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
futex(0x7f13b0aa29d0, FUTEX_WAIT, 1957, NULL [main] INFO git.lfs.migrate.Main - Recreating refs...
[main] INFO git.lfs.migrate.Main -   convert ref: c62a3b3fd0c6424f18ee364e114b3e0fcf21c6d6 -> 4e96476725c1a43f7e25a8382544ed4a42dc11ba (HEAD)
[main] INFO git.lfs.migrate.Main -   convert ref: c62a3b3fd0c6424f18ee364e114b3e0fcf21c6d6 -> 4e96476725c1a43f7e25a8382544ed4a42dc11ba (refs/heads/master)
[main] INFO git.lfs.migrate.Main - Convert time: 204587
) = 0
exit_group(0)                           = ?
+++ exited with 0 +++

That might have something to do with java binaries? It doesn't use up any CPU, it's not waiting on IO, it just sleeps.

@kwisatz
Copy link
Author

kwisatz commented Feb 5, 2018

This might actually be related to #35, but I haven't seen any network activity either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant