Re: wdavdaemon / Microsoft Defender for Endpoint on Linux and slow Postgres recovery?
Adrian Klaver <adrian.klaver@aklaver.com>
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Colin 't Hart <colinthart@gmail.com>,
PostgreSQL General <pgsql-general@lists.postgresql.org>
Date: 2025-12-02T16:17:09Z
Lists: pgsql-general
On 12/2/25 06:47, Colin 't Hart wrote: > Hi, > > One of my clients has Microsoft Defender for Endpoint on Linux installed > on their Postgres servers. > > I was testing a database restore from pgBackRest. The restore itself > seemed to complete in a reasonable amount of time, but then the Postgres > recovery started and it was extremely slow to retrieve and apply the WAL > files. > > I noticed wdavdaemon taking most of the CPU, and Postgres getting very > little. > > I wonder if anyone here has any experience with configuring exclusions > so that the WAL files can be processed faster? > > AND > > Any advice on what to communicate with their IT department about using > this on their database servers? I've never encountered it on Linux before... Advice, don't let any Microsoft product contact anything you care about. > > Thanks, > > Colin -- Adrian Klaver adrian.klaver@aklaver.com