Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 8D342685140 for ; Wed, 19 May 2010 21:16:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 02622-03 for ; Thu, 20 May 2010 00:16:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gs18.inmotionhosting.com (gs18.inmotionhosting.com [74.124.218.200]) by mail.postgresql.org (Postfix) with ESMTP id 54B23685018 for ; Wed, 19 May 2010 21:12:46 -0300 (ADT) Received: from 173-23-168-240.client.mchsi.com ([173.23.168.240] helo=nicengs.niceng.com) by gs18.inmotionhosting.com with esmtpa (Exim 4.69) (envelope-from ) id 1OEtNS-0007H8-Or; Wed, 19 May 2010 17:12:42 -0700 Message-ID: <4BF47E78.1000804@niceng.com> Date: Wed, 19 May 2010 19:12:40 -0500 From: "B. Nicholson" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100415 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: Re: FD_SETSIZE with large #s of files/ports in use References: <4BF32A8E.3030900@tpf.co.jp> <4BF35CC2.2010801@tpf.co.jp> <4BF477DA.8000208@tpf.co.jp> In-Reply-To: <4BF477DA.8000208@tpf.co.jp> Content-Type: multipart/alternative; boundary="------------060903060803040209000806" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gs18.inmotionhosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - niceng.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201005/27 X-Sequence-Number: 10274 This is a multi-part message in MIME format. --------------060903060803040209000806 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Yes, we'll try the patch in the morning. Tom, what libc details will be broken by setting FD_SETSIZE to a larger number? I'm curious for my own knowledge base. I can see where it might cause 'data' sizes to grow which might break thinks. Anything else? Barry Nicholson On 05/19/2010 06:44 PM, Hiroshi Inoue wrote: > Hiroshi Inoue wrote: >> Hiroshi Inoue wrote: >>> Hi, >>> >>> Could you please try the attached patch? >> >> Oops it doesn't seem to work. >> Another way is to use poll() instead of select(). > > OK I made a patch to use poll(). > Please #define HAVE_POLL e.g. in config.h and try the attached patch. > > regards, > Hiroshi Inoue > > > > --------------060903060803040209000806 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Yes, we'll try the patch in the morning.

Tom, what libc details will be broken by setting FD_SETSIZE to a larger number?   I'm curious for my own knowledge base.   I can see where it might cause 'data' sizes to grow which might break thinks.  Anything else?

Barry Nicholson

On 05/19/2010 06:44 PM, Hiroshi Inoue wrote:
Hiroshi Inoue wrote:
Hiroshi Inoue wrote:
Hi,

Could you please try the attached patch?

Oops it doesn't seem to work.
Another way is to use poll() instead of select().

OK I made a patch to use poll().
Please #define HAVE_POLL e.g. in config.h and try the attached patch.

regards,
Hiroshi Inoue

--------------060903060803040209000806--