From badaei@yahoo.com Wed Mar 12 21:21:56 2003 X-Original-To: pgsql-admin@postgresql.org Received: from web11606.mail.yahoo.com (web11606.mail.yahoo.com [216.136.172.58]) by postgresql.org (Postfix) with SMTP id 8F8F147634A for ; Wed, 12 Mar 2003 16:21:56 -0500 (EST) Message-ID: <20030312212158.83768.qmail@web11606.mail.yahoo.com> Received: from [67.89.135.26] by web11606.mail.yahoo.com via HTTP; Wed, 12 Mar 2003 13:21:58 PST Date: Wed, 12 Mar 2003 13:21:58 -0800 (PST) From: babak badaei Subject: max_connections beyond 47 causes hang To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2131613669-1047504118=:80745" X-Archive-Number: 200303/177 X-Sequence-Number: 7817 --0-2131613669-1047504118=:80745 Content-Type: text/plain; charset=us-ascii Hi, The largest number I can set max_connections to in postgres.conf is 47, regardless of how large I set the shared_buffers. I have tried setting this value to as large as 512 but it does not help. I have installed postgres 7.2 from the ports collection of FreeBSD 4.7. I use the shell script 010.pgsql.sh to stop and start the server (this script just calls pg_ctl in a fancy way). Do I need to restart the server differently or am I missing out on something? I read the section on Managing Kernel Resources in the admin docs but nothing is said about FreeBSD. But I don't think it has to do with that because I can set the shared buffer value high enough. Please help, Babak. --------------------------------- Do you Yahoo!? Yahoo! Web Hosting - establish your business online --0-2131613669-1047504118=:80745 Content-Type: text/html; charset=us-ascii

Hi,

 

The largest number I can set max_connections to in postgres.conf is 47, regardless of how large I set the shared_buffers.  I have tried setting this value to as large as 512 but it does not help. 

 

I have installed postgres 7.2 from the ports collection of FreeBSD 4.7.  I use the shell script 010.pgsql.sh to stop and start the server (this script just calls pg_ctl in a fancy way).

 

Do I need to restart the server differently or am I missing out on something?  I read the section on Managing Kernel Resources in the admin docs but nothing is said about FreeBSD.  But I don't think it has to do with that because I can set the shared buffer value high enough.

 

Please help,

 

Babak.



Do you Yahoo!?
Yahoo! Web Hosting - establish your business online --0-2131613669-1047504118=:80745-- From tgl@sss.pgh.pa.us Thu Mar 13 05:58:48 2003 X-Original-To: pgsql-admin@postgresql.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 575A2474E44 for ; Thu, 13 Mar 2003 00:58:48 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2D5wrub002431; Thu, 13 Mar 2003 00:58:53 -0500 (EST) To: babak badaei Cc: pgsql-admin@postgresql.org Subject: Re: max_connections beyond 47 causes hang In-reply-to: <20030312212158.83768.qmail@web11606.mail.yahoo.com> References: <20030312212158.83768.qmail@web11606.mail.yahoo.com> Comments: In-reply-to babak badaei message dated "Wed, 12 Mar 2003 13:21:58 -0800" Date: Thu, 13 Mar 2003 00:58:53 -0500 Message-ID: <2430.1047535133@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/179 X-Sequence-Number: 7819 babak badaei writes: > The largest number I can set max_connections to in postgres.conf is > 47, What exactly happens when you go higher? regards, tom lane