Re: vacuum fails with "could not open statistics file" "Device or resource busy"

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: vacuum fails with "could not open statistics file" "Device or resource busy"
Date: 2018-11-06 02:06:06
Message-ID: db092981-058c-6476-de81-fdd2eb233091@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/19/2018 10:15 PM, Andres Freund wrote:
> Hi,
>
> buildfarm member lorikeet had an interesting buildfarm failure in the
> logical decoding test. The failure looks unrelated to logical decoding,
> but might be more widely relevant:
>
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lorikeet&dt=2018-10-19%2011%3A22%3A34
> VACUUM FULL pg_class;
> + WARNING: could not open statistics file "pg_stat_tmp/global.stat": Device or resource busy
>
> Now that animal is cygwin based, so maybe it's just some random
> weirdness. But ISTM it could also indicate a bug of some sort.
>
> Were it native windows, I'd assume we'd keep a file open with the wrong
> flags or such...
>

I have switched the stats_temp_dir of this animal to a Windows Ramdisk.
Lets' see if the problem persists.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-11-06 02:10:42 Re: pread() and pwrite()
Previous Message LAM JUN RONG 2018-11-06 00:50:46 RE: [PATCH] Improvements to "Getting started" tutorial for Google Code-in task