Re: FD_SETSIZE with large #s of files/ports in use

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Barry Nicholson <b(dot)nicholson(at)niceng(dot)com>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Date: 2010-05-19 21:39:56
Message-ID: 4BF45AAC.9090403@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Tom Lane wrote:
> Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp> writes:
>> Another way is to use poll() instead of select().
>
> You really need to go in that direction. Changing FD_SETSIZE is
> completely unworkable --- it will break various libc ABI details.

Thanks.
I already made a patch to use poll() if the function is available.
I would post it later.

regards,
Hiroshi Inoue

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2010-05-19 23:44:26 Re: FD_SETSIZE with large #s of files/ports in use
Previous Message Tom Lane 2010-05-19 19:39:24 Re: FD_SETSIZE with large #s of files/ports in use