From: Tom Lane <tgl@sss.pgh.pa.us>
To: Aras Angelo <araskoktas@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Strange highload on server
Date: Thu, 25 Sep 2008 13:35:29 -0400
Message-ID: <9091.1222364129@sss.pgh.pa.us> (raw)
In-Reply-To: <5136d4130809250925s7d5b873ft7c64cb67db5047be@mail.gmail.com>
References: <5136d4130809250925s7d5b873ft7c64cb67db5047be@mail.gmail.com>
"Aras Angelo" <araskoktas@gmail.com> writes:
> We have been running our database server without any problem or reboot at
> all for a year. Yesterday we needed to change servers so we went ahead and
> installed the same postgresql version (8.2.1), restored the database files,
> ran some tests offline. Everything was good. As soon as we launch the site
> and the traffic hits the server, the load is going up to the sky, and the
> top command lists nothing but postgres processes. Strangely, even if i kill
> Apache and stop the traffic, somehow the load doesnt cool down, so i thought
> this might be an issue with postgres processes not timing out or something.
> But we use a very minimal config and the same config was being used in our
> other server without any problem.
I suspect you forgot to re-ANALYZE your tables after reloading all the
data.
BTW, running a production site on 8.2.1 borders on negligence. You're
missing more than a year and a half's worth of bug fixes, including at
least one serious risk of data loss.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, araskoktas@gmail.com
Subject: Re: Strange highload on server
In-Reply-To: <9091.1222364129@sss.pgh.pa.us>
* 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