spacejam/sled

Deadlock under high load

justinlovinger opened this issue · 5 comments

I have an application making hundreds of get calls and dozens of insert calls a second over 8 concurrent threads. Sled consistently deadlocks after several minutes of this. I wasn't able to trigger a deadlock without insert calls, but get calls themselves did deadlock.

  • Sled version 0.34.7.
  • rustc version 1.59.0.
  • Linux.
Mnwa commented

Hey! I have same problems :(
Any chance to fix this?

Since sled is using parking lot, enable their deadlock detection feature and run the small code in a separate thread to detect the deadlock, you could post where it is occurring at.

please post a stacktrace