Greetings,
* Piotr Włodarczyk (piotrwlodarczyk89@gmail.com) wrote:
> We met unexpected PostgreSQL shutdown. After a little investigation we've
> discovered that problem is in OOM killer which kills our PostgreSQL.
You need to configure your system to not overcommit.
Read up on overcommit_ratio and overcommit_memory Linux settings.
Thanks,
Stephen