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

Create Troubleshooting page #1873

Merged
merged 2 commits into from
Aug 29, 2022
Merged

Conversation

jonashaag
Copy link
Contributor

Copy link
Contributor

@maresb maresb left a 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.
Copy link
Contributor

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.)

Copy link
Contributor Author

@jonashaag jonashaag Aug 29, 2022

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
Copy link
Contributor

@maresb maresb Aug 23, 2022

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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!

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

Successfully merging this pull request may close these issues.

3 participants