Обсуждение: BUG #4962: Pre-existing shared memory block is still in use

Поиск
Список
Период
Сортировка

BUG #4962: Pre-existing shared memory block is still in use

От
"Carlos Alonso"
Дата:
The following bug has been logged online:

Bug reference:      4962
Logged by:          Carlos Alonso
Email address:      calonso@ictel.com
PostgreSQL version: 8.3.6
Operating system:   Windows XP Home Edition Version 2002 Service Pack 3
Description:        Pre-existing shared memory block is still in use
Details:

2009-08-01 15:36:08 CEST LOG:  server process (PID 5892) was terminated by
exception 0xC0000142
2009-08-01 15:36:08 CEST HINT:  See C include file "ntstatus.h" for a
description of the hexadecimal value.
2009-08-01 15:36:08 CEST LOG:  terminating any other active server
processes
2009-08-01 15:36:08 CEST WARNING:  terminating connection because of crash
of another server process
2009-08-01 15:36:08 CEST DETAIL:  The postmaster has commanded this server
process to roll back the current transaction and exit, because another
server process exited abnormally and possibly corrupted shared memory.
2009-08-01 15:36:08 CEST HINT:  In a moment you should be able to reconnect
to the database and repeat your command.
2009-08-01 15:36:08 CEST WARNING:  terminating connection because of crash
of another server process
2009-08-01 15:36:08 CEST DETAIL:  The postmaster has commanded this server
process to roll back the current transaction and exit, because another
server process exited abnormally and possibly corrupted shared memory.
2009-08-01 15:36:08 CEST HINT:  In a moment you should be able to reconnect
to the database and repeat your command.
[...]
2009-08-01 15:36:08 CEST WARNING:  terminating connection because of crash
of another server process
2009-08-01 15:36:08 CEST DETAIL:  The postmaster has commanded this server
process to roll back the current transaction and exit, because another
server process exited abnormally and possibly corrupted shared memory.
2009-08-01 15:36:08 CEST HINT:  In a moment you should be able to reconnect
to the database and repeat your command.
2009-08-01 15:36:08 CEST FATAL:  the database system is in recovery mode
2009-08-01 15:36:08 CEST FATAL:  the database system is in recovery mode
2009-08-01 15:36:08 CEST LOG:  all server processes terminated;
reinitializing
2009-08-01 15:36:09 CEST FATAL:  pre-existing shared memory block is still
in use
2009-08-01 15:36:09 CEST HINT:  Check if there are any old server processes
still running, and terminate them.

There was no old server processes running.
This has happened twice in two weeks, the system was working for five
months.

It is enough rebooting the computer in one case, and starting the postgres
service by windows's services.msc in the other.

Thank's.

Re: BUG #4962: Pre-existing shared memory block is still in use

От
Magnus Hagander
Дата:
On Tue, Aug 4, 2009 at 12:49, Carlos Alonso<calonso@ictel.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference: =A0 =A0 =A04962
> Logged by: =A0 =A0 =A0 =A0 =A0Carlos Alonso
> Email address: =A0 =A0 =A0calonso@ictel.com
> PostgreSQL version: 8.3.6
> Operating system: =A0 Windows XP Home Edition Version 2002 Service Pack 3
> Description: =A0 =A0 =A0 =A0Pre-existing shared memory block is still in =
use
> Details:
>
> 2009-08-01 15:36:08 CEST LOG: =A0server process (PID 5892) was terminated=
 by
> exception 0xC0000142
> 2009-08-01 15:36:08 CEST HINT: =A0See C include file "ntstatus.h" for a
> description of the hexadecimal value.
> 2009-08-01 15:36:08 CEST LOG: =A0terminating any other active server
> processes
> 2009-08-01 15:36:08 CEST WARNING: =A0terminating connection because of cr=
ash
> of another server process
> 2009-08-01 15:36:08 CEST DETAIL: =A0The postmaster has commanded this ser=
ver
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
> 2009-08-01 15:36:08 CEST HINT: =A0In a moment you should be able to recon=
nect
> to the database and repeat your command.
> 2009-08-01 15:36:08 CEST WARNING: =A0terminating connection because of cr=
ash
> of another server process
> 2009-08-01 15:36:08 CEST DETAIL: =A0The postmaster has commanded this ser=
ver
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
> 2009-08-01 15:36:08 CEST HINT: =A0In a moment you should be able to recon=
nect
> to the database and repeat your command.
> [...]
> 2009-08-01 15:36:08 CEST WARNING: =A0terminating connection because of cr=
ash
> of another server process
> 2009-08-01 15:36:08 CEST DETAIL: =A0The postmaster has commanded this ser=
ver
> process to roll back the current transaction and exit, because another
> server process exited abnormally and possibly corrupted shared memory.
> 2009-08-01 15:36:08 CEST HINT: =A0In a moment you should be able to recon=
nect
> to the database and repeat your command.
> 2009-08-01 15:36:08 CEST FATAL: =A0the database system is in recovery mode
> 2009-08-01 15:36:08 CEST FATAL: =A0the database system is in recovery mode
> 2009-08-01 15:36:08 CEST LOG: =A0all server processes terminated;
> reinitializing
> 2009-08-01 15:36:09 CEST FATAL: =A0pre-existing shared memory block is st=
ill
> in use
> 2009-08-01 15:36:09 CEST HINT: =A0Check if there are any old server proce=
sses
> still running, and terminate them.
>
> There was no old server processes running.
> This has happened twice in two weeks, the system was working for five
> months.
>
> It is enough rebooting the computer in one case, and starting the postgres
> service by windows's services.msc in the other.

The standard question when this happens is - any antivirus or firewall
software on the machine? They are known to cause just this type of
issues. If so, try uninstalling them (not just disabling, but actually
uninstalling is often required) and see if the problem goes away.

--=20
 Magnus Hagander
 Self: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Re: BUG #4962: Pre-existing shared memory block is still in use

От
"Carlos Alonso (ICtel Ingenieros)"
Дата:
Hi,

There is not any antivirus nor firewall software in the machine. There
are software made in C# that runs against the DB with the Ngpsql and
psqlodbc connectors.=20

Thank's