I'm seeing a situation where a Samba server will have a number of processes using up 100% CPU and not make any system calls. I have not managed to reproduce a test case that will trigger this condition. I built a version of samba with debug symbols and attached gdb. After a bit of investigation, I think I found the reason in source3/smbd/close.c The function assert_no_pending_aio() is stuck in an infinite loop at line 669. while (fsp->num_aio_requests != 0) { TALLOC_FREE(fsp->aio_requests[0]); } The code above only frees the request, but never decrements the counter, thus the loop never terminates.
Created attachment 16349 [details] gdb backtrace Attached is a full backtrace from gdb.
*** This bug has been marked as a duplicate of bug 14515 ***