[Samba] High RAM consumption
Dinar Yulm
yulm.dinar at gmail.com
Thu Aug 22 07:26:50 UTC 2024
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.
More information about the samba
mailing list