Re: connection timeout? - Mailing list pgsql-novice

From Frank Bax
Subject Re: connection timeout?
Date
Msg-id 5.2.1.1.0.20070203162224.045bad30@pop6.sympatico.ca
Whole thread Raw
In response to connection timeout?  (Frank Bax <fbax@sympatico.ca>)
Responses Re: connection timeout?  ("Shoaib Mir" <shoaibmir@gmail.com>)
Re: connection timeout?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Script and database are both on same system.  Faster system was able
to get past next database access.  So far so good, script continues
to run.  Still curious why it failed on slower system, though. 
Was this just a one-time "glitch"?
Background info: This is a *very* long running script (could be days)
that initially loads data from database, then periodically updates
database to let know current status of otherwise cpu-intensive
process.  Running on a P4 1.80Ghz processor, script got to one of
the "status update" points in the process in 11:14 (hrs:min); a
Core2Duo 1.86Ghz system took 4:06 (quite close to prediction) to reach
same point in process.  Script does not exploit
multi-processors.

At 01:35 PM 2/3/07, Shoaib Mir wrote:
Make sure there is no firewall
setting in between the database server and application that might be
closing the connections...
--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com
)
On 2/3/07, Frank Bax
<fbax@sympatico.ca>
wrote:
Is there a connection
timeout?  I'm using DBD::Pg  (1.47) in perl to access
8.2.1 database.
I've got a rather long running script; it does a bit of database
access,
then did some other crunching for about 11-12 hours before making another

pgsql call; at which point, I get this error:
FATAL:  This connection has been terminated by the
administrator.
I've restarted my script on a faster system and expect to get to the
same
point in about 4 hours this time.  Hopefully timeout values won't
get in
the way this time?

---------------------------(end of
broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

pgsql-novice by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: Send Email from Postgressql
Next
From: "Derrick Betts"
Date:
Subject: Accessing RECORD variable info