Skip to content

"No locks available" error #1923

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

Open
imbertj opened this issue Mar 29, 2025 · 3 comments
Open

"No locks available" error #1923

imbertj opened this issue Mar 29, 2025 · 3 comments

Comments

@imbertj
Copy link

imbertj commented Mar 29, 2025

Hello, I am running MiXCR with the exome-seq preset on 83 different bam files simultaneously and have been getting this error message at random. It happens for some cells but not others, and if I rerun MiXCR on the cells that failed, the second or third run usually works and I don't get the error message. The error message still comes up if I run MiXCR on just 15 bam files simultaneously.

java.lang.RuntimeException: java.io.IOException: No locks available
at com.milaboratory.o.cG.a(SourceFile:137)
at com.milaboratory.o.cJ$a.run(SourceFile:484)
Caused by: java.io.IOException: No locks available
at java.base/sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at java.base/sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:96)
at java.base/sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1119)
at java.base/java.nio.channels.FileChannel.lock(FileChannel.java:1063)
at com.milaboratory.o.cG.a(SourceFile:116)
... 1 more
License manager thread died.
License error: UnknownError

Does anyone know how to fix this?

Thank you!

@mizraelson
Copy link
Member

Hi, what version of MiXCR did you use?

@imbertj
Copy link
Author

imbertj commented Mar 30, 2025

Hi, thank you for your very quick reply! I'm using

MiXCR v4.7.0
RepSeq.IO v2.5.0
MiLib v3.5.0
Built-in V/D/J/C library: repseqio.v5.1

I'm using the following Java version:

openjdk 11.0.26 2025-01-21
OpenJDK Runtime Environment (build 11.0.26+4-post-Ubuntu-1ubuntu122.04)
OpenJDK 64-Bit Server VM (build 11.0.26+4-post-Ubuntu-1ubuntu122.04, mixed mode, sharing)

I only got my licence in January 2025, so it shouldn't be expired, but do you think it's worth renewing it in case it's corrupted?

Thank you for your help!

@imbertj
Copy link
Author

imbertj commented May 12, 2025

Hi, I am still encountering this error message. Please could you let me know if you have any suggestions for fixing it? Thank you!

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

2 participants