Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rX5q1-008k5N-Pk for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Feb 2024 20:45:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rX5q0-00Fwuf-NZ for pgsql-bugs@arkaria.postgresql.org; Mon, 05 Feb 2024 20:45:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rX5q0-00FwuV-FC for pgsql-bugs@lists.postgresql.org; Mon, 05 Feb 2024 20:45:08 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rX5pu-005dgo-3L for pgsql-bugs@postgresql.org; Mon, 05 Feb 2024 20:45:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 415KiwfL269597; Mon, 5 Feb 2024 15:44:58 -0500 From: Tom Lane To: Arnd Baranowski cc: pgsql-bugs@postgresql.org Subject: Re: PostgreSQL & latest Mac OS Sonoma, a possible bug / configuration issue In-reply-to: References: Comments: In-reply-to Arnd Baranowski message dated "Mon, 05 Feb 2024 20:03:32 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <269595.1707165898.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 05 Feb 2024 15:44:58 -0500 Message-ID: <269596.1707165898@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Arnd Baranowski writes: > I have a MacBook Pro 16 inch with M3 Max in the base configuration (48 g= ig RAM, 1 terabyte HD). Operating System macOS the latest Sonoma 14.3. I u= se the latest Postgres 14 installed via brew in the standard configuration= . From time to time (every second or third week) I use to reboot the Mac a= nd since several weeks now (the last 4 reboots at least) I lose data of th= e database when rebooting and I fall back to a state of several days ahead= of the reboot. This affects structure and data added. I cover this via ba= ckups and it looks that data is kept in memory rather than written to the = database. Beside this Mac and Postgres run fine. Hmm, what have you got the fsync and wal_sync_method GUCs set to? What was the last macOS version that was stable for you? regards, tom lane