Received: from maia.hub.org (maia-4.hub.org [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 107C26352F1 for ; Thu, 20 May 2010 10:29:54 -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 38112-03 for ; Thu, 20 May 2010 13:29:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id AF0D863489A for ; Thu, 20 May 2010 10:29:46 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o4KDTh0Z003017; Thu, 20 May 2010 09:29:43 -0400 (EDT) To: "B. Nicholson" cc: pgsql-odbc@postgresql.org Subject: Re: FD_SETSIZE with large #s of files/ports in use In-reply-to: <4BF47E78.1000804@niceng.com> References: <4BF32A8E.3030900@tpf.co.jp> <4BF35CC2.2010801@tpf.co.jp> <4BF477DA.8000208@tpf.co.jp> <4BF47E78.1000804@niceng.com> Comments: In-reply-to "B. Nicholson" message dated "Wed, 19 May 2010 19:12:40 -0500" Date: Thu, 20 May 2010 09:29:43 -0400 Message-ID: <3016.1274362183@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/28 X-Sequence-Number: 10275 "B. Nicholson" 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