Skip site navigation (1) Skip section navigation (2)

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: 2004-11-30 16:45:13
Message-ID: 21298.1101833113@sss.pgh.pa.us (view raw or flat)
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

In response to

pgsql-hackers-win32 by date

Next:From: Merlin MoncureDate: 2004-11-30 18:26:05
Subject: Re: statistics process shutting down
Previous:From: Merlin MoncureDate: 2004-11-30 13:28:03
Subject: statistics process shutting down

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group