[Samba] Semaphore timeout hardcoded at 12 seconds somewhere?
Jeremy Allison
jra at samba.org
Tue Dec 13 17:41:15 UTC 2016
On Tue, Dec 13, 2016 at 10:48:38AM -0500, Alex Korobkin via samba wrote:
> Hi team,
>
> I use Samba 4.3.12 as a printserver with ~900 printers, and it takes about
> 20 seconds for rpcclient enumprinters command to finish. However, sometimes
> it gets stuck and returns WERR_SEM_TIMEOUT for no apparent reason, and this
> timeout always takes exactly 12 seconds.
>
> I was thinking maybe there is a hardcoded timeout somewhere that is shorter
> than expected 20 sec time for returning my list of printers?
>
> Also, is it reasonable time for Samba to take this long for returning a
> list of printers?
That's a strange one. There are only definitions of WERR_SEM_TIMEOUT
in the Samba code, no places where I see it returned :-).
Can you get me a debug level 10 log from client and server so
we can see where the time is going ?
More information about the samba
mailing list