From: Gyula Toth <kondorb@westel900.net>
To: pgsql-admin@postgresql.org
Subject: "Sorry too many clients" error and vacuum command
Date: Fri, 2 Feb 2001 16:11:19 +0100
Message-ID: <95eira$1dv2$1@news.tht.net> (raw)
1. Postgres in default does not delete the expired/unnecessary lines from
the tables, therefore we have to run vacuum regularly to delete these lines
in order to prevent the database from becoming too large. Is there any way
to change the default, so that the updated lines do not duplicate and the
unnecessary lines are deleted completly from the table ? Actually can we
forget about vacuum completely?
2. The vacuum runs for hours in our database server, sometimes it even kills
Postgres, we do not know why. Is there any way to implement any other
method/command instead of using vacuum or, if not, how can we speed up this
process?
3. What can be the reason for the error message "Sorry, too many clients
already!" Can we avoid this error in any other way than switching the number
of backends with -N and -B to a higher level?
If anybody can help with these problems we would be willing to pay for the
help as we have run out of ideas,
thanks for any help,
Gyula Toth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: kondorb@westel900.net
Subject: Re: "Sorry too many clients" error and vacuum command
In-Reply-To: <95eira$1dv2$1@news.tht.net>
References: <95eira$1dv2$1@news.tht.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox