From: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
---|---|
To: | BangarRaju Vadapalli <BangarRaju(dot)Vadapalli(at)infor(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: random backend crashes - how to debug ( Is crash dump handler released ? ) |
Date: | 2011-06-19 09:33:12 |
Message-ID: | 4DFDC258.2040006@postnewspapers.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 06/14/2011 10:26 PM, BangarRaju Vadapalli wrote:
> Hi Everybody,
>
> We are using PostGRE 8.4 version and experiencing random backend
> crashes. We have enabled logging and are able to see some logging
> happening in pg_log directory but not of much use. Here are the logs.
- Examination of the full length logs sent off-list shows these lines
leading up to the crash:
(crash1): 2011-06-15 13:55:59 IST postgres epimart ERROR: XX000: could
not open relation base/2850136/3344343_vm: A blocking operation was
interrupted by a call to WSACancelBlockingCall.^M
(crash2) 2011-06-15 14:22:40 IST postgres epimart ERROR: XX000: could
not open relation base/2850136/3352537_fsm: A blocking operation was
interrupted by a call to WSACancelBlockingCall.^M
... in both cases followed by:
XX000: cannot abort transaction 19859931, it was already committed
then a Windows runtime message reporting that the backend crashed.
Ideas?
After some off-list conversation, we've established that:
- The crash is part of a batch process where the OP loads data from
external sources. It's the 11th stage of a 12 stage process, and cannot
be easily separated into a small self-contained test case. If the OP
runs just the 11th stage standalone, without having just run the prior
stages, the crash does not occur. It only crashes if the whole process
is run in one go.
(OP: please confirm that my summary is accurate, as it's condensed from
several emails).
- The crash is reproducible on 9.0 . It hasn't yet been reproduced on
9.1 because the OP is having some problems with views on 9.1 that he'll
be posting about separately.
- We can't seem to get a crash dump or attach a debugger to get a
backtrace. I built a copy of the early version of the crash dump
handler before it was integrated into 9.1 so he could load it as a DLL
into 8.4, and it works when the backend is intentionally crashed but
doesn't capture the crash that's causing the problem.
- I still haven't been able to confirm how the batch process in question
works. Does it all run in a single connection with a single transaction?
Or is it a multi-connection affair with multiple scripts / programs
involved? If Bangar Raju could describe this part in more detail that
would be very helpful.
--
Craig Ringer
Attachment | Content-Type | Size |
---|---|---|
log-extract2.txt | text/plain | 3.8 KB |
log-extract.txt | text/plain | 3.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2011-06-19 10:29:45 | Re: Referencing function value inside CASE..WHEN |
Previous Message | Craig Ringer | 2011-06-19 09:21:26 | Re: Port forwarding via iptables to postgres listening locally |