-
Notifications
You must be signed in to change notification settings - Fork 61
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
Allow to control number of workers during import #237
Comments
Or change the multithreading options? |
Which seems to be the default mode. Also, for the record, not sure here it's relevant (I guess they write "thread" like "things"), but we are doing multiprocessing, not multithreading. |
I tried to add locks (acquire/release) with no effect :( |
@cquest do you know exactly how many cores leads to errors? For the moment we only know that 8 works and 24 doesn't. Might be useful to get the exact limit point to investigate. |
The limit is not that clear. I got crashes with 4 processes. |
Do you have an error message from sqlite? A log or something? Hard to reproduce when you're somehow limited in terms of CPUs… |
Enabling tracebacks might help debugging. Did you play with the isolation level? |
More options from that Reddit thread using PRAGMA and verify that AUTOINCREMENT is disabled. |
Many readers but only one writer? C'mon SQLite… We can try to adapt the |
Add BATCH_WORKERS setting, fix #237
sqlite crashes when using 24 cores, so it may be helpful to limit them a bit.
The text was updated successfully, but these errors were encountered: