[GH-ISSUE #561] At high speed, DB table is locked errors arise with 500 status codes #424

Closed
opened 2026-05-07 00:24:02 +02:00 by BreizhHardware · 1 comment

Originally created by @RaitoBezarius on GitHub (Dec 29, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/561

Hi there, thank you for the amazing piece of software.

I am using it to monitor my highly frequent backups (10-15 jobs every 5 minutes) and I am running into 500 errors of this form:

Dec 29 06:25:05 amadeus ntfy[4167557]: 2022/12/29 06:25:05 INFO 2001:bc8:38ee::1 HTTP POST /backups Connection closed with HTTP 500 (ntfy error 50001): database table is locked

Is there any way to reduce the locks contention or something? Thank you!

Originally created by @RaitoBezarius on GitHub (Dec 29, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/561 Hi there, thank you for the amazing piece of software. I am using it to monitor my highly frequent backups (10-15 jobs every 5 minutes) and I am running into 500 errors of this form: ``` Dec 29 06:25:05 amadeus ntfy[4167557]: 2022/12/29 06:25:05 INFO 2001:bc8:38ee::1 HTTP POST /backups Connection closed with HTTP 500 (ntfy error 50001): database table is locked ``` Is there any way to reduce the locks contention or something? Thank you!
Author
Owner

@RaitoBezarius commented on GitHub (Dec 29, 2022):

Nevermind, I just stumbled on https://docs.ntfy.sh/config/#message-cache_1 !

<!-- gh-comment-id:1367083182 --> @RaitoBezarius commented on GitHub (Dec 29, 2022): Nevermind, I just stumbled on https://docs.ntfy.sh/config/#message-cache_1 !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#424
No description provided.