Logging on slow. hangs on oldselect() ?

Harald Hannelius Harald at iki.fi
Fri Oct 22 10:27:15 GMT 1999



NT4, no SP. cvs-samba.

It takes minutes from logging on, until I get logged on. smbd seems to
hang on and oldselect(), what's oldselect()?

While watching strace on smbd, I notice that there's a lot of timeouts on
some file, but I cannot read strace output that well. 

Here's a short snip of a strace:


[pid  8180] oldselect(9, [3 8], NULL, NULL, {10, 0}) = 0 (Timeout)
[pid  8180] time(NULL)                  = 940586091
[pid  8180] chdir("/tmp")               = 0
[pid  8180] setreuid(65535, 0)          = 0
[pid  8180] setgid(0)                   = 0
[pid  8180] geteuid()                   = 0
[pid  8180] getegid()                   = 0
[pid  8180] oldselect(9, [3 8], NULL, NULL, {10, 0}) = 0 (Timeout)
[pid  8180] time(NULL)                  = 940586101
[pid  8180] oldselect(9, [3 8], NULL, NULL, {10, 0}) = 0 (Timeout)
[pid  8180] time(NULL)                  = 940586111
[pid  8180] oldselect(9, [3 8], NULL, NULL, {10, 0}) = 0 (Timeout)
[pid  8180] time(NULL)                  = 940586121
[pid  8180] oldselect(9, [3 8], NULL, NULL, {10, 0} <unfinished ...>

If I understand that right, smbd is trying to open a file with the
filehandle "9", correct? If I search backwards for ".*= 9$" I can't find
any open() that would have returned "9"... :(

Please help me, what does smbd hang on?



===========================================================        
Harald H Hannelius | Harald at iki.fi      | GSM +358405470870
===========================================================  



More information about the samba-ntdom mailing list