[Samba] Slow reply to "smbclient -NL localhost" : strace
Gilles
codecomplete at free.fr
Tue Nov 5 09:36:49 UTC 2024
On 04/11/2024 15:11, Rowland Penny via samba wrote:
> As I said previously, I do not think this has anything to do with
> Samba. In an earlier post, you had this output when you ran the same
> command using 'time':
>
> real 0m12.500s
> user 0m0.732s
> sys 0m0.102s
>
> The 'real' time is the total time it took to run the command, but
> 'user' + 'sys' is the actual time it took for the Samba part of it, in
> this case 0.834 seconds, the remaining 11.666 seconds is where your
> problem lies, what is causing this ?
> That is what you need to trace, what is getting in the way, it doesn't
> seem to be anything to do with Samba.
>
> When it comes down to it, your 'strace' appears to be useless in this
> context, there is no 'time' involved.
Thanks. So I'll look elsewhere to understand why that command is taking
so long.
FWIW, there's no delay after I run it once… but only for a couple of
minutes.
More information about the samba
mailing list