![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
"Thomas H." <me (AT) alternize (DOT) com> 23.10.2006 18:21 there is defenitely something terribly wrong in the windows 8.2b1 |
#2
| |||
| |||
|
|
The same problem exists in 8.1 too. See this thread http://archives.postgresql.org/pgsql...4/msg00177.php Tom and Magnus tracked down a cause, but I don't think a fix was ever implemented. |
#3
| |||
| |||
|
|
The same problem exists in 8.1 too. See this thread |
|
"Thomas H." <me (AT) alternize (DOT) com> 23.10.2006 18:21 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 LOCATION: exec_simple_query, postgres.c:1007 2006-10-23 17:48:14 LOG: 00000: could not rename file "pg_xlog/00000001000000040000002E" to "pg_xlog/000000010000000400000037", continuing to try ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
#4
| |||
| |||
|
|
Tom Lane <tgl (AT) sss (DOT) pgh.pa.us> 23.10.2006 19:49 installed), but there is no known reason other than antivirus software |
#5
| |||
| |||
|
|
"Thomas H." <me (AT) alternize (DOT) com> 23.10.2006 20:00 is there any workaround? how did you get around that problem of having |
#6
| |||
| |||
|
|
FWIW, we were bitten by the fsync problem which you noticed too. Unfortunately we were never able to track down a cause (see the mailing list archives). They are separate problems though. |
#7
| |||
| |||
|
|
Actually, now that I look back in the archives, I think we had theorized that the fsync errors come from attempting to fsync a file that's already been deleted but some backend still has a reference to. Apparently that leads to EACCES instead of ENOENT (which the code is already prepared to expect). |
#8
| |||
| |||
|
|
with process explorer i can actually check which postgres.exe instance (in all cases i've checked its just 1 instance, and always just 1 file) holds the lock for the file in question. |
|
the postgres instance that holds the lock eventually closes the filehandle after some minutes. the process itself is not killed but continues thereafter. |
#9
| |||
| |||
|
|
with process explorer i can actually check which postgres.exe instance (in all cases i've checked its just 1 instance, and always just 1 file) holds the lock for the file in question. So which one is it? |
#10
| |||
| |||
|
|
right now its PID 4844 ("\BaseNamedObjects\pgident: postgres: db_outnow outnow1 127.0.0.1(2122) idle") that tries to write "D:\DB\PostgreSQL-8.2\data\base\3964774\6422331" |
|
can i somehow check what object that file-OID belong(ed/s) to? |
![]() |
| Thread Tools | |
| Display Modes | |
| |