Skip site navigation (1) Skip section navigation (2)

Re: rmtree() failure on Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: rmtree() failure on Windows
Date: 2004-10-25 15:56:35
Message-ID: 20584.1098719795@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Shown below is an extract from the traces of make installcheck in 
> contrib. It is decorated with some extra traces I built into 
> src/port/dirmod.c::rmtree(). It shows quite reproducible failure of 
> rmtree(), mostly at the rmdir calls, but even more worryingly there are 
> consistent unlink failures also.

I kinda suspect that what you are looking at is a problem with the
delayed-unlinking feature that we built to cope with Windows' inability
to unlink open files, ie, it's being a little too slow to do the
unlinks.  Would you refresh my memory about exactly where and when the
unlink happens if the initial try fails?

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2004-10-25 16:03:07
Subject: Re: rmtree() failure on Windows
Previous:From: Jan WieckDate: 2004-10-25 15:34:25
Subject: Re: ARC Memory Usage analysis

pgsql-patches by date

Next:From: Andrew DunstanDate: 2004-10-25 16:03:07
Subject: Re: rmtree() failure on Windows
Previous:From: Jan WieckDate: 2004-10-25 15:34:25
Subject: Re: ARC Memory Usage analysis

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group