Re: Power outage and funny chars in the logs

From: "Massa, Harald Armin" <chef(at)ghum(dot)de>
To: glynastill(at)yahoo(dot)co(dot)uk
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Power outage and funny chars in the logs
Date: 2009-05-07 14:19:28
Message-ID: e3e180dc0905070719q58136caai23fbb777fd3c0df7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> What did make me scratch my head was a short stream of @ symbols (well they
> show up as @ symbols in vi) in the log file of the main server (others are
> slony subscribers).
>
> mentioning those @@@@@ symbols ...

1,5 weeks ago there was reported on this list the problem "postgres service
not starting on windows"; after consulting event log the user reported as
message "bogus data in postmaster.pid". After deleting postmaster.pid the
service started up fine.

Soon after a customer of mine reported the same error, also on windows; and
before deleting postmaster.pid I got a copy of that "bogus one". AND: there
where also a lot of @@@@ symobols in postmaster.pid (hex 0)

After reading the answers to the funny chars in the logs and no fsync on the
logs: is there a fsync on postmaster.pid? Or is that file not considered
important enough?

(just digging for the reason for corrupted data in postmaster.pid)...

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
LASIK good, steroids bad?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luigi N. Puleio 2009-05-07 14:35:23 A question about RAISE NOTICE
Previous Message Glyn Astill 2009-05-07 14:09:00 Re: Power outage and funny chars in the logs