[Samba] Slow response after moving to ver 4.10

Rowland Penny rpenny at samba.org
Wed Jun 30 19:59:33 UTC 2021


On Wed, 2021-06-30 at 19:45 +0000, Jim Brand via samba wrote:
> New CentOS 7 file server, samba version 4.10.4-11 with 2,000 shares
> on multiple Gluster mounts.  Roughly 200-300 concurrent users.  We
> recently migrated this working
> setup from a CentOS 5 server (Samba 3) using  LDAP.  A few weeks
> later we started noticing sporadic slowdowns on our Windows 10 PC
> clients.
> Directory listings that normally take a few seconds can take many
> minutes if they finish at all.
> 
> Nothing jumps out in the Samba logs.  A local linux find on the
> affected shares does not vary much, about a minute.  I've run
> smbclient 'recurse;ls' on the share(s) both locally and
> from another Linux host.  Local and remote search times (good and
> bad) agree closely:  A few minutes is normal but can take an hour or
> more when we're having problems.  Gluster or network is not
> suspect.  Sometimes cycling smb fixes it for a while but not today.
> 
> This happens mostly during business hours but the server is always
> 95% idle.  Any ideas or what to look for in the logs would be
> appreciated.
> 
> smb.conf:
> 
> [global]
> idmap config MYGROUP : range = 1034-2999999
> idmap config * : range = 10000-15000

Your ranges overlap, this isn't allowed.

How did you migrate from the old server ?
I suppose that I should also mention that from a Samba point of view
4.10.x is EOL.

Rowland






More information about the samba mailing list