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.