* NFS 4 error
@ 2013-09-04 6:14 jupiter
2013-09-04 16:20 ` Malahal Naineni
0 siblings, 1 reply; 4+ messages in thread
From: jupiter @ 2013-09-04 6:14 UTC (permalink / raw)
To: NFS list
Hi,
I am running NFS 4 server on CentOS 6.4 for many months, it works
well. Recently I found that the dmesg display many following errors
but it still works. I searched google but could not find result of how
to fix it. What are those error message means? Are the errors serious
or not? How to fix it?
--------
rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
------------
Thank you.
Kind regards.
jupiter
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS 4 error
2013-09-04 6:14 NFS 4 error jupiter
@ 2013-09-04 16:20 ` Malahal Naineni
2013-09-04 19:38 ` J. Bruce Fields
0 siblings, 1 reply; 4+ messages in thread
From: Malahal Naineni @ 2013-09-04 16:20 UTC (permalink / raw)
To: jupiter; +Cc: NFS list
jupiter [jupiter.hce@gmail.com] wrote:
> Hi,
>
> I am running NFS 4 server on CentOS 6.4 for many months, it works
> well. Recently I found that the dmesg display many following errors
> but it still works. I searched google but could not find result of how
> to fix it. What are those error message means? Are the errors serious
> or not? How to fix it?
>
> --------
> rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
> rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
When the nfsd (NFS server thread) was trying to send something, it got
-32 (EPIPE) error. I have seen this kind of errors when the socket is
closed by clients. Clients do close the socket (and recreate one) when
they need to retry due to network failures.
They are NOT serious errors, and if they are still happening, then look
at your network errors/retries etc.
Regards, Malahal.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS 4 error
2013-09-04 16:20 ` Malahal Naineni
@ 2013-09-04 19:38 ` J. Bruce Fields
2013-09-04 19:50 ` Malahal Naineni
0 siblings, 1 reply; 4+ messages in thread
From: J. Bruce Fields @ 2013-09-04 19:38 UTC (permalink / raw)
To: jupiter, NFS list
On Wed, Sep 04, 2013 at 11:20:45AM -0500, Malahal Naineni wrote:
> jupiter [jupiter.hce@gmail.com] wrote:
> > Hi,
> >
> > I am running NFS 4 server on CentOS 6.4 for many months, it works
> > well. Recently I found that the dmesg display many following errors
> > but it still works. I searched google but could not find result of how
> > to fix it. What are those error message means? Are the errors serious
> > or not? How to fix it?
> >
> > --------
> > rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
> > rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
>
> When the nfsd (NFS server thread) was trying to send something, it got
> -32 (EPIPE) error. I have seen this kind of errors when the socket is
> closed by clients. Clients do close the socket (and recreate one) when
> they need to retry due to network failures.
>
> They are NOT serious errors, and if they are still happening, then look
> at your network errors/retries etc.
We should really just demote this to a dprintk, in that case.
The network failures are potentially a serious problem if they mean the
client's forced to retry a nonidempotent operation. But we probably
shouldn't be spamming the logs by default?
--b.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: NFS 4 error
2013-09-04 19:38 ` J. Bruce Fields
@ 2013-09-04 19:50 ` Malahal Naineni
0 siblings, 0 replies; 4+ messages in thread
From: Malahal Naineni @ 2013-09-04 19:50 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: jupiter, NFS list
J. Bruce Fields [bfields@fieldses.org] wrote:
> On Wed, Sep 04, 2013 at 11:20:45AM -0500, Malahal Naineni wrote:
> > jupiter [jupiter.hce@gmail.com] wrote:
> > > Hi,
> > >
> > > I am running NFS 4 server on CentOS 6.4 for many months, it works
> > > well. Recently I found that the dmesg display many following errors
> > > but it still works. I searched google but could not find result of how
> > > to fix it. What are those error message means? Are the errors serious
> > > or not? How to fix it?
> > >
> > > --------
> > > rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
> > > rpc-srv/tcp: nfsd: got error -32 when sending 24 bytes - shutting down socket
> >
> > When the nfsd (NFS server thread) was trying to send something, it got
> > -32 (EPIPE) error. I have seen this kind of errors when the socket is
> > closed by clients. Clients do close the socket (and recreate one) when
> > they need to retry due to network failures.
> >
> > They are NOT serious errors, and if they are still happening, then look
> > at your network errors/retries etc.
>
> We should really just demote this to a dprintk, in that case.
>
> The network failures are potentially a serious problem if they mean the
> client's forced to retry a nonidempotent operation. But we probably
> shouldn't be spamming the logs by default?
I haven't seen many of these messages. That is the only message logged when
the socket gets closed. It is a KERN_NOTICE level message. We can rate
limit it, but in my experience, I haven't seen a need for rate limiting
it.
Regards, Malahal.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-04 19:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04 6:14 NFS 4 error jupiter
2013-09-04 16:20 ` Malahal Naineni
2013-09-04 19:38 ` J. Bruce Fields
2013-09-04 19:50 ` Malahal Naineni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).