Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Abnormal termin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15876 of 17437
Post > Topic >>

Abnormal termination of PostgreSQL

by bthoen@[EMAIL PROTECTED] (Bill Thoen) Jun 21, 2008 at 11:30 AM

I recently installed Fedora Core 9 and included PostgreSQL, built form 
source. I also built PostGIS, GEOS and GDAL to work with it. I had no 
problems compiling and installing PostgreSQL, but I did have some 
problems building GEOS and GDAL, although I think I've resolved those 
(FC9 comes with gcc 4.3.0 which has had some changes that affect 
building older source.) I'm using the latest versoin of everything. 
PostgreSQL is ver 8.3.3.

Anyway, I created a database and "spatialized" it. Then created and 
populated a table of about 1.7 million records that have no spatial 
component. Then I ran an SQL update command to convert some double 
precision columns to 1/100 and 1/10 of their original values. During 
this update, about ten minutes into the operation (about when I expected 
it would be done) the postgres server shuts down suddenly. It re****ts 
this message:

vfm=> \i update.sql
psql:update.sql:1: server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
psql:update.sql:1: connection to server was lost


Nothing very helpful is re****ted in the serverlog file except the 
shutdown message.

In /var/log/messages I get:

Jun 21 10:42:57 sandbox kernel: postmaster[2534]: segfault at b8cfeabf 
ip 08081357 sp bfb113c0 error 4 in postgres[8048000+335000]


I tried changing the SQL to only updating one field (e.g. 'update 
corn0716 set average_yield = average_yield / 100 ;') and it also failed 
in the same manner in about the same time (~10 minutes).

Does anyone know what happened and how I can fix it?

- Bill Thoen




-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
Abnormal termination of PostgreSQL
bthoen@[EMAIL PROTECTED]   2008-06-21 11:30:43 
Re: Abnormal termination of PostgreSQL
tgl@[EMAIL PROTECTED] (T  2008-06-21 13:52:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 16:55:46 CST 2008.