From: Umesh Kirdat <umesh.kirdat@yahoo.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Out of memory in CIFS leads to database crash
Date: Tue, 7 Jan 2014 18:03:20 +0800 (SGT)
Message-ID: <1389089000.56167.YahooMailNeo@web193101.mail.sg3.yahoo.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello All,
In our setup under heavy load (too many client performing
updates) we have observed the underlying CIFS module runs out of memory and the
database crashes or goes in recovery mode.
Nov 28 09:17:32 ng78 kernel: CIFS VFS
(1006f1e5e,pid=19342): Error in Open = Out of memory<3> ISVS(0615,i=96)
ro nOe u fmoy<3> CIFS VFS(1006f16,pid196) ror i pn u fmmor
Nov 28 09:17:32 ng78 postgres[19342]: [10-1] 192.168.20.78 19342 2013-11-28
09:17:32.882 PST ERROR: could not open file "base/16384/16794":
Cannot allocate memory
Nov 28 09:17:32 ng78 postgres[19342]: [10-2] 192.168.20.78 19342 2013-11-28
09:17:32.882 PST STATEMENT: select
The physical memory on the machine is 64 GB
Postgres version 9.0.4
Hardware is 64 bit
I wish to know why is the database crashing if the file
open fails? Why can't it handle it gracefully by rolling back the transaction?
Umesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: umesh.kirdat@yahoo.com
Subject: Re: Out of memory in CIFS leads to database crash
In-Reply-To: <1389089000.56167.YahooMailNeo@web193101.mail.sg3.yahoo.com>
References: <1389089000.56167.YahooMailNeo@web193101.mail.sg3.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox