pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: B. 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 09:29:43 -0400
Message-ID: <3016.1274362183@sss.pgh.pa.us> (raw)
In-Reply-To: <4BF47E78.1000804@niceng.com>
References: <c9c581e2e762ff7fbaba414b2bb54d98@niceng.com>
	<4BF32A8E.3030900@tpf.co.jp>
	<4BF35CC2.2010801@tpf.co.jp>
	<4BF477DA.8000208@tpf.co.jp>
	<4BF47E78.1000804@niceng.com>

"B. Nicholson" <b.nicholson@niceng.com> writes:
> 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?

I'm not too sure, honestly.  I can tell you that this exact point came up
recently on a Red Hat internal mailing list, and no less an authority
than Ulrich Drepper said "you can't do that, it'll break things".  He
didn't say exactly what though.  It's possible that on non-glibc-based
platforms, you could get away with it.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <3016.1274362183@sss.pgh.pa.us>
Permalink:  ../3016.1274362183@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3016.1274362183@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, b.nicholson@niceng.com
  Subject: Re: FD_SETSIZE with large #s of files/ports in use
  In-Reply-To: <3016.1274362183@sss.pgh.pa.us>
  References: <c9c581e2e762ff7fbaba414b2bb54d98@niceng.com> <4BF32A8E.3030900@tpf.co.jp> <4BF35CC2.2010801@tpf.co.jp> <4BF477DA.8000208@tpf.co.jp> <4BF47E78.1000804@niceng.com> <3016.1274362183@sss.pgh.pa.us>

* 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