[Samba] Semaphore timeout hardcoded at 12 seconds somewhere?

Alex Korobkin korobkin+smb at gmail.com
Tue Dec 13 15:48:38 UTC 2016

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?

More information about the samba mailing list