Re: dup(0) failed after 3195 successes: Bad file descriptor

Поиск
Список
Период
Сортировка
От CSN
Тема Re: dup(0) failed after 3195 successes: Bad file descriptor
Дата
Msg-id 20040629172325.10113.qmail@web52901.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: dup(0) failed after 3195 successes: Bad file descriptor  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
--- Tom Lane <tgl@sss.pgh.pa.us> wrote:
> CSN <cool_screen_name90001@yahoo.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.

It's on windows xp home edition. I just upgraded
cygwin and postgresql to 7.4.3 - the warning didn't
appear in the log previously.

CSN





__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

В списке pgsql-general по дате отправления:

Предыдущее
От: Stan Y
Дата:
Сообщение: What is the prevalent naming convention in RDBMS?
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Postgres tuning?