Re: [BUGS] BUG #2712: could not fsync segment: Permission denied

2006-10-23 Thread Thomas H.
unfortunately not. 
and this is not happening with 8.1


regards,
thomas

- Original Message - 
From: Tom Lane [EMAIL PROTECTED]

To: Thomas H [EMAIL PROTECTED]
Cc: pgsql-bugs@postgresql.org
Sent: Monday, October 23, 2006 4:07 AM
Subject: Re: [BUGS] BUG #2712: could not fsync segment: Permission denied



Thomas H [EMAIL PROTECTED] writes:

Operating system:   windows 2003 standard
Description:could not fsync segment: Permission denied


The usual answer to this has been that you're running some
overenthusiastic antivirus software.

regards, tom lane

---(end of broadcast)---
TIP 6: explain analyze is your friend




---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

  http://www.postgresql.org/docs/faq


Re: [BUGS] BUG #2712: could not fsync segment: Permission denied

2006-10-23 Thread Thomas H.
there is defenitely something terribly wrong in the windows 8.2b1 regarding 
file access/locking. 2nd total db lockup today due to file access locks (all 
hold by postmaster):


{...}
2006-10-23 17:48:10 LOG:  42501: could not fsync segment 0 of relation 
1663/3964774/6419608: Permission denied

2006-10-23 17:48:10 LOCATION:  mdsync, md.c:785
2006-10-23 17:48:10 ERROR:  XX000: storage sync failed on magnetic disk: 
Permission denied

2006-10-23 17:48:10 LOCATION:  smgrsync, smgr.c:888
2006-10-23 17:48:10 LOG:  0: duration: 327.999 ms  statement: SELECT 
threads.*, first.login AS first_user, last.login AS last_user FROM 
forum.threads JOIN users.users AS first ON first.id = threads.t_first_user 
LEFT JOIN users.users AS last ON last.id = threads.t_last_user WHERE t_b_id 
= 4 AND t_status_deleted = false ORDER BY t_status_sticky DESC, t_last_post 
DESC

2006-10-23 17:48:10 LOCATION:  exec_simple_query, postgres.c:1007
2006-10-23 17:48:14 LOG:  0: could not rename file 
pg_xlog/00010004002E to pg_xlog/000100040037, 
continuing to try

2006-10-23 17:48:14 LOCATION:  pgrename, dirmod.c:142
2006-10-23 18:12:05 LOG:  0: received fast shutdown request
2006-10-23 18:12:05 LOCATION:  pmdie, postmaster.c:1903
2006-10-23 18:12:05 LOG:  0: aborting any active transactions
2006-10-23 18:12:05 LOCATION:  pmdie, postmaster.c:1910
2006-10-23 18:12:05 FATAL:  57P01: terminating connection due to 
administrator command

2006-10-23 18:12:05 LOCATION:  ProcessInterrupts, postgres.c:2465
2006-10-23 18:12:06 ERROR:  XX000: could not rename file 
pg_xlog/00010004002E to pg_xlog/000100040037 
(initialization of log file 4, segment 55): A blocking operation was 
interrupted by a call to WSACancelBlockingCall.

2006-10-23 18:12:06 LOCATION:  InstallXLogFileSegment, xlog.c:2201
{...}

from 17:48:14 on pgsql didn't handle anymore queries until shutdown. as soon 
as one restarts postmaster, the file locks are cleared up.


and no, there are no other file locking tools (av scanners and the such) 
running - 8.1 on the same box (even on same partition) run fine.


regarnds,
- thomas




- Original Message - 
From: Thomas H. [EMAIL PROTECTED]

To: Tom Lane [EMAIL PROTECTED]
Cc: pgsql-bugs@postgresql.org
Sent: Monday, October 23, 2006 11:52 AM
Subject: Re: [BUGS] BUG #2712: could not fsync segment: Permission denied



unfortunately not. and this is not happening with 8.1

regards,
thomas

- Original Message - 
From: Tom Lane [EMAIL PROTECTED]

To: Thomas H [EMAIL PROTECTED]
Cc: pgsql-bugs@postgresql.org
Sent: Monday, October 23, 2006 4:07 AM
Subject: Re: [BUGS] BUG #2712: could not fsync segment: Permission denied



Thomas H [EMAIL PROTECTED] writes:

Operating system:   windows 2003 standard
Description:could not fsync segment: Permission denied


The usual answer to this has been that you're running some
overenthusiastic antivirus software.

regards, tom lane

---(end of broadcast)---
TIP 6: explain analyze is your friend




---(end of broadcast)---
TIP 3: Have you checked our extensive FAQ?

  http://www.postgresql.org/docs/faq





---(end of broadcast)---
TIP 4: Have you searched our list archives?

  http://archives.postgresql.org


Re: [BUGS] BUG #2712: could not fsync segment: Permission denied

2006-10-22 Thread Thomas H.

in verbose mode, the log shows a little bit more:

2006-10-23 03:23:14 LOG:  42501: could not fsync segment 0 of relation 
1663/3964774/6411190: Permission denied

2006-10-23 03:23:14 LOCATION:  mdsync, md.c:785
2006-10-23 03:23:14 ERROR:  XX000: storage sync failed on magnetic disk: 
Permission denied

2006-10-23 03:23:14 LOCATION:  smgrsync, smgr.c:888

- thomas

- Original Message - 
From: Thomas H [EMAIL PROTECTED]

To: pgsql-bugs@postgresql.org
Sent: Monday, October 23, 2006 1:28 AM
Subject: [BUGS] BUG #2712: could not fsync segment: Permission denied




The following bug has been logged online:

Bug reference:  2712
Logged by:  Thomas H
Email address:  [EMAIL PROTECTED]
PostgreSQL version: 8.2b1
Operating system:   windows 2003 standard
Description:could not fsync segment: Permission denied
Details:

sometimes we're seeing loads of errors in the log:

2006-10-22 23:48:50 LOG:  could not fsync segment 0 of relation
1663/3964774/6409340: Permission denied
2006-10-22 23:48:50 ERROR:  storage sync failed on magnetic disk: 
Permission

denied
2006-10-22 23:48:51 LOG:  could not fsync segment 0 of relation
1663/3964774/6409340: Permission denied
2006-10-22 23:48:51 ERROR:  storage sync failed on magnetic disk: 
Permission

denied
2006-10-22 23:48:52 LOG:  could not fsync segment 0 of relation
1663/3964774/6409340: Permission denied
2006-10-22 23:48:52 ERROR:  storage sync failed on magnetic disk: 
Permission

denied
2006-10-22 23:48:53 LOG:  could not fsync segment 0 of relation
1663/3964774/6409340: Permission denied
2006-10-22 23:48:53 ERROR:  storage sync failed on magnetic disk: 
Permission

denied
{...}

when this happens, there are also files locked within the 
data\base\{dbid}\.

access to those files are denied by the os - the files vanish as soon as
postmaster ist stopped  restarted.

i haven't yet found a possible reason - i suspect the error to appear
*sometimes* after issuing a VACUUM FULL ANALYZE {tablename} / REINDEX
TABLE {tablename}.

the hardware is checked and ok.

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings





---(end of 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


Re: [BUGS] BUG #2712: could not fsync segment: Permission denied

2006-10-22 Thread Tom Lane
Thomas H [EMAIL PROTECTED] writes:
 Operating system:   windows 2003 standard
 Description:could not fsync segment: Permission denied

The usual answer to this has been that you're running some
overenthusiastic antivirus software.

regards, tom lane

---(end of broadcast)---
TIP 6: explain analyze is your friend