Tom Lane writes: > The other concern I had could be addressed by making the listen > parameter be MIN(MaxBackends, PG_SOMAXCONN) where PG_SOMAXCONN > is set in config.h --- but now we could make the default value > really large, say 10000. The only reason to change it would be > if you had a kernel that barfed on large listen() parameters. We'll never find that out if we don't try it. If you're concerned about cooperating with other listen()ing processes, set it to MaxBackends * 2, if you're not, set it to INT_MAX and watch. -- Peter Eisentraut [EMAIL PROTECTED] http://funkturm.homeip.net/~peter ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html
- [HACKERS] Re: SOMAXCONN (was Re: Solaris source code) Ian Lance Taylor
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Tom Lane
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Peter Eisentraut
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Tom Lane
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris sou... Nathan Myers
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Bruce Momjian
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Tom Lane
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris sou... Bruce Momjian
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris sou... Peter Eisentraut
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Nathan Myers
- [HACKERS] Re: SOMAXCONN (was Re: Solaris source code... Nathan Myers
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Peter Eisentraut
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris sou... Nathan Myers
- [HACKERS] Re: SOMAXCONN (was Re: Solaris source code... mlw
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Tom Lane
- [HACKERS] Re: SOMAXCONN (was Re: Solaris source code... mlw
- [HACKERS] Re: SOMAXCONN (was Re: Solaris source code... Tom Lane
- Re: [HACKERS] Re: SOMAXCONN (was Re: Solaris source ... Nathan Myers