com.mongodb.MongoInterruptedException: Interrupted acquiring a permit to retrieve an item from the pool

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via activeintelligence.org by Unknown author

Spark was running out of memory.

,
via activeintelligence.org by Unknown author

Spark ran out of memory

Solutions on the web

via JIRA by Jeff Yemin, 1 year ago
Interrupted acquiring a permit to retrieve an item from the pool
via JIRA by Jeff Yemin, 1 year ago
Interrupted acquiring a permit to retrieve an item from the pool
com.mongodb.MongoInterruptedException: Interrupted acquiring a permit to retrieve an item from the pool
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1279)
at com.mongodb.connection.ConcurrentPool.acquirePermit(ConcurrentPool.java:177)
at com.mongodb.connection.ConcurrentPool.get(ConcurrentPool.java:121)
at com.mongodb.connection.ConcurrentPool.get(ConcurrentPool.java:104)
at com.mongodb.connection.PowerOfTwoBufferPool.getBuffer(PowerOfTwoBufferPool.java:66)
at com.mongodb.connection.SocketStream.read(SocketStream.java:64)
at com.mongodb.connection.StreamPipeline.receiveResponseBuffers(StreamPipeline.java:253)
at com.mongodb.connection.StreamPipeline.receiveMessage(StreamPipeline.java:151)
at com.mongodb.connection.PipelinedConnectionInitializer.receiveMessage(PipelinedConnectionInitializer.java:82)
at com.mongodb.connection.CommandHelper.receiveReply(CommandHelper.java:73)
at com.mongodb.connection.CommandHelper.receiveCommandDocument(CommandHelper.java:69)
at com.mongodb.connection.CommandHelper.executeCommandWithoutCheckingForFailure(CommandHelper.java:42)
at com.mongodb.connection.PipelinedConnectionInitializer.initializeConnectionId(PipelinedConnectionInitializer.java:141)
at com.mongodb.connection.PipelinedConnectionInitializer.initialize(PipelinedConnectionInitializer.java:110)
at com.mongodb.connection.InternalStreamConnection.sendMessage(InternalStreamConnection.java:92)
at com.mongodb.connection.CommandHelper.sendMessage(CommandHelper.java:52)
at com.mongodb.connection.CommandHelper.executeCommand(CommandHelper.java:37)
at com.mongodb.connection.ServerMonitor.lookupServerDescription(ServerMonitor.java:244)
at com.mongodb.connection.ServerMonitor.access$400(ServerMonitor.java:63)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
11 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.