| 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: | 2004-11-30 16:45:13 |
| Message-ID: | 21298.1101833113@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers-win32 |
"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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2004-11-30 18:26:05 | Re: statistics process shutting down |
| Previous Message | Merlin Moncure | 2004-11-30 13:28:03 | statistics process shutting down |