pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ashwath.rao@altair.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14555: EBUSY error on read() on NFS
Date: Mon, 20 Feb 2017 00:03:24 -0500
Message-ID: <19140.1487567004@sss.pgh.pa.us> (raw)
In-Reply-To: <20170220030121.1265.79953@wrigleys.postgresql.org>
References: <20170220030121.1265.79953@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

ashwath.rao@altair.com writes:
> We are trying to see what can actually give back EBUSY? Is this on a read
> call or could this be another call? Does the message tell anything about
> _where_ in the code there was a failure?

BTW, there is only one place in the PG 9.3 sources that can return that
exact error string, but some digging down into the called code says that
the errno could possibly be coming from either open() or read(), depending
on whether the process already had the file open.

Interestingly, Red Hat's bug database says that they've fixed two separate
kernel bugs resulting in EBUSY-on-NFS errors in the past couple years.
One bug afflicted open() calls and the other read() calls.  I doubt that
either bug was unique to Red Hat's copy of the kernel.

Again, I think you need to be discussing this with SUSE not us.  I'm not
a SUSE user so I don't know where to look to find out about bugs in
SUSE's kernel versions.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)

Message-ID: <19140.1487567004@sss.pgh.pa.us>
Permalink:  ../19140.1487567004@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19140.1487567004@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, ashwath.rao@altair.com
  Subject: Re: BUG #14555: EBUSY error on read() on NFS
  In-Reply-To: <19140.1487567004@sss.pgh.pa.us>
  References: <20170220030121.1265.79953@wrigleys.postgresql.org> <19140.1487567004@sss.pgh.pa.us>

* 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