MrOlm / inStrain

Bioinformatics program inStrain
MIT License
134 stars 33 forks source link

unable to lock file, errno = 37, error message = 'No locks available' #183

Open 473021677 opened 1 month ago

473021677 commented 1 month ago

Hi, I am trying to run inStrain profile, but I have encountered some problems. It shows "OSError: [Errno 37] Unable to synchronously create file (unable to lock file, errno = 37, error message = 'No locks available')". And I have run the command HDF5_USE_FILE_LOCKING='FALSE' before running inStrain. However, the problem can not be fixed. I have appended the nohup.out.txt file. I need your help. Thanks.

Best regards nohup.out.txt

MrOlm commented 1 month ago

Hi @473021677 -

Unfortunately this is an issue with how your operating system is interacting with the python multiprocessing module; I don't think there's anything I can do to fix it.

However, if you run inStrain with a single process (-p 1) it won't multiprocess at all, which should make the problem go away.

Best, Matt

473021677 commented 1 month ago

I will have a try. Thanks for your help.