pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Barry Nicholson <b.nicholson@niceng.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Date: Thu, 20 May 2010 06:39:56 +0900
Message-ID: <4BF45AAC.9090403@tpf.co.jp> (raw)
In-Reply-To: <23613.1274297964@sss.pgh.pa.us>
References: <c9c581e2e762ff7fbaba414b2bb54d98@niceng.com>
	<4BF32A8E.3030900@tpf.co.jp>
	<4BF35CC2.2010801@tpf.co.jp>
	<23613.1274297964@sss.pgh.pa.us>

Tom Lane wrote:
> Hiroshi Inoue <inoue@tpf.co.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




view thread (10+ messages)  latest in thread

Message-ID: <4BF45AAC.9090403@tpf.co.jp>
Permalink:  ../4BF45AAC.9090403@tpf.co.jp/
Also on:    postgresql.org/message-id/4BF45AAC.9090403@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, tgl@sss.pgh.pa.us, b.nicholson@niceng.com
  Subject: Re: FD_SETSIZE with large #s of files/ports in use
  In-Reply-To: <4BF45AAC.9090403@tpf.co.jp>
  References: <c9c581e2e762ff7fbaba414b2bb54d98@niceng.com> <4BF32A8E.3030900@tpf.co.jp> <4BF35CC2.2010801@tpf.co.jp> <23613.1274297964@sss.pgh.pa.us> <4BF45AAC.9090403@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox