We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi.
There appears to be some kind of race condition in the eups-setup system. Multiple processes trying to setup at the same time will sometimes fail.
Here's the easiest way I have found to trigger it:
import os import multiprocessing def task(i): return os.system("source /home/zuntz/lsst/anaconda/bin/eups-setups.sh") pool = multiprocessing.Pool(32) args = range(100) print pool.map(task, args)
I (usually) get a combination of:
OSError: [Errno 2] No such file or directory: '/home/zuntz/lsst/anaconda/var/opt/eups/.lockDir'
and some atexit errors trying to remove the same file when it doesn't exist.
Interestingly, there seems to be a similar bug in conda: conda/conda#2837
Cheers! Joe
The text was updated successfully, but these errors were encountered:
The locking in eups is sub-optimal, so we usually disable it. Put in your $EUPS_PATH/site/startup.py:
$EUPS_PATH/site/startup.py
# Disable locking hooks.config.site.lockDirectoryBase = None
Sorry, something went wrong.
Given all the known issues with locking, should we just make this the default (ping @RobertLuptonTheGood)?
Thanks - that fixed my problem!
No branches or pull requests
Hi.
There appears to be some kind of race condition in the eups-setup system. Multiple processes trying to setup at the same time will sometimes fail.
Here's the easiest way I have found to trigger it:
I (usually) get a combination of:
and some atexit errors trying to remove the same file when it doesn't exist.
Interestingly, there seems to be a similar bug in conda: conda/conda#2837
Cheers!
Joe
The text was updated successfully, but these errors were encountered: