Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Apr 2001 21:28:43 -0700
From:      Sean Chittenden <sean-freebsd-isp@chittenden.org>
To:        Tom Samplonius <tom@sdf.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: djbdns or tinydns
Message-ID:  <20010402212843.F53081@rand.tgd.net>
In-Reply-To: <Pine.BSF.4.05.10104022114550.9515-100000@misery.sdf.com>; from "tom@sdf.com" on Mon, Apr 02, 2001 at = 09:17:53PM
References:  <20010402211243.E53081@rand.tgd.net> <Pine.BSF.4.05.10104022114550.9515-100000@misery.sdf.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Zs/RYxT/hKAHzkfQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

	This should apply cleanly to djbdns 1.05.  -sc

--- dnscache.c  Mon Apr  2 21:27:24 2001
+++ orig_dnscache.c     Mon Apr  2 21:27:14 2001
@@ -54,7 +54,7 @@

 static int udp53;

-#define MAXUDP 400
+#define MAXUDP 200
 static struct udpclient {
   struct query q;
   struct taia start;




On Mon, Apr 02, 2001 at 09:17:53PM -0700, Tom Samplonius wrote:
> Delivered-To: sean-freebsd-isp@chittenden.org
> Delivered-To: freebsd-isp@freebsd.org
> Date: Mon, 2 Apr 2001 21:17:53 -0700 (PDT)
> From: Tom Samplonius <tom@sdf.com>
> To: Sean Chittenden <sean-freebsd-isp@chittenden.org>
> Cc: freebsd-isp@freebsd.org
> Subject: Re: djbdns or tinydns
> In-Reply-To: <20010402211243.E53081@rand.tgd.net>
> X-Loop: FreeBSD.org
> Precedence: bulk
>=20
>=20
> On Mon, 2 Apr 2001, Sean Chittenden wrote:
>=20
> > 	This sounds like a kernel limit and not a dnscache limit as
> > I've run sites that were doing more than 200 requests per second and
> > never saw any problems....  have you tweaked your kernel at all?  -sc
>=20
>   No, 200 simultaneous UDP requests.  It is a hardcoded limit in
> dnscache.  Active UDP requests is the second to last number of the stats
> line in the main log.  It can not exceed 200.  I'm hopeful that code can
> be patched to bring it up to at least 250. =20
>=20
>   There are no kernel limits that would affect requests per second.
>=20
> Tom
>=20
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message

--=20
Sean Chittenden

--Zs/RYxT/hKAHzkfQ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: Sean Chittenden <sean@chittenden.org>

iEYEARECAAYFAjrJUXsACgkQn09c7x7d+q2viACeJwEdJf+PtC8U6Xyuif3a0BjT
EaMAoMUmVZrB0dCZSFZxRjPODKrskZc4
=oxe3
-----END PGP SIGNATURE-----

--Zs/RYxT/hKAHzkfQ--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010402212843.F53081>