Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OperationalError: disk I/O error #7857

Closed
sentry-for-tribler bot opened this issue Jan 25, 2024 · 2 comments
Closed

OperationalError: disk I/O error #7857

sentry-for-tribler bot opened this issue Jan 25, 2024 · 2 comments
Assignees

Comments

@sentry-for-tribler
Copy link

Sentry Issue: TRIBLER-1J4

OperationalError: database is locked
  File "tribler/core/utilities/process_manager/utils.py", line 29, in new_method
  File "tribler/core/utilities/process_manager/process.py", line 59, in save
  File "contextlib.py", line 113, in __enter__
  File "tribler/core/utilities/process_manager/manager.py", line 92, in connect

OperationalError: disk I/O error
(3 additional frame(s) were not displayed)
...
  File "tribler/core/utilities/process_manager/process.py", line 168, in set_error
  File "tribler/core/utilities/process_manager/utils.py", line 32, in new_method
  File "tribler/core/utilities/process_manager/process.py", line 63, in save
  File "contextlib.py", line 120, in __exit__
  File "tribler/core/utilities/process_manager/manager.py", line 98, in connect
@xoriole xoriole added this to the 7.14.0 milestone Jan 25, 2024
@drew2a
Copy link
Contributor

drew2a commented Jan 30, 2024

It appears that the secondary process is attempting to access the database, but the database is locked (possibly by the main process).

image

@kozlovsky
Copy link
Contributor

Should be fixed by #7932. It is still not clear why another process holds the database lock for a few seconds, but at least now, the current process should not attempt to delete the database file in this situation (which is a possible reason for the I/O error)

# for free to join this conversation on GitHub. Already have an account? # to comment
Development

No branches or pull requests

3 participants