[Pgpool-hackers] Patch for dropping pending connections

Felix J. Ogris fjo-lists at ogris.de
Wed Nov 7 09:38:07 UTC 2007


Hi,

I have written a small patch for pgpool-II-2.0-beta1. It extends main.c to
drop connections which are not yet accepted in the case that conn_counter >=
num_init_children. You have to enable health checking for this to work.
Background: I ran into the situation that client programs opened
num_init_children persistent connections so that new connections had been
stalled during the authentication process.

Felix

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool-II-2.0-beta1.drop_pending_conns.diff
Type: application/octet-stream
Size: 1967 bytes
Desc: not available
Url : http://pgfoundry.org/pipermail/pgpool-hackers/attachments/20071107/e44f9669/attachment.obj 


More information about the Pgpool-hackers mailing list