mass delete : size limit problem

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

 



David Boreham wrote:

> Mikael Kermorgant wrote:
>
>> Hello,
>>
>> I'd like to run a script that deletes everything from ou=People (~ 
>> 5000 users).
>> The problem is that I first run a search and the result size is 
>> limited by the server.
>>
>> Increasing thiis limit would surely work but I don't find it very 
>> elegant. Do you see another solution ?
>
>
> Re-try the operation until you have deleted all the entries (in chunks 
> of size sizelimit at a time).

I take it you are not running the deletes as Directory Manager, because 
administrative server limits won't apply if you are.

One thing you can do is remove or increase the administrative limits 
just on the entry you are binding as to do the deletes.  Adding the 
following to the entry you are binding as should do this:

nsLookThroughLimit: -1
nsSizeLimit: -1
nsTimeLimit: -1
bsIdleTimeout: -1

-1 sets this to unlimited.  You can sub this with other reasonable 
values if that fits your needs better.  You might only want some of 
these (i.e. nsSizeLimit).  BTW, this is based on my knowledge of the Sun 
DS, and it's possible FDS is different, but I think this is in both servers.

 - Jeff




[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