autovacuum running for a long time on a new table with 1 row - Mailing list pgsql-general

From Lonni J Friedman
Subject autovacuum running for a long time on a new table with 1 row
Date
Msg-id CAP=oouEa=C6HPAFddw5feJKKUv+zJJfZTbO7NJUm84nb0Ez3qQ@mail.gmail.com
Whole thread Raw
Responses Re: autovacuum running for a long time on a new table with 1 row
List pgsql-general
Running 9.1.3 on Linux-x86_64.  I'm seeing autovacuum running for the
past 6 hours on a newly created table that only has 1 row of data in
it.  This table did exist previously, but was dropped & recreated.
I'm not sure if that might explain this behavior.  When I strace the
autovacuum process, I see the following scrolling by non-stop (with no
changes to the file referenced):
select(0, NULL, NULL, NULL, {0, 21000}) = 0 (Timeout)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
select(0, NULL, NULL, NULL, {0, 21000}) = 0 (Timeout)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)
open("base/16412/214803_vm", O_RDWR)    = -1 ENOENT (No such file or directory)

Is this normal/expected?

thanks

pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: PostgreSQL 9.0.4 crashing
Next
From: Joshua Tolley
Date:
Subject: Re: Procedural Languages