Re: PostgreSQL XID exceeded crash.

From: Mario Lopez <mario(at)lar3d(dot)com>
To: Mario Lopez <mario(at)lar3d(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL XID exceeded crash.
Date: 2006-09-04 14:42:20
Message-ID: 44FC3B4C.3060403@lar3d.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hola Alvaro,

The process that are being reaped are postgresql child processes, more
precisely the process that is attending my queryes...

Here I have another log that has the %p %i and %x in that order but I
see no clear difference.

Thanks.

Alvaro Herrera escribió:
> Mario Lopez wrote:
>
>> Hi Alvaro,
>>
>> Ok, maybe is not a crash but this issue makes postgresql reap all of
>> it's child processes and restart operations, after this error I get in
>> pg_restore this message:
>>
>> pg_restore: [archivador (bd)] Error durante PROCESAMIENTO DE TABLA DE
>> CONTENIDOS:
>> pg_restore: [archivador (bd)] Error en entrada de la tabla de contenidos
>> 1893; 0 1615776 TABLE DATA xxxxx postgres
>> pg_restore: [archivador (bd)] could not execute query: server closed the
>> connection unexpectedly
>> This probably means the server terminated abnormally
>> before or while processing the request.
>> Command was: INSERT INTO xxxxx VALUES (1755298, 2, 117, 28, 1155,
>> 52457, 1, 1, '', '', '', '', NULL);
>> pg_restore: [archivador (bd)] could not execute query: sin resultado
>> desde el servidor
>>
>> I have a attached a log from the XID exhausted resources till it reaps
>> all of it's child processes, which ends in a crash from pg_restore or
>> any application using this table.
>>
>
> The actual problem is shown in these lines:
>
> DEBUG: 00000: reaping dead processes
> UBICACION: reaper, postmaster.c:2021
> DEBUG: 00000: proceso de servidor (PID 31622) termino con codigo de salida 255
> UBICACION: LogChildExit, postmaster.c:2419
> LOG: 00000: proceso de servidor (PID 31622) termino con codigo de salida 255
>
>
> What you need to find out is why is this process is terminating with
> code 255. What is it anyway? If you added %p to log_line_prefix we
> could have a better idea of what is it and what is it doing.
>
>

Attachment Content-Type Size
log.txt text/plain 12.3 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2006-09-04 14:55:17 Re: PostgreSQL XID exceeded crash.
Previous Message Philippe Lang 2006-09-04 12:41:25 Re: Plperl functions with OUT parameters crashing each other when used in the same connection