Check to ensure that you have not exhausted the memory of the computer.
• free -g
Check to see whether the logs of the system contain anything
pertinent, such as an invocation of the OoM killer.
• journalctl
You might want to check the limits of the PostgreSQL service.
• systemctl show postgresql-13.service -p LimitNOFILE
• systemctl show postgresql-13.service -p LimitNPROC
• systemctl show postgresql-13.service -p LimitLOCKS
If a limit is too low, then check both the system-specific
configuration and the vendor-supplied configuration.
• less /usr/lib/systemd/system/postgresql-13.service
• less /etc/systemd/system/postgresql-13.service
Trying to reproduce the error on another VM might allow you to
determine whether the problem be from either a unique configuration or
a default configuration.
Good luck,
--
Zachary Wincek