Re: FD_SETSIZE with large #s of files/ports in use - Mailing list pgsql-odbc

From B. Nicholson
Subject Re: FD_SETSIZE with large #s of files/ports in use
Date
Msg-id 4BF5AD6A.2090100@niceng.com
Whole thread Raw
In response to Re: FD_SETSIZE with large #s of files/ports in use  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From:
Date:
Subject: [ psqlodbc-Bugs-1010827 ] ODBC driver not parsing comment correctly
Next
From: Hiroshi Inoue
Date:
Subject: Re: memory leak in psqlodb 08.04.0200