Bug 10714 - Samba 4 AD consuming 100%
Samba 4 AD consuming 100%
Product: Samba 4.1 and newer
Classification: Unclassified
x64 Linux
: P5 major
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2014-07-14 08:30 UTC by Antun Horvat
Modified: 2016-07-29 03:05 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Antun Horvat 2014-07-14 08:30:56 UTC
Dear Samba Team,

I am experiencing a Samba4 AD bug that consumes 100% cpu usage (one thread). 
The strace on the problematic PID reports a whole loop of fcntl calls on FD 13, which points to "dc=domain,dc=local.ldb" file. 

I also have a core dump which I could send to you if you need it to find the issue.

I must also note that the issue persists even if I restart the samba, so currently my Samba 4 DC setup consumes 100% on two machines.
Comment 1 Andrew Bartlett 2016-07-29 03:05:39 UTC
A gdb 'bt full' on the core dump or process would have been useful, but I'm hoping that since 2014 we have fixed that, particularly with the performance improvements we have made for Samba 4.5.0rc1.

Otherwise, feel free to re-open and help us with info a 'flame graph' of the problem process:


(These tend to be the best debugging tool for this kind of thing).