On 12 February 2019 17:20:09 CET, Vikas Sharma <shavikas@xxxxxxxxx> wrote: >Hello All, > >I have a 4 node PostgreSQL 9.6 cluster with streaming replication. we >encounter today the Out of Memory Error on the Master which resulted >in >All postres processes restarted and cluster recovered itself. Please >let >me know the best way to diagnose this issue. > typical reason for oom-kill are too high values for work_mem. Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company