X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A969AD1B51B for ; Sat, 25 Oct 2003 14:55:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 33757-06 for ; Sat, 25 Oct 2003 11:55:10 -0300 (ADT) Received: from smtp.virtual.pl (virtual.pl [195.150.169.40]) by svr1.postgresql.org (Postfix) with SMTP id 3DBC4D1B504 for ; Sat, 25 Oct 2003 11:55:04 -0300 (ADT) Received: (qmail 28098 invoked by uid 700); 25 Oct 2003 14:54:50 -0000 Received: from unknown (HELO 360stopni.pl) (217.98.100.40) by 217.98.100.40 with SMTP; 25 Oct 2003 14:54:50 -0000 Received: from 212.76.39.245 (SquirrelMail authenticated user piotr@360stopni.pl) by poczta.virtual.pl with HTTP; Sat, 25 Oct 2003 16:54:50 +0200 (CEST) Message-ID: <1716.212.76.39.245.1067093690.squirrel@poczta.virtual.pl> Date: Sat, 25 Oct 2003 16:54:50 +0200 (CEST) Subject: Performance failure / automatic restart / cron ? From: To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.8 tagged_above=0.0 required=5.0 tests=BAYES_30, MISSING_MIMEOLE, MISSING_OUTLOOK_NAME, MSG_ID_ADDED_BY_MTA_3, NO_REAL_NAME, RCVD_IN_NJABL, X_NJABL_OPEN_PROXY X-Spam-Level: ** X-Archive-Number: 200310/304 X-Sequence-Number: 10865 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.