Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftDoh-0006PV-Vf for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Aug 2018 15:16:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ftDof-0000v5-OZ for pgsql-bugs@arkaria.postgresql.org; Fri, 24 Aug 2018 15:16:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftDof-0000uR-IB for pgsql-bugs@lists.postgresql.org; Fri, 24 Aug 2018 15:16:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftDob-0001MV-0P for pgsql-bugs@lists.postgresql.org; Fri, 24 Aug 2018 15:15:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w7OFFrMo012946; Fri, 24 Aug 2018 11:15:53 -0400 From: Tom Lane To: kieran.mccusker@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15350: Getting invalid cache ID: 11 Errors In-reply-to: <153512195228.1489.8545997741965926448@wrigleys.postgresql.org> References: <153512195228.1489.8545997741965926448@wrigleys.postgresql.org> Comments: In-reply-to =?utf-8?q?PG_Bug_reporting_form?= message dated "Fri, 24 Aug 2018 14:45:52 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12944.1535123753.1@sss.pgh.pa.us> Date: Fri, 24 Aug 2018 11:15:53 -0400 Message-ID: <12945.1535123753@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?utf-8?q?PG_Bug_reporting_form?= writes: > We're using 10.5 with parallel queries enabled and the config options > #max_worker_processes = 8 > #max_parallel_workers_per_gather = 2 > #max_parallel_workers = 8 > I'm seeing invalid cache ID: 11 errors in the log. It's only happening > occasionally (15 times today on a not very busy system). Interesting. Syscache 11 would be AUTHOID, which seems to be consulted mostly for privilege checks, though there's at least one reference during process startup. > I've been following > the thread about making windowing functions et al parallel restricted - Is > this another manifestation of the problem? No, I don't think it's that. We've seen a couple of reports of similar failures referencing cache 42, but this is a new symptom. > I also don't see how to create a test case sorry. Don't suppose you'd be prepared to recompile PG to turn that ERROR into a PANIC, and then capture a stack trace from the core dump next time it happens? regards, tom lane