Re: statistics process shutting down

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
"Merlin Moncure" <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.