[Samba] High RAM consumption
Luis Peromarta
lperoma at icloud.com
Thu Aug 22 07:47:19 UTC 2024
I run samba DCs for about 300 users in VMs with 512Mb of ram and they run fine 50% free ram.
I wonder how you came out with a 4GB ldb database.
On 22 Aug 2024 at 09:28 +0200, Dinar Yulm via samba <samba at lists.samba.org>, 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).
>
> As I understood from the ldb documentation, Samba should load only one copy
> of the database into RAM for all processes.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list