Re: statistics process shutting down
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
- Cc: "Win 32 hackers PGSQL" <pgsql-hackers-win32(at)postgresql(dot)org>
- Subject: Re: statistics process shutting down
- Date: Tue, 30 Nov 2004 11:45:13 -0500
- Message-id: <21298(dot)1101833113(at)sss(dot)pgh(dot)pa(dot)us>
"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com> writes:
> During load testing, I'm getting the following error:
> FATAL: could not read from statistics collector pipe: No error
> LOG: statistics collector process (PID 1108) was terminated by signal 1
Evidently coming from here:
len = piperead(readPipe, ((char *) &msg) + nread,
targetlen - nread);
if (len < 0)
{
if (errno == EINTR)
continue;
ereport(ERROR,
(errcode_for_socket_access(),
errmsg("could not read from statistics collector pipe: %m")));
}
So why is piperead() failing, and why doesn't it set errno to something
useful?
regards, tom lane
Home |
Main Index |
Thread Index