Re: FATAL: could not reattach to shared memory (Win32)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Terry Yapt <yapt(at)technovell(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: FATAL: could not reattach to shared memory (Win32)
Date: 2007-08-23 14:30:35
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Terry Yapt wrote:

> I am looking for system errors and nothing is there. But I have a lot of
> messages on system APP errors. The error is the same every ten seconds or
> so.
> This is the main error:
> * FATAL: could not reattach to shared memory (key=5432001, addr=01D80000):
> Invalid argument

Please run "ipcs" on a command line window and paste the results.

I see a minor problem in that code: we are invoking two system calls
(shmget and shmat) but the log does not say which one failed. However
in this case it seems only shmget could be returning EINVAL.

Alvaro Herrera
The PostgreSQL Company - Command Prompt, Inc.

In response to


Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-08-23 14:30:57 Re: pg_dump causes postgres crash
Previous Message Gauthier, Dave 2007-08-23 14:23:12 Re: reporting tools