Unix Technical Forum

vacuumdb problem v7.4.8

This is a discussion on vacuumdb problem v7.4.8 within the pgsql Admins forums, part of the PostgreSQL category; --> Have 14 systems scattered across the country where... hardware is identical, all run linux OS RHE4.0 with postgresql v7.4.8. ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 08:45 AM
Juliann Meyer
 
Posts: n/a
Default vacuumdb problem v7.4.8

Have 14 systems scattered across the country where... hardware is
identical, all run linux OS RHE4.0 with postgresql v7.4.8.
The hardware is about 4 years old and is scheduled for replacement
sometime next year.
The database structure is identical on each system, the difference is in
the data that is stored within each database, as it varies from site to
site and the amount of data varies as well, so no two databases are
exactly the same size or contains the same data.
Every system runs a "vacuum analyze" 2 to 3 times per day on this
database and a nightly cron job does a pg_dump of the database.

One site is getting errors with the "vacuum analyze" so it basically
fails and similar error then occurs when the nightly backups is run.
The error in the vacuum's logfile looks like this:
INFO: vacuuming "public.pecrsep"

vacuumdb: vacuuming of database "adb_ob72orn" failed: ERROR: could not
read block 18658 of relation "pecrsep_time_ind": Input/output error

The Elec. Technicians at first thought it was an issue with one of the
hard drives, but a very thorough check of the hardware has eliminated
this possibility.
So far they have tried re-installing everything as if its the first time
from scratch on the existing hardware with no success. As a last
resort, the hardware was replaced with a spare (similar age) and
everything installed from scratch. The database and related apps ran
fine for about a week and then the same type of error occurred again
with vacuumdb and pg_dump and it appears to be occurring with the same
database table.

At this point, we don't know what else to try, and the problem hasn't
occurred anywhere else (fortunately). Does anyone have any idea what
this error means and how to fix it.

Any suggestions, ideas, etc would be greatly appreciated.
Julie Meyer




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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 08:45 AM
Tom Lane
 
Posts: n/a
Default Re: vacuumdb problem v7.4.8

Juliann Meyer <Julie.Meyer@noaa.gov> writes:
> vacuumdb: vacuuming of database "adb_ob72orn" failed: ERROR: could not
> read block 18658 of relation "pecrsep_time_ind": Input/output error


This says read() failed with errno EIO, ie the operating system reported
a hardware failure while trying to read that disk block.

> The Elec. Technicians at first thought it was an issue with one of the
> hard drives, but a very thorough check of the hardware has eliminated
> this possibility.


Not thorough enough I would say, because there is no other cause of that
error code than hardware problems.

You do know that PG 7.4.8 is nine minor releases behind the times?
That's not the cause of your immediate problem, but personally
I'd suggest an update before some other bug bites you. See
http://developer.postgresql.org/pgdo...s/release.html

regards, tom lane

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:25 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com