From: | Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my> |
---|---|
To: | Thomas Kellerer <spam_eater(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Maximum number of connections |
Date: | 2003-04-24 15:35:20 |
Message-ID: | 5.2.1.1.1.20030424232959.00ac6378@mbox.jaring.my |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
At 04:03 PM 4/24/2003 +0200, Thomas Kellerer wrote:
>Never mind, I found the answer. The only thing that puzzles me. The
>documentation says the default is 32, but at the time I received the error
>messages there were only about 10-12 clients connected. Is it possible
>that the default isn't 32?
Possible. But unlikely.
More likely that something else is hogging the connections. Or the 10-12
clients are making more than one connection each.
Do a ps or something to get a list of processes.
>I have set the number to 64 now. As far as I can tell the only "drawback"
>when increasing this number, is that more memory is needed. Any other
>disadvantages?
As long as you do have enough memory, it should be fine. Might be a good
idea to have spare connection capacity - so that if your JDBC clients are
maxed out, you can still connect and are not locked out.
Hope that helps,
Link.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-04-24 15:42:42 | Re: [NOVICE] Postgres Remote Syslog |
Previous Message | Delao, Darryl W | 2003-04-24 15:28:02 | Postgres Remote Syslog |