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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: FATAL: could not reattach to shared memory (Win32)
Дата
Msg-id 20070823143035.GP26038@alvh.no-ip.org
обсуждение исходный текст
Ответ на FATAL: could not reattach to shared memory (Win32)  (Terry Yapt <yapt@technovell.com>)
Ответы Re: FATAL: could not reattach to shared memory (Win32)  (Terry Yapt <yapt@technovell.com>)
Список 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                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

В списке pgsql-general по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: reporting tools
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump causes postgres crash