C_C_A animal on HEAD gets stuck in initdb

From: Christian Ullrich <chris(at)chrullrich(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: C_C_A animal on HEAD gets stuck in initdb
Date: 2019-04-01 08:38:56
Message-ID: 962831d8-c18d-180d-75fb-8b842e3a2742@chrullrich.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

my CLOBBER_CACHE_ALWAYS animal, jaguarundi, has gotten stuck in "make
check"'s initdb three times in a row now.

I have trace output covering about the final minute of initdb. It mainly
consists of ~90000 iterations of

- Open base/1/1259 [pg_class]
- Seek to end [twice]
- Open global/pg_filenode.map
- Read 512 bytes
- Close global/filenode.map
- Open base/1/pg_filenode.map
- Read 512 bytes
- Close base/1/pg_filenode.map
- Close base/1/1259

with some operations on other heap files in between. At the very end, it
writes 8K of zeros to 1259_fsm at offset 0x10000, then it starts waiting
on a semaphore and never finishes.

If someone would like the 0.5 GiB of trace output (FreeBSD ktrace), it
compresses to 1.75 MiB.

All the best,

--
Christian

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Arthur Zakirov 2019-04-01 08:39:53 Re: [PROPOSAL] Shared Ispell dictionaries
Previous Message Amit Langote 2019-04-01 08:37:23 Re: speeding up planning with partitions