[Samba] fuser calls create zombie processes on samba file server
Rowland Penny
rpenny at samba.org
Mon Jan 8 14:17:59 UTC 2024
On Mon, 8 Jan 2024 12:47:45 +0100
Gérard GUEVEL via samba <samba at lists.samba.org> wrote:
> Hello,
>
>
>
> I want to relate a Samba client issue which could hide a Samba server
> issue.
>
>
>
> For my own, three machines are involved :
>
> A Samba version 4.18.6-Debian Active Directory DC server.
>
> A Samba version 4.13.13-Debian Domain Member FILE server.
>
> An Ubuntu 20.04.6 LTS BENCH server with a CIFS share mounted on FILE
> server.
>
>
>
> A BENCH application run many threads which have to check the opened
> files each
>
> second using a python fuser call. After about 5 hours, the FILE server
> claims that
>
> too many files are opened and the max open files limit (16384) is
> reached.
>
> The FILE server does not crash but remains exhausted to serve all
> other clients.
>
Try setting 'deadtime' in your smb.conf, it defaults to 10080 minutes,
try something like 10 as a starting point, see if that helps.
Rowland
More information about the samba
mailing list