Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* Possible memory leak in DRBD 8.4.11
@ 2025-04-24 15:22 Reginald Cirque
  2025-05-16  9:23 ` Lars Ellenberg
  0 siblings, 1 reply; 2+ messages in thread
From: Reginald Cirque @ 2025-04-24 15:22 UTC (permalink / raw)
  To: drbd-dev

Good day,
I was syncing a 300 GB LVM volume from a DRBD primary to a newly-built
secondary, and noticed that the sending host (primary) had 300G of
"untracked", used, memory (not visible in slab, cached, or associated
with any application(s), simply shown as "kernel dynamic memory" in
"smem -twk" output) for long (many hours) after the sync had
completed, suggesting that DRBD buffers/page-pool were not reclaimed.

When I ran "drbdsetup down" to disconnect the secondary, I observed a
kernel log message:
"block drbd3: net_ee not empty, killed 291226 entries", which further
suggests to me that DRBD buffers are not being properly reclaimed.

The memory was returned back to the system ~instantly after
disconnecting the secondary.

I am running Linux kernel 6.1.128-1.el8.x86_64 and patching-in the
8.4.11 DRBD module in-tree.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-16  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-24 15:22 Possible memory leak in DRBD 8.4.11 Reginald Cirque
2025-05-16  9:23 ` Lars Ellenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox