Connection reset by peer

Started by Joe Lesteralmost 22 years ago3 messagesgeneral
Jump to latest
#1Joe Lester
joe_lester@sweetwater.com

I'm seeing this message a couple times per day in my postgres log:

2004-04-20 14:47:46 LOG: could not receive data from client:
Connection reset by peer

What does it mean? I've seen in the archives that it seems to be some
kind of system error. Does anyone know how serious this message is?
Does it mean that one of my clients is failing to connect or, worse,
losing data in transit?

I have about 200 clients and I'd like to reassure myself that nothing
is going drastically wrong. I have not had any complaints from users.

Joe

#2Doug McNaught
doug@mcnaught.org
In reply to: Joe Lester (#1)
Re: Connection reset by peer

Joe Lester <joe_lester@sweetwater.com> writes:

I'm seeing this message a couple times per day in my postgres log:

2004-04-20 14:47:46 LOG: could not receive data from client:
Connection reset by peer

What does it mean? I've seen in the archives that it seems to be some
kind of system error. Does anyone know how serious this message is?
Does it mean that one of my clients is failing to connect or, worse,
losing data in transit?

It generally means a client is exiting, or getting killed, without
shutting down the PG connection properly.

-Doug

#3Joe Lester
joe_lester@sweetwater.com
In reply to: Doug McNaught (#2)
Re: Connection reset by peer

That makes sense since the "connection reset by peer" statement is
always followed immediately by

"unexpected EOF on client connection"

I should have noticed that before :-0

Thanks!

On Apr 20, 2004, at 10:04 PM, Doug McNaught wrote:

Show quoted text

Joe Lester <joe_lester@sweetwater.com> writes:

I'm seeing this message a couple times per day in my postgres log:

2004-04-20 14:47:46 LOG: could not receive data from client:
Connection reset by peer

What does it mean? I've seen in the archives that it seems to be some
kind of system error. Does anyone know how serious this message is?
Does it mean that one of my clients is failing to connect or, worse,
losing data in transit?

It generally means a client is exiting, or getting killed, without
shutting down the PG connection properly.

-Doug

---------------------------(end of
broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings