Thread leak when used as an attached database #23
ran404
started this conversation in
Bug report
Replies: 2 comments
-
@ran404 Thanks for this. One thing I find so far is the issue may be specific to setting |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mlin Thanks for looking into it. I've had a play with the params, and the immutable=True parameter does indeed seem to cause the issue. FYI all of the following param combination seem to be okay so far:
But those with immutable=True are not okay:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I found an issue when using genomicsqlite as an attached database. The problem occurs when the following conditions are met:
This means that if a genomicsqlite db is used as a reference in a loop to process different databases, the thread count will keep going up, until it reaches the upper system limit (ulimit -a), by then it will hang (and no new process is allowed to start)
I have created the following unit test code which can reliably reproduce the bug.
Beta Was this translation helpful? Give feedback.
All reactions