[Samba] gencache.tdb size and cache flush

L.P.H. van Belle belle at bazuin.nl
Wed Aug 29 08:34:17 UTC 2018


It might be handing to tell your OS and samba version. 
A copy of smb.conf is also very handy.. 



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Francesco Malvezzi via samba
> Verzonden: woensdag 29 augustus 2018 10:28
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] gencache.tdb size and cache flush
> Hi all,
> I have a midsize AD domain with some 50k users but only 100 
> workstations
> joined.
> Sometimes I find server CPU throttling at 100%. In order to 
> let it drop
> and have smooth performance I delete cache:
> systemctl stop samba
> net cache flush
> systemctl start samba
> First of all, is it needed a samba stop to flush the cache?
> Even if cache flush does the job to restore performance, I am clueless
> about the root cause of the problem. Before flushing cache the
> gencache.tdb had 15k entries. Is it large? Do you think is it 
> worth time
> to investigate why it grows so much or is it just normal?
> thank you,
> franz
> -- 
> 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