[Samba] High RAM consumption
Douglas Bagnall
douglas.bagnall at catalyst.net.nz
Wed Aug 28 01:12:42 UTC 2024
On 22/08/24 19:26, Dinar Yulm via samba wrote:
> Hello,
>
> LDAP Samba processes consume a lot of memory. Each LDAP process loads the
> entire ldb database into memory and does not release it over time. For
> example, for a 4GB ldb database and 4 LDAP processes, Samba will use up
> more than 16 GB of RAM. If only 16GB of RAM is installed on the server,
> then Samba will respond to requests with long delays. Some requests will not
> be answered (by time-out).
This is not expected.
It is hard to say what the problem is without detail such as the Samba
version, what kind of database ldb is using (tdb or lmdb), the size of
the domain, the number of active users, and the extent to which memory
usage gets worse over time.
Do you know why your database is 4GB?
Douglas
More information about the samba
mailing list