[pgpool-general: 2225] Pool queue length

James Sewell james.sewell at lisasoft.com
Wed Oct 30 09:31:01 JST 2013


Hello All,

The documentation states:

"Up to 2*num_init_children can be queued"

I assumed this to mean that if I set num_init_children to 2, then I can
field 2 client connections (one to each forked process) at a time. The
third and fourth connections will be queued, then the fifth will be
rejected.

However this doesn't seem to be the reality. I can demonstrate this with
psql, opening many more than 4 connections. The first two connect, the next
x idle waiting for a connection.

I saw another similar post which said:

"... it is up to OSs behavior when pgpool set backlog parameter"

Could someone explain this a bit more? Where is the backlog parameter?

Is there a way I can check this queue length so I can alarm on it?

Cheers,


James Sewell,
PostgreSQL Team Lead / Solutions Architect
______________________________________


 Level 2, 50 Queen St, Melbourne VIC 3000

*P *(+61) 3 8370 8000 * **W* www.lisasoft.com  *F *(+61) 3 8370 8099

-- 


------------------------------
The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this 
email is free of viruses or other defects. If you have received this 
communication in error, you may not copy or distribute any part of it or 
otherwise disclose its contents to anyone. Please advise the sender of your 
incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20131030/04b971c7/attachment.html>


More information about the pgpool-general mailing list