Re: buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tv(at)fuzzy(dot)cz>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)
Date: 2014-05-17 17:55:38
Message-ID: 24947.1400349338@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tomas Vondra <tv(at)fuzzy(dot)cz> writes:
> ... then of course the usual 'terminating connection because of crash of
> another server process' warning. Apparently, it's getting killed by the
> OOM killer, because it exhausts all the memory assigned to that VM (2GB).

Can you fix things so it runs into its process ulimit before the OOM killer
triggers? Then we'd get a memory map dumped to stderr, which would be
helpful in localizing the problem.

> ... So this seems like a
> memory leak somewhere in the cache invalidation code.

Smells that way to me too, but let's get some more evidence.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2014-05-17 17:58:27 Re: buildfarm animals and 'snapshot too old'
Previous Message Tomas Vondra 2014-05-17 17:51:30 buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)