From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Wong Jowo <setan(dot)jowo(at)gmail(dot)com> |
Cc: | List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Need help on "org.postgresql.util.PSQLException: FATAL: |
Date: | 2006-12-21 15:34:07 |
Message-ID: | 458AA96F.7050800@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Please cc: the mailing list - that lets everybody help.
Wong Jowo wrote:
> The postgres error message is the same :
> FATAL: terminating connection due to administrator command
>
> But in log I saw that ther is on kind of error that happened before the
> "FATAL: terminating connection due to administrator command", it's :
> "FATAL: sorry, too many clients already".
Don't assume they're linked. If you've got lots of connections active
then the oom-killer might be acting too.
> I'm using the default postgres configuration on postgresql.conf.
>
> So, what should I do ?
Well, you're running connection pooling, so it's odd that you're running
out of connections, but you can alter that setting in postgresql.conf -
max_connections should default to 100.
You certainly want to adjust your memory usage etc. in postgresql.conf
too. This link is a good place to start
http://www.powerpostgresql.com/PerfList
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Sigaev | 2006-12-21 16:07:38 | Re: PG 8.2.0 - TSearch2 "Wrong affix file format" |
Previous Message | Martijn van Oosterhout | 2006-12-21 15:31:29 | Re: 8.2.0 psql \df+ output mangled a bit relative to 8.1.4 ... |