[Bug] Login Failed with Error: "database is locked (5) (SQLITE_BUSY)" — Caused by Disk I/O Performance Degradation #9270
hochenggang
started this conversation in
Ideas
Replies: 2 comments
-
Based on the
These changes maybe help reduce lock contention and improve stability during I/O bottlenecks. |
Beta Was this translation helpful? Give feedback.
0 replies
-
感谢反馈,我们将在后续版本中持续优化相关问题。 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Contact Information
No response
1Panel Version
v2 beta
Problem Description
Today I was unable to log in to 1Panel, and the following error was shown:
After investigation, I found that this issue was caused by a significant degradation in disk write performance. The average disk write latency was around 60ms, whereas under normal conditions, SSDs typically operate below 10ms and HDDs below 100ms. Although the server remains otherwise functional, the SQLite database used by 1Panel appears to be sensitive to disk I/O delays, leading to frequent database lock contention.
Observed Symptoms:
database is locked (5) (SQLITE_BUSY)
Suggestion:
It would be helpful if 1Panel could implement better handling of SQLite database locks under high I/O latency scenarios, or provide guidance on switching to a more robust database backend for production environments.
API: /api/v2/core/auth/login
RESPONSE:
Steps to Reproduce
Just click login and error occur.
The expected correct result
No response
Related log output
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions