Samba VERY SLOW RPC (Spoolss, GetStatusPrinter). Samba Bug?

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Apr 4 08:19:32 GMT 2009


On Fri, Apr 03, 2009 at 08:38:34PM +0400, Grey Karapetyan wrote:
> Hi Guys,
> Very need help.
> 
> I have a printserver (Samba + Cups with passdb backend =
> ldapsam:ldap://x.x.x.x  (another server - Fedora Directory Server))
> situation:
> when windows client try open shared folders\files - works FAST(2 seconds).
> dosen't mater how many entires in ou=Users in Ldap server.
> when same windows client try print (from Windows notepad or another
> application) - getting status printer very-very-very slow(40-50 seconds)
> 
> When in ldap number entries less - performance grow (when 10 users -
> printerstatus shows 2 seconds)
> (when 2000 users - printerstatus shows 5-8 seconds)
> 
> WHY this may occrus? I think this Samba RPC trouble...
> Help please.

Might be due to id maps being done when checking the
security descriptors. The fact that it gets slower with the
number of users in LDAP might be an indication of bad or
missing LDAP indexes.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090404/01a3823c/attachment.bin


More information about the samba-technical mailing list