Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: RE: RE : RE: RE: [ActiveDir] Maxpagesize on DC.
Prev Next
You are not authorized to post a reply.

AuthorMessages
EZiotsUser is Offline

Posts:0

03/01/2007 4:25 AM  
I gotta agree with Laura, developers need to learn how to page there queries to AD, its not recommened raising the page size above 1000, for all the "No" responses that Laura has dictated. PHP, or whatever seen a lot of this you basically got to tell the vendors they need to page there queries and they start to understand they need to change there code a little and make it work correctly.

Z
Edward E. Ziots
Network Engineer
Lifespan Organization
MCSE,MCSA,MCP+I,M.E,CCA,Network+, Security +
email:eziots@lifespan.org
cell:401-639-3505

-----Original Message-----
From: ActiveDir-owner@mail.activedir.org [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Laura E. Hunter
Sent: Thursday, March 01, 2007 4:16 PM
To: ActiveDir@mail.activedir.org
Subject: Re: RE : RE: RE: [ActiveDir] Maxpagesize on DC.

I will channel the spirit of joe Richards until he reads this thread and responds to it himself:

Raising the page size? No. No no. No no no. No no no no. No no no no no. Did I mention...no?

Even if raising the page size from 1000 to 1500 doesn't create perf issues for you initially, it sets a bad precedent. You set your max pagesize to 1500 to fix this script issue. Then next month there's another script/app for which 1500 is too small, so the developer asks you to raise it to 2500, or 3000 or 5000.

At some point, and probably sooner than later, you're going to start clobbering your DCs. Much better to have your apps/scripts use paging, as it's much more predictable and well-behaved.

NB: I will admit to knowing absolutely -nothing- about PHP and so I can't unfortunately instruct you on how to enable paging in your script. I have to believe there's a way to do it, though.

On 3/1/07, Yann wrote:
> Thank you Laura for your help.
>
> I will test it tomorow.
> I'm not confortable raising the value because we have some exchange
> 2003 boxes around my DC, and it seems that exchange 2003 "might"
> suffer some performance issues if the value is raised....
>
> Cheers,
>
> Yann
>
>
> "Laura A. Robinson" a écrit :
>
> I stink at scripting, but this might work:
>
> $page = Net::LDAP::Control::Paged->new( size => 5000);
>
> As far as increasing maxpagesize, that's going to depend upon the load
> you want to place on your DC(s); you might try the script approach first.
>
> HTH,
>
> Laura
>
>
>
> ________________________________
> From: ActiveDir-owner@mail.activedir.org
> [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of Yann
> Sent: Thursday, March 01, 2007 2:55 PM
> To: ActiveDir@mail.activedir.org
> Subject: RE : RE: [ActiveDir] Maxpagesize on DC.
>
>
> wibdows 2003 sp1 in FFL mode.
>
>
> "Laura A. Robinson" a écrit :
> Windows 2000 or Windows Server 2003?
>
> ________________________________
> From: ActiveDir-owner@mail.activedir.org
> [mailto:ActiveDir-owner@mail.activedir.org] On Behalf Of
> Yann
> Sent: Thursday, March 01, 2007 1:41 PM
> To: ActiveDir@mail.activedir.org
> Subject: [ActiveDir] Maxpagesize on DC.
>
>
> Hello all ;),
>
> Due to a limit of 1000 responses returned by my DC when querying AD throught
> Php script, a user has an error.
>
> Q1: Is it possible to configure the php script to use Paged Results ? If
> yes how to do it ?
> Q2: if it is not possible, is there any bad issue raising the value of the
> maxpagesize form 1000 to 5000 ?
>
> Thanks,
>
> Yann
>
> ________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes
> sur Yahoo! Questions/Réponses.
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date: 2/28/2007
> 4:09 PM
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date: 2/28/2007
> 4:09 PM
>
> ________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes
> sur Yahoo! Questions/Réponses.
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date: 2/28/2007
> 4:09 PM
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date: 2/28/2007
> 4:09 PM
>
>
>
> ________________________________
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> Profitez des connaissances, des opinions et des expériences des internautes
> sur Yahoo! Questions/Réponses.
>
>
--
-----------------------
Laura E. Hunter
Microsoft MVP - Windows Server Networking
Author: _Active Directory Consultant's Field Guide_ (http://tinyurl.com/7f8ll)
Author: _Active Directory Cookbook, Second Edition_ (http://tinyurl.com/z7svl)
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ma/default.aspx
You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > RE: RE : RE: RE: [ActiveDir] Maxpagesize on DC.



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:cajoe64
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5291

People OnlinePeople Online:
VisitorsVisitors:38
MembersMembers:0
TotalTotal:38

Online NowOnline Now:

Ads

Copyright 2012 ActiveDir.org
Terms Of Use