Евгений,
* Евгений Селявка (evg.selyavka@gmail.com) wrote:
> What other steps can I take to avoid such behavior in the future?
Monitor /proc/meminfo (specifically, Committed_AS vs. CommitLimit). If
the amount of committed memory is getting up close to the commit limit,
you need to adjust something to use less memory- perhaps fewer shared
buffers, or lower work_mem, etc.
Thanks,
Stephen