[Samba] Slow reply to "smbclient -NL localhost" : strace

Gilles codecomplete at free.fr
Wed Nov 6 09:32:04 UTC 2024


On 06/11/2024 08:04, Michael Tokarev wrote:
> Take a closer look at strace.  You've already noticed
> the recv() call takes a noticeable time, - find all of
> them.
>
> BTW, in your strace output you omitted some important
> pieces, for example, it isn't visible what FD#5 corresponds
> to, since you omitted its creation/open.
>
> The prob might not be the (host) name resolution of smbclient,
> but on the receiving side too. Or might be something else
> entirely. 

Here's the output of "strace --relative-timestamps -o 
strace.smbclient.log smbclient -NL 127.0.0.1" :

https://pastebin.com/raw/v3hFY5DB




More information about the samba mailing list