Re: Multiple pq_flush: send() failed: Broken pipe

Поиск
Список
Период
Сортировка
От Thalis A. Kalfigopoulos
Тема Re: Multiple pq_flush: send() failed: Broken pipe
Дата
Msg-id Pine.LNX.4.21.0106131241570.19889-100000@aluminum.cs.pitt.edu
обсуждение исходный текст
Ответ на Re: Multiple pq_flush: send() failed: Broken pipe  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Multiple pq_flush: send() failed: Broken pipe  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
The truth of the matter is that I have queries that take too long to execute and I sometimes interrupt them with ^C. I
assumethe backend dies when the frontend receives this, correct? 
So if that's the case, there is no harm other than that the logfile gets really fat (e.g. potential server crash at
somepoint?) 

t.


On Wed, 13 Jun 2001, Tom Lane wrote:

> "Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu> writes:
> >     I have my logfile flooded with the message:
> > pq_flush: send() failed: Broken pipe
> > I went through the archives and I found plenty of (older) cases where
> > this was usually accompanied by a 'FATAL:' message and lead to a
> > crash. In my case there is only this by itself (*many* times) and it
> > doesn't lead to a crash. Any idea what could be causing it?
>
> Perhaps some backend churning away on a SELECT that produces gigabytes
> of output?  (Not hard to do with a careless unqualified join ...)
> The client might have long since given up and disconnected, but right
> now the backend won't notice until it finishes the query.
>
> Send a SIGINT to the errant backend to get it to cancel the query.
>
>             regards, tom lane
>


В списке pgsql-general по дате отправления:

Предыдущее
От: "C. R. Oldham"
Дата:
Сообщение: RE: pg_dump problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Does PostgreSQL support EXISTS?