From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | CSN <cool_screen_name90001(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: dup(0) failed after 3195 successes: Bad file descriptor |
Date: | 2004-06-29 14:10:18 |
Message-ID: | 28875.1088518218@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers-win32 |
CSN <cool_screen_name90001(at)yahoo(dot)com> writes:
> WARNING: dup(0) failed after 3195 successes: Bad file
> descriptor
Hmm. What system is this on? What errno code corresponds to
"Bad file descriptor"?
This is coming from
thisfd = dup(0);
if (thisfd < 0)
{
/* Expect EMFILE or ENFILE, else it's fishy */
if (errno != EMFILE && errno != ENFILE)
elog(WARNING, "dup(0) failed after %d successes: %m", used);
break;
}
I would suppose there is another EXXX code we have to allow to pass
without comment, but I don't know from your report what it is.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2004-06-29 14:17:56 | Re: A few beginner's questions concerning concurrency control |
Previous Message | Tom Lane | 2004-06-29 14:04:14 | Re: A few beginner's questions concerning concurrency control |
From | Date | Subject | |
---|---|---|---|
Next Message | CSN | 2004-06-29 17:23:25 | Re: dup(0) failed after 3195 successes: Bad file descriptor |
Previous Message | Anass HAMMEDI | 2004-06-29 09:45:46 | session time |