logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Monitor recursive clients?: msg#00172

Subject: Re: Monitor recursive clients?
> >So, now I would like to monitor this.  It's looking like there=20
> >might not =3D
> >be a way to monitor this without trying to modify the code=20
> >myself.  At =3D
> 
> I hadn't heard anything back yet, so I started digging.=20
> 
> In server.c I found these lines:
> 
>         result =3D isc_quota_init(&server->tcpquota, 10);
>         result =3D isc_quota_init(&server->recursionquota, 100);

        It is set to 1000 in bin/named/config.c.
 
> In the ARM, it states that the tcp-clients defaults to 100 and =
> recursive-clients defaults to 1000.
> 
> I added this to ns_server_dumpstats so I could see the value when doing =
> "rndc stats":
> 
>   fprintf(fp, "recursive-clients %d\n",server->recursionquota.used);
> 
        9.3 already has this.

> So, it looks like I might be off by a power of ten.=20
> 
> Does anybody know if the units used internally to the server are =
> multiples of ten, or is the documentation incorrect?
> 
> Thanks!
> 
> Craig
> 
> P.S.  If this is useful to anybody else, I'd be happy to officially =
> submit a patch, I just need a pointer to the details of how to do that.=20
> 
> 
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews@xxxxxxx




<Prev in Thread] Current Thread [Next in Thread>