Re: fsync and semctl errors with 8.1.5/win32 - Mailing list pgsql-bugs
From | Magnus Hagander |
---|---|
Subject | Re: fsync and semctl errors with 8.1.5/win32 |
Date | |
Msg-id | 6BCB9D8A16AC4241919521715F4D8BCEA35990@algol.sollentuna.se Whole thread Raw |
In response to | fsync and semctl errors with 8.1.5/win32 ("Jeremy Haile" <jhaile@fastmail.fm>) |
Responses |
Re: fsync and semctl errors with 8.1.5/win32
|
List | pgsql-bugs |
Per the FAQ, we suggest that you *uninstall* your antivirus. Especially if it has firewall-like functionality (like I beleive McAfee does). Just disabling the scan does *not* remove the filter drivers and does not make the antivirus not affect the database processes. So try this. If the problem doesn't go away, look for something else installed that might be interfernig with the normal operation of your windows install. //Magnus=20 > -----Original Message----- > From: pgsql-bugs-owner@postgresql.org=20 > [mailto:pgsql-bugs-owner@postgresql.org] On Behalf Of Jeremy Haile > Sent: den 27 november 2006 15:21 > To: pgsql-bugs@postgresql.org > Subject: [BUGS] fsync and semctl errors with 8.1.5/win32 >=20 > I've been attempting to run PostgreSQL 8.1.5/win32 on a=20 > production deployment, but have started having many problems.=20 > McAfee Antivirus is installed and running, although I've=20 > excluded the entire drive where PostgreSQL is installed and=20 > where the data is installed. >=20 > I've received several errors in the past few days/weeks.=20=20 > They fall into three general categories 1) permission denied=20 > errors 2) semctl errors 3) fsync errors. I am not sure how=20 > to reproduce these errors locally - they seem to occur at=20 > unpredictable intervals. >=20 > The following posts seem related, although I don't see a=20 > resolution for any of the problems listed: > http://www.mail-archive.com/pgsql-bugs@postgresql.org/msg16097.html > http://www.mail-archive.com/pgsql-bugs@postgresql.org/msg14792.html > http://www.mail-archive.com/pgsql-bugs@postgresql.org/msg14916.html >=20 > I have run PostgreSQL on Linux in the past and not had any=20 > problems. Is the win32 build generally considered stable or=20 > unstable for production use? Any help would be greatly appreciated! >=20 > 1) PERMISSION DENIED ERROR > This error occurred on the same day as the semctl started,=20 > but stopped occurring for a few hours before the semctl=20 > errors started. >=20 > The following is an example: > 2006-11-25 00:46:04 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:05 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:06 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:07 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:08 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:09 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:10 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:11 ERROR: could not open relation 1663/16404/84855: > Permission denied > 2006-11-25 00:46:12 ERROR: could not open relation 1663/16404/84855: > Permission denied >=20 >=20 > 2) SEMCTL ERROR > This error occurred over and over one day with the same=20 > pattern - several semctl errors, then the unexpected EOF.=20=20 > This resulted in clients being unable to create database=20 > connections. The error occurred overnight and into the next=20 > day, and did not disappear until postgres was restarted.=20=20 >=20 > The following is an example: > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 FATAL: semctl(167238064, 15, SETVAL, 0)=20 > failed: A non-blocking socket operation could not be=20 > completed immediately. > 2006-11-25 22:10:03 LOG: could not receive data from client:=20 > No connection could be made because the target machine=20 > actively refused it. > 2006-11-25 22:10:03 LOG: unexpected EOF on client connection >=20 >=20 > 3) FSYNC ERROR > I've seen this error several times in the past - including today. >=20 > The following is an example: > 2006-11-27 00:00:20 LOG: autovacuum: processing database=20 > "incommDashboard" > 2006-11-27 00:00:20 LOG: could not fsync segment 0 of relation > 1663/16404/89952: Permission denied > 2006-11-27 00:00:20 ERROR: storage sync failed on magnetic disk: > Permission denied > 2006-11-27 00:00:24 LOG: could not fsync segment 0 of relation > 1663/16404/89952: Permission denied > 2006-11-27 00:00:24 ERROR: storage sync failed on magnetic disk: > Permission denied > 2006-11-27 00:00:26 LOG: could not fsync segment 0 of relation > 1663/16404/89952: Permission denied > 2006-11-27 00:00:26 ERROR: storage sync failed on magnetic disk: > Permission denied > 2006-11-27 00:00:29 LOG: could not fsync segment 0 of relation > 1663/16404/89952: Permission denied > 2006-11-27 00:00:29 ERROR: storage sync failed on magnetic disk: > Permission denied > 2006-11-27 00:00:32 LOG: could not fsync segment 0 of relation > 1663/16404/89952: Permission denied > 2006-11-27 00:00:32 ERROR: storage sync failed on magnetic disk: > Permission denied > 2006-11-27 00:00:42 LOG: could not fsync segment 0 of relation > 1663/16404/89952: Permission denied > 2006-11-27 00:00:42 ERROR: storage sync failed on magnetic disk: > Permission denied >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >=20
pgsql-bugs by date: