From: | "Thomas H(dot)" <me(at)alternize(dot)com> |
---|---|
To: | "Magnus Hagander" <mha(at)sollentuna(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Peter Brant" <Peter(dot)Brant(at)wicourts(dot)gov>, <pgsql-bugs(at)postgresql(dot)org>, "Bruce Momjian" <bruce(at)momjian(dot)us> |
Subject: | Re: xlog lockup patch (was: BUG #2712: could not fsync segment: Permission) |
Date: | 2006-10-31 06:23:37 |
Message-ID: | 07b401c6fcb5$1a5499f0$0201a8c0@iwing |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
i've loaded 1gb of data without any xlog-problems, whereas with the 8.2b2
executable it locked up after ~100mb. the xlog-files are cycling...
if i need to test for some specific behaviour let me know.
maybe a similar patch could be found for the 2nd permission problem, where
the writer process tries to use a previously deleted file whose filehandle
is still in use by another postgresql process:
2006-10-31 07:12:37 [5392] ERROR: 42501: could not open relation
1663/3964774/6696548: Permission denied
2006-10-31 07:12:37 [5392] LOCATION: mdopen, md.c:366
2006-10-31 07:12:38 [5392] ERROR: 42501: could not open relation
1663/3964774/6696548: Permission denied
2006-10-31 07:12:38 [5392] LOCATION: mdopen, md.c:366
thanks for your efforts, very much appreciated!
- thomas
----- Original Message -----
Sent: Sunday, October 29, 2006 6:10 PM
Subject: Re: [BUGS] BUG #2712: could not fsync segment: Permission
> > I haven't reproduced this on my box. But if you can give me
> a patch to
> > try I can build binaries for Thomas to test, if he can do
> testing but
> > not building.
>
> Utterly untested ... BTW, why does pgrename have an #if to
> check either GetLastError() or errno, but pgunlink doesn't?
Ok, I've built a .EXE with this patch. It's compiled without pretty much
all other options, hope that still works :-) (Meaning no NLS, no
kerberos, no SSL etc)
Grab the exe from
http://www.hagander.net/download/postgres_renamepatch.zip.
Sorry about the delay.
//Magnus
---------------------------(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
From | Date | Subject | |
---|---|---|---|
Next Message | Ivan Volf | 2006-10-31 17:49:49 | BUG #2726: reindex database failed if number is in database name |
Previous Message | Thomas H. | 2006-10-31 00:30:22 | beta2: process crash: server process (PID 4872) exited with exit code -1073741819 |
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2006-10-31 10:41:10 | Re: [HACKERS] WAL logging freezing |
Previous Message | Tom Lane | 2006-10-31 02:31:28 | Re: --single-transaction doc clarification |