Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.samba > #60386

[Samba] Memory leak in smbd in 4.6.0

From Ralph Böhme via samba <samba@lists.samba.org>
Newsgroups linux.samba
Subject [Samba] Memory leak in smbd in 4.6.0
Date 2017-03-15 11:10 +0100
Message-ID <tle2v-689-37@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Folks,

fyi: there's a memory leak in the fileserver in the just released Samba 4.6.0 that affects
anyone using aio.

<https://bugzilla.samba.org/show_bug.cgi?id=12624>

Again, this only affects you if you use

    aio read size > 0
    aio write size > 0

in smb.conf.

During read and write operation smbd will leak memory allocated by worker
threads, the amount of memory leaked over time depends on the IO pattern.

Samba 4.6.1 will ship a fix for this, patches are also available at the
bugreport.

Until then the workaround is to disable aio by removing the aio read|write
settings from smb.conf.

Cheerio!
-slow

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Back to linux.samba | Previous | Next | Find similar


Thread

[Samba] Memory leak in smbd in 4.6.0 Ralph Böhme via samba <samba@lists.samba.org> - 2017-03-15 11:10 +0100

csiph-web