From: | "Knut P Lehre" <k(dot)p(dot)lehre(at)world-online(dot)no> |
---|---|
To: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Likely wrong interruption time reported in log files (8.0.0 and 8.0.3). |
Date: | 2005-07-22 11:17:43 |
Message-ID: | 42BFF0FF000004D5@cpfe6.be.tisc.dk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
For some reason the second part of my post ("1) ... 2) Likely wrong interruption
time reported in log files (8.0.0 and 8.0.3).") was split up into several
parts, and some of it disappeared. I am therefore resending it as a separate
message. Could be that the bugs list would be more appropriate. Anyway,
the following happened on Windows Server 2003.
The pgsql server was interrupted a few times, likely because of a hardware
problem. I wanted to check at what time the server had been interrupted,
and found the following info in the log files:
From 1st log file, restart after planned shutdown for backup at 05:00:00
(running version 8.0.0):
2005-04-21 05:55:15 LOG: database system was shut down at 2005-04-21 05:00:00
W. Europe Daylight Time
2005-04-21 05:55:15 LOG: database system is ready
From 2nd log file, automatic restart after likely hardware failure:
2005-04-21 07:07:32 LOG: database system was interrupted at 2005-04-21
05:55:15 W. Europe Daylight Time
2005-04-21 07:07:32 LOG: database system is ready
Note that interruption time is identical to the last startup time.
And similar some weeks later (after upgrade to 8.0.3):
From 1st file:
2005-05-31 05:57:52 LOG: database system was shut down at 2005-05-31 05:00:00
W. Europe Daylight Time
2005-05-31 05:57:52 LOG: database system is ready
From 2nd file:
2005-05-31 09:43:04 LOG database system was interrupted at 2005-05-31
05:57:52 W. Europe Daylight Time
2005-05-31 09:43:04 LOG: database system is ready
Again, the reported interruption time is identical to the last startup time.
The reported pg interruption times also did not match the timestamps produced
by other processes during these events. Could it be that the logger
uses a wrong time stamp for the interruption time report? Does it depend
on settings in postgresql.conf?
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2005-07-22 12:22:17 | Re: 1) Error event produced during 8.0.3 shutdown. 2) Likely rong interruption time reported in log files (8.0.0 and 8.0.3). |
Previous Message | Knut P Lehre | 2005-07-22 10:44:43 | Re: 1) Error event produced during 8.0.3 shutdown. 2) Likely rong interruption time reported in log files (8.0.0 and 8.0.3). |