Check for scribe needing to be restarted due to low memory #122

Merged
jackrobison merged 2 commits from remove-unused-settings into master 2023-02-07 23:23:23 +01:00
jackrobison commented 2023-02-07 23:14:02 +01:00 (Migrated from github.com)

This updates scribe to check for a canary file being created when herald or es-sync fail to open the db and to shut down in order to be restarted.

When the primary db hasn't done a compaction flush it can cause the secondary dbs to require much more memory to open than normal until the primary is cycled. When memory is low this can cause herald/es-sync to get stuck in a restart loop until scribe is restarted.

This updates scribe to check for a canary file being created when herald or es-sync fail to open the db and to shut down in order to be restarted. When the primary db hasn't done a compaction flush it can cause the secondary dbs to require much more memory to open than normal until the primary is cycled. When memory is low this can cause herald/es-sync to get stuck in a restart loop until scribe is restarted.
Sign in to join this conversation.
No reviewers
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: LBRYCommunity/hub#122
No description provided.