<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 14pt; color: #000000'>I have a doubt about this. If pgpool-II only accepts 350 connections simultaneously, Why max_connections in postgresql.conf should be <br>max_pool * num_init_children <= (max_connections - superuser_reserved_connections)<br><br>Regards.<br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">> On 15/05/12 15:24, Tatsuo Ishii wrote:<br>>> Yes, no swap in/out and almost see no activies.<br>>><br>>><br>>> If you lower num_init_children, do you see any performance improvement?<br>>><br>> Weird, I've tried with num_init_children = 350, keeping max_pool = 2, <br>> and it seems working!<br>> 350*2 = 750, how it can handle 1000 connections?<br><br>It simply does queueing. pgpool-II uses listen(2) to accept incoming<br>connection requests from clients. If num_init_children = 350, then<br>pgpool-II can accept simulately 350 connections (not 350*2 = 700). The<br>350+1 th incoming connection will be delayed in the kernel queue until<br>one of 350 existing connections is terminated thus it starts to accept<br>new connection.<br>--<br>Tatsuo Ishii<br>SRA OSS, Inc. Japan<br>English: http://www.sraoss.co.jp/index_en.php<br>Japanese: http://www.sraoss.co.jp<br>_______________________________________________<br>pgpool-general mailing list<br>pgpool-general@pgpool.net<br>http://www.pgpool.net/mailman/listinfo/pgpool-general<br><br>10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...<br>CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION<br><br>http://www.uci.cu<br>http://www.facebook.com/universidad.uci<br>http://www.flickr.com/photos/universidad_uci<br></blockquote><br></div>
<br><html>
<body>
<a href="http://www.uci.cu/">
<img src="http://universidad.uci.cu/email.gif"/>
</body>
</html>

<br></body></html>