-
Notifications
You must be signed in to change notification settings - Fork 363
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
Create Troubleshooting page #1873
Conversation
jonashaag
commented
Aug 23, 2022
- Move "pitfalls" to "troubleshooting"
- Add docs on Micromamba sporadically hangs (QEMU + ARM) #1611
- I want to add more to that page soon (common issues we see in the bug tracker)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really excellent, thanks for writing it up!
Ah, I wanted to link only the last line in both my review comments below:
export G_SLICE=always-malloc | ||
mamba install ... | ||
|
||
See `#1611 <https://github.com/mamba-org/mamba/issues/1611>`_ for discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a horribly long thread. I scanned it to look for a summarizing comment we could link instead, but couldn't find anything. (Closest seems to me like #1611 (comment), but not particularly conclusive.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... I will highlight this comment top of the issue.
---------------------------- | ||
When using Mamba/Micromamba inside a QEMU guest, installing packages may sometimes hang forever due to an `issue with QEMU and glibc <https://gitlab.com/qemu-project/qemu/-/issues/285>`_. As a workaround, set ``G_SLICE=always-malloc`` in the QEMU guest, eg.:: | ||
|
||
export G_SLICE=always-malloc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there still any point to suggesting micromamba config set extract_threads 1
as an alternative? (If so, we should offer the corresponding mamba
command...) Or is that now pointless after your patch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the G_SLICE
solution is much better because it doesn't slow down the process noticably.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
G_SLICE doesn't seem to work for me. However doing RUN micromamba config set extract_threads 1
before RUN micromamba create -vv -y -n pangolin -f /environment.yml
does work luckily!