Instead of believing SOMAXCONN from the system header files (which is

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 153f40067630bbea80385621ec09ac38c85d05af
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-07-11T19:03:07Z
Releases: 7.2.1
Instead of believing SOMAXCONN from the system header files (which is
a lie on many Unixen), invoke listen() with MIN(MaxBackends*2, 10000).
The clamp value 10000 is configurable in config.h.in, if that proves
to be necessary --- hopefully it won't.

Files

PathChange+/−
src/backend/libpq/pqcomm.c modified +21 −7
src/include/config.h.in modified +11 −1