Postgresql not starting with "Resetting root password" infinite loop
Solved
Support
-
My Postgresql seems to have an infinite loop and won't start, any ideas?
2022-01-24T20:21:05.000Z Resetting root password 2022-01-24T20:22:43.000Z Detected existing installation 2022-01-24T20:22:43.000Z Resetting root password 2022-01-24T20:24:22.000Z Detected existing installation 2022-01-24T20:24:22.000Z Resetting root password 2022-01-24T20:26:03.000Z Detected existing installation
-
-
Also, if there are no OOM messages in the notifications, can you also please check if
dmesg
output on the server has some OOM errors? Maybe we are not detecting OOM correctly. -
@girish There are at least two ways I can think of to get a warning that the container is running out of memory limit and is about to be OOM killed.
-
use
--memory-reservation
in containers set at 90% of--memory
(limit) setting. -
track high watermarks for app usage in kernel or graph data and raise warnings of imminent OOM kill possibility.
Perhaps add another graph somewhere where these are plotted visually and one can quick click to see which and bump up the memory config by 20%.
-