Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMXTc-0000jR-Tp for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 14:48:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lMXTb-0007K7-Rn for pgsql-general@arkaria.postgresql.org; Wed, 17 Mar 2021 14:48:47 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lMXTb-0007CD-Er for pgsql-general@lists.postgresql.org; Wed, 17 Mar 2021 14:48:47 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lMXTY-0005Fn-KK for pgsql-general@postgresql.org; Wed, 17 Mar 2021 14:48:46 +0000 Received: by mail-ej1-x62d.google.com with SMTP id dx17so3068370ejb.2 for ; Wed, 17 Mar 2021 07:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=DW9ZfKgCxFRo868D0z8QXtYbhSQkR6b0RseyourPtaY=; b=LmJBOmFned/YKzSmFp2ZUhO0dXexCpMTKk0cw6lw6fWC1A5ydE4uDdGvRmkz84udub FyuXlnmes9o9aC2SJy7V5Cz5CuCRlV3WxAFS9cvgiRKGxsHS9zCly96xdBbimJj2Ka6G RRIuDU3KczyPJa7kqtGhZoWWP/r9T3OpS26J7QL33uwQ5ClYQ8OzLjQZzoigFDnvHlmJ 9FLOOUKQFHCzkpC8auWXYUdwcAdI/D+dJb4or/yzblQi29vNaHGgltYOLNUYO5n0VuWF DpzoY7nJ/2V2HZj/yA9C6UFJV19QnAfxrGxHLg0CCotUkWilL+OCtSA2E6+jYGUHLYdF b/Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=DW9ZfKgCxFRo868D0z8QXtYbhSQkR6b0RseyourPtaY=; b=MAOP1DxxdDk7qgy2sEwdG71UmKb9vtO9f7MILnMym5WSFe9lmEca/uPfcPCW536G74 W42YRQ2ua5p4ZWBXAy7fJiF1qtBMK791xOwe0VK5UT01GfkvoGV5u7RC+ffEWStkJJiJ T913nzVdDtbErurLb/SPWLKZNQ71bwlV3YJFdTmfoxW6vqFIpkSo8GB6iJfoAFWbnTAD S3XdHKTRRoDzNV4KQS4KjafubyuLPCb/roJIbJ/j8NcVxZ120uYquf5tyeq/v7a8PUvt MwAQi9Pc/pWFbEkpf9HluFYM2sVzFOArn5iw+it4K60UJmWu0ExlN/fdc/AABY8zF1Zh G1Sw== X-Gm-Message-State: AOAM532ml4Vl7jwjqZ2/cUPtbB95XQh58jC35asKlT1gYpd0+2VmMPh2 pXUSOwpUK1nlKwuD+iiRjPgaxQ== X-Google-Smtp-Source: ABdhPJwVoM7k+gdWHSFhSWs22vVadUdGNtqAvsw42UV0mbjZ7sUG49VY/RV0xRJetNb0qTkIy83SXQ== X-Received: by 2002:a17:906:fcc7:: with SMTP id qx7mr35808525ejb.486.1615992523631; Wed, 17 Mar 2021 07:48:43 -0700 (PDT) Received: from localhost.localdomain (217-149-173-101.nat.highway.telekom.at. [217.149.173.101]) by smtp.gmail.com with ESMTPSA id k12sm4328424edo.50.2021.03.17.07.48.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 07:48:43 -0700 (PDT) Message-ID: <908a9bcb7a29d5a2edbe354d1a4b2c91d709f212.camel@cybertec.at> Subject: Re: SV: Log files polluted with permission denied error messages after every 10 seconds From: Laurenz Albe To: Andrus , Michael Paquier Cc: Thomas Munro , Niels Jespersen , Tom Lane , pgsql-general Date: Wed, 17 Mar 2021 15:48:42 +0100 In-Reply-To: <843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee> References: <1881481.1615240712@sss.pgh.pa.us> <94330326-5fa0-279a-937c-c4806e1fcd5a@hot.ee> <2586bd2e-77d4-e3e2-2f30-d5c83f52f001@hot.ee> <2b675d25-e86c-ea29-b02e-6bad5d55fbe3@hot.ee> <22ec98b1-cc2f-8e6a-f1d7-ee528237f2fb@hot.ee> <78e6daee-0323-752d-c142-263a80154e18@hot.ee> <6538dfd4-9820-6e30-3eb3-5e035d8aba05@hot.ee> <7f13c1a55d615265364a888801ca3a7272df9c5a.camel@cybertec.at> <843d2c8b-2e7a-8d4f-940a-2e3283690026@hot.ee> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2021-03-17 at 15:26 +0200, Andrus wrote: > > I think what it would be most helpful to run "process monitor", so that you get > > a log of the system calls and errors; perhaps that shows some details that > > we cannot get from the error message. > > > > Process monitor shows huge number of DELETE PENDING results from CreateFile operation: > > 15:22:35,1708187 postgres.exe 11800 CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B DELETE PENDING Desired Access: Read Attributes, Delete, > Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a > 15:22:35,2713856 postgres.exe 11800 CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B DELETE PENDING Desired Access: Read Attributes, Delete, > Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a > > 15:22:35,3719483 postgres.exe 11800 CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B DELETE PENDING Desired Access: Read Attributes, Delete, > Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a > > 15:22:35,4723624 postgres.exe 11800 CreateFile C:\Program Files\PostgreSQL\13\data\pg_wal\00000001000000110000003B DELETE PENDING Desired Access: Read Attributes, Delete, > Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a Doesn't look like these are error messages. There should be error messages that correspond to the error messages you see in the PostgreSQL log. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com