Re: Bad behaviour in Sun Cluster

From: Patricio Mora <patricio(dot)mora(at)juntadeandalucia(dot)es>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Bad behaviour in Sun Cluster
Date: 2008-10-31 13:17:07
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-general

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Scott Marlowe escribi&oacute;:
<pre wrap="">On Fri, Oct 31, 2008 at 5:00 AM, Patricio Mora
<a class="moz-txt-link-rfc2396E" href="mailto:patricio(dot)mora(at)juntadeandalucia(dot)es">&lt;patricio(dot)mora(at)juntadeandalucia(dot)es&gt;</a> wrote:
<blockquote type="cite">
<pre wrap="">Hello all.

- postmaster (PostgreSQL) 7.4.5 (Update unviable due to application)
<pre wrap=""><!---->
And this prevents you from updating to 7.4.22?
Thanks, I'll try it on my development environment. I tried some 8
version and application crashed.<br>
<pre wrap="">
<blockquote type="cite">
<pre wrap="">- Solaris 9
- Sun Cluster 3.1.0
- SUNWscPostgreSQL 3.1.0

About 3 times each week, the check_pgs function of the SUNWscPostgreSQL
bin/functios file, stops my Postgres database.
I enabled the cluster's monitor logs (DEBUG=ALL on etc/config) and found it
complains about a time out when manipulating the tables of the Postgres user
used for the cluster to test the health of the DB server.

The command it throws is this:

/usr/bin/su - postgres -c /usr/bin/env
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/pgsql/lib /usr/bin/env
PGPASSWORD=XXXX /usr/bin/env PGDATA=/postgres/data /usr/bin/env PGPORT=5432
/usr/local/pgsql/bin/psql -d sc3_test_database -U scuser -c "truncate
sc3_table;insert into sc3_table (sccol) values('hello im there');select *
from sc3_table" &gt; /tmp/postgres_server-postgres-tbl-out 2&gt;

A minute after the timeout occurs. Postgres.log doesn't show anything (I
dont log SQL instructions)
<pre wrap=""><!---->
Are there any errors in the logs?
Postgres doesn't show any log (I'm logging only connections)<br>
Cluster says that the service is broken.<br>
And SUNWscPostgreSQL says:<br>
15:45:47 The probe command &lt;/opt/SUNWscPostgreSQL/bin/control_pgs -R
postgres_server -G postgres_rg -P /postgres/data/postgres.conf.cluster
probe&gt; timed out<br>
15:45:47 Restarting the resource postgres_server.<br>

Attachment Content-Type Size
unknown_filename text/html 2.4 KB

In response to


Browse pgsql-general by date

  From Date Subject
Next Message Kevin Murphy 2008-10-31 13:20:48 perl-DBD-Pg package for CentOS 5?
Previous Message Scott Marlowe 2008-10-31 13:03:52 Re: Bad behaviour in Sun Cluster