[389-users] lookthroughlimit and "result: 11 Administrative limit exceeded"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Hartmann wrote:
> Hi!
>
> So I've got a RHDS installation that I'm serving automount points off
> of, and I ran into this error unexpectedly
>
> # search result
> search: 2
> result: 11 Administrative limit exceeded
>
> # numResponses: 1
>
>
> I was able to search around and found this in the Doc's which seems to
> be the answer:
>
> http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Indexes.html#About_Indexes-Overview_of_the_Searching_Algorithm
>
> However when I set "lookthroughlimit" to unlimited (-1)  I then start
> getting result, but they are horrible!! Seconds between results! 
> Whereas my old OpenLDAP servers respond immediately to the request! The
> search filter that the server seems to be sending is this:
> "(&(objectClass=posixAccount)(uidNumber=XXX))"
>
>
> I'm not super thrilled about allowing unlimited lookthroughlimit on the
> whole directory, but I'm not sure how else to get quick results from a
> search like that... er... help?!
>   
1) use logconv.pl to look for unindexed searches - you most likely need 
to index uidNumber for equality (and do you really need 
objectclass=posixAccount in there?  are you concerned you may retrieve 
an entry with uidNumber=XXX that is _not_ a posixAccount?)
2) lookthrough limit is almost always the wrong answer, unless you need 
to allow some administrative client (not regular clients) to perform 
complex queries that will return many results and consume a lot of 
server resources in the process
> Thanks
>
> Tim
>
> --
> 389 users mailing list
> 389-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20090619/64f2b737/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux