Search Postgresql Archives

Re: Problem with frequent crashes related to semctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Maier <adrian.maier@xxxxxxxxxxxxxxx> writes:
> I am running PostgreSQL 8.3.5 on a linux machine (Ubuntu 10.04).
> Sometimes it happens that connecting to the database fails with error :

>      FATAL:  semctl(360458, 3, SETVAL, 0) failed: Invalid argument (PGError)

> If i restart postgres the problem gets "fixed".  It doesn't matter how do i
> connect to the database :  i saw this happening from psql, from jdbc, and
> from ruby.

The most likely theory is that something deleted Postgres' semaphores
out from under it.  You could check this by noting the output of "ipcs -s"
while the database is running normally, and then comparing to the output
after it starts to fail.

If that does seem to be what's happening, look around for root-executed
scripts doing "ipcrm" calls.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux