Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRfn-0007zr-DI for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:48:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1guRfl-00052B-Vh for pgsql-general@arkaria.postgresql.org; Fri, 15 Feb 2019 00:48:09 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRfl-0004yO-Lf for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:48:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guRfj-0005hj-8Y for pgsql-general@lists.postgresql.org; Fri, 15 Feb 2019 00:48:09 +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 x1F0m5aM030533; Thu, 14 Feb 2019 19:48:05 -0500 From: Tom Lane To: Bruce Klein cc: pgsql-general@lists.postgresql.org Subject: Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2 In-reply-to: References: Comments: In-reply-to Bruce Klein message dated "Thu, 14 Feb 2019 14:33:48 -1000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30531.1550191685.1@sss.pgh.pa.us> Date: Thu, 14 Feb 2019 19:48:05 -0500 Message-ID: <30532.1550191685@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Klein writes: > If you are running Postgres inside Microsoft WSL (at least on Ubuntu, maybe > on others too), and just picked up a software update to version 11.2, you > will need to go into your /etc/postgresql.conf file and set fsync=off. Hm. Probably this is some unexpected problem with the panic-on-fsync-failure change; although that still leaves some things unexplained, because if fsync is failing for you now, why didn't it fail before? Anyway, you might try experimenting with data_sync_retry, instead of running with scissors by turning off fsync altogether. See first item in the release notes: https://www.postgresql.org/docs/11/release-11-2.html Also, we'd quite like to hear more details; can you find any PANIC messages in the server log? regards, tom lane