Re: stress test for parallel workers
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>,
Mark Wong <mark@2ndquadrant.com>, Justin Pryzby <pryzby@telsasoft.com>, Andres Freund <andres@anarazel.de>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-10-11T19:41:12Z
Lists: pgsql-hackers
On Sat, Oct 12, 2019 at 7:56 AM Tom Lane <tgl@sss.pgh.pa.us> wrote: > This matches up with the intermittent infinite_recurse failures > we've been seeing in the buildfarm. Those are happening across > a range of systems, but they're (almost) all Linux-based ppc64, > suggesting that there's a longstanding arch-specific kernel bug > involved. For reference, I scraped the attached list of such > failures in the last three months. I wonder whether we can get > the attention of any kernel hackers about that. Yeah, I don't know anything about this stuff, but I was also beginning to wonder if something is busted in the arch-specific fault.c code that checks if stack expansion is valid[1], in a way that fails with a rapidly growing stack, well timed incoming signals, and perhaps Docker/LXC (that's on Mark's systems IIUC, not sure about the ARM boxes that failed or if it could be relevant here). Perhaps the arbitrary tolerances mentioned in that comment are relevant. [1] https://github.com/torvalds/linux/blob/master/arch/powerpc/mm/fault.c#L244
Commits
-
In the postmaster, rely on the signal infrastructure to block signals.
- 8b53dbada4a6 12.5 landed
- 85834023a95e 11.10 landed
- 7753ca49d358 9.6.20 landed
- 4e95733b0864 10.15 landed
- 9abb2bfc0460 13.0 landed
-
Paper over regression failures in infinite_recurse() on PPC64 Linux.
- c7e2364a5f17 12.5 landed
- ae0f7b11f143 14.0 landed
- 855b6f287100 13.1 landed
-
Hack pg_ctl to report postmaster's exit status.
- 6a5084eed495 13.0 landed
-
Re-order some regression test scripts for more parallelism.
- 798070ec058f 12.0 cited