Re: buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)
Date
Msg-id 24947.1400349338@sss.pgh.pa.us
Whole thread Raw
In response to buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)  (Tomas Vondra <tv@fuzzy.cz>)
Responses Re: buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)
List pgsql-hackers
Tomas Vondra <tv@fuzzy.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



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: buildfarm: strange OOM failures on markhor (running CLOBBER_CACHE_RECURSIVELY)
Next
From: Andrew Dunstan
Date:
Subject: Re: buildfarm animals and 'snapshot too old'