Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.3K
Views
FATAL: terminating connection due to unexpected postmaster exit

I am having several issues with workers losing connection to PostgreSQL database running in docker. In my logs I see this message repeated several times:

FATAL: terminating connection due to unexpected postmaster exit

I cannot find any information about this error on line. What exactly is an unexpected postmaster exit?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

If this is Linux, most likely your postmaster process has been killed by OOM.

over 4 years ago · Santiago Trujillo Report

0

Yea so this actually happened to me when running TestContainers for postgres as part of integration tests. After hours and hours it ended up being that I needed to increase the memory and swap settings in my docker preferences in docker desktop. Then the issue went away and everything started working!! These are my settings but maybe in your case you may need even more aggressive settings so play with it a bit.enter image description here

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!