[Samba] high cpu load with share_conflict on browsing and opening files

Rowland Penny rpenny at samba.org
Tue Oct 16 16:11:38 UTC 2018


On Tue, 16 Oct 2018 16:26:37 +0200
Alberto Cavaliere via samba <samba at lists.samba.org> wrote:

> Hello,
> 
> I have a server  running samba version 4.7.1 on centos 7.5
> 
> 1) A series of operations by a windows 10 (up to date) pc client
> consisting of  searching (or browsing)/opening/modifying/closing a
> (each time different) file multiple times on a samba share containing
> many files (more than 11000) goes fast for a while.
> 2) Then the same operation (or just the searching or opening) of the
> same user on the same pc on the same dir gets very very slow (up to a
> minute) and the cpu of the pid samba process serving the user stays
>  over the 60% load. 3) Restarting the pc client doesn't resolve the
> problem because it gets always served by the same (high cpu load)
> samba pid. 

How are you starting Samba ?
The 'smbd' daemon should fork for every new connection and hence should
get a different pid.

Rowland



More information about the samba mailing list