Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C92016321EB for ; Thu, 20 May 2010 18:45:26 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 39442-02 for ; Thu, 20 May 2010 21:45:18 +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 A0F8763547E for ; Thu, 20 May 2010 18:45:19 -0300 (ADT) Received: from 209-252-40-199.ip.mcleodusa.net ([209.252.40.199] helo=[192.168.69.56]) by gs18.inmotionhosting.com with esmtp (Exim 4.69) (envelope-from ) id 1OFDYH-0001cD-Kb for pgsql-odbc@postgresql.org; Thu, 20 May 2010 14:45:14 -0700 Message-ID: <4BF5AD6A.2090100@niceng.com> Date: Thu, 20 May 2010 16:45:14 -0500 From: "B. Nicholson" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 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="------------070303040909070902000106" 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/31 X-Sequence-Number: 10278 This is a multi-part message in MIME format. --------------070303040909070902000106 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hiroshi: Works great! We've ran thousands of tests through the system with your poll change. No problems. We're going to run some more tests (just to make sure) in the morning. Our goal with the tests in the morning are to really load test the system (5000+ connections all doing selects randomly). Nice job. 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 > > > > --------------070303040909070902000106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hiroshi:

Works great!  We've ran thousands of tests through the system with your poll change.  No problems.
We're going to run some more tests (just to make sure) in the morning.   Our goal with the tests in the morning are to really load test the system (5000+ connections all doing selects randomly).   Nice job.

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
--------------070303040909070902000106--