Re: Runtime error: could not open segment 1 of relation ... - Mailing list pgsql-admin

From Talha Khan
Subject Re: Runtime error: could not open segment 1 of relation ...
Date
Msg-id f80885fc0609261533g1c5326f7r19805c1d87907181@mail.gmail.com
Whole thread Raw
In response to Re: Runtime error: could not open segment 1 of relation ...  ("Gregory S. Williamson" <gsw@globexplorer.com>)
List pgsql-admin
Try reindexing your database and see if that solves your problem.
 
Regards
Talha Khan

 
On 9/26/06, Gregory S. Williamson <gsw@globexplorer.com> wrote:
Thanks for the suggestion ...no evidence of such a shutdown. The first of these errors (since 2005-10-28) was at 2006-09-26 05:37: 19.157 PDT today; machine was last shut serveral weeks ago. There's been several large updates since then (sort of batch process for updates, then the server is read-only for 99.999 of the time).

Greg

-----Original Message-----
From:   Talha Khan [mailto:talha.amjad@gmail.com]
Sent:   Tue 9/26/2006 3:21 PM
To:     Gregory S. Williamson
Cc:     pgsql-admin@postgresql.org
Subject:        Re: [ADMIN] Runtime error: could not open segment 1 of relation ...

Hi Greg,

Is it possible that the server was shutdown using -mi switch?

cuz immediate shutdown ends causing these problems.

Regards
Talha Khan


On 9/26/06, Gregory S. Williamson <gsw@globexplorer.com> wrote:
>
> This morning one of our production servers (8.1.1, Linux) threw a number
> of  errors like these (different final number; first two [1663/43801] are
> all the same]:
>
> 2006-09-26 10:02:15.124 PDT 1387333718 ERROR:  could not open segment 1 of
> relation 1663/43801/7274801 (target block 478216192): No such file or
> directory
> 2006-09-26 10:02:52.991 PDT 1387340456 ERROR:  could not open segment 1 of
> relation 1663/43801/7274801 (target block 478216192): No such file or
> directory
> 2006-09-26 10:02: 53.002 PDT 1387340458 ERROR:  could not open segment 1 of
> relation 1663/43801/7274801 (target block 478216192): No such file or
> directory
>
> The server never really recovered -- it kept running but was horribly
> slow. Rebooting seems to have cured the problem, but I am wondering what I
> made look into, etc.
>
> The server in question is really a read-only beast with several hundred
> connections, typically, 4 gigs of RAM, and has not misbehaved before.
>
> Any suggestions would be welcome! (Although I fear I know the answer --
> disk issues.)
>
> Thanks,
>
> Greg Williamson
> DBA
> GlobeXplorer LLC
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>



-------------------------------------------------------
Click link below if it is SPAM gsw@globexplorer.com
"https://mailscanner.globexplorer.com/dspam/dspam.cgi?signatureID=4519a6f898846491211187&user=gsw@globexplorer.com&retrain=spam&template=history&history_page=1 "
!DSPAM:4519a6f898846491211187!
-------------------------------------------------------




pgsql-admin by date:

Previous
From: "Gregory S. Williamson"
Date:
Subject: Re: Runtime error: could not open segment 1 of relation ...
Next
From: Tom Lane
Date:
Subject: Re: Runtime error: could not open segment 1 of relation ...