pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Piotr Trawiński <piotr@rialab.net>
To: pgsql-admin@postgresql.org
Subject: Performance failure / automatic restart / cron ?
Date: Sat, 25 Oct 2003 16:56:40 +0200 (CEST)
Message-ID: <1756.212.76.39.245.1067093800.squirrel@poczta.virtual.pl> (raw)

I have this notorious problem: at some point pgsql simply hangs up and
requires a restart.

---------------------------------------------------------------------------
-------
homer:/usr/share/doc/postgresql-contrib# /etc/init.d/postgresql restart
Restarting PostgreSQL database: postmaster
Stopped /usr/lib/postgresql/bin/postmaster (pid 14243 14245 14247 14750
14811 1489 15569 15570 15573 15584 15643 15644 15665 15800 15801
15804 15817 15874 16072 20473 20474 20549 20763).
Starting PostgreSQL postmaster.
postmaster successfully started
..
homer:/usr/share/doc/postgresql-contrib#
---------------------------------------------------------------------------
-------

Whenever i restart the server i get a long list of pid's - sometimes its many
lines.

I wrote a little script to restart, vacuum and analyze the database. And
although the script runs, there are no results. i have to restart the db
manualy...
ive seen a post about vacuum an analyze not working from the cron,
unfortunately there was no solution.

Ill be happy with any ideas - in the last week the db required me to have it
restarted once a day which is not very convenient.

I realize my app is very resource hungry but the thing is that it works great
with mysql. The problem occurs only with pgsql which i realy need.

Best regards,
Piotr



 



view thread (3+ messages)  latest in thread

Message-ID: <1756.212.76.39.245.1067093800.squirrel@poczta.virtual.pl>
Permalink:  ../1756.212.76.39.245.1067093800.squirrel@poczta.virtual.pl/
Also on:    postgresql.org/message-id/1756.212.76.39.245.1067093800.squirrel@poczta.virtual.pl

 · 

reply

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: piotr@rialab.net
  Subject: Re: Performance failure / automatic restart / cron ?
  In-Reply-To: <1756.212.76.39.245.1067093800.squirrel@poczta.virtual.pl>
  References: <1756.212.76.39.245.1067093800.squirrel@poczta.virtual.pl>

* 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