From owner-freebsd-isp Mon Apr 2 21:28:55 2001 Delivered-To: freebsd-isp@freebsd.org Received: from mail.tgd.net (rand.tgd.net [64.81.67.117]) by hub.freebsd.org (Postfix) with SMTP id 7810437B722 for ; Mon, 2 Apr 2001 21:28:49 -0700 (PDT) (envelope-from sean@mailhost.tgd.net) Received: (qmail 60782 invoked by uid 1001); 3 Apr 2001 04:28:44 -0000 Date: Mon, 2 Apr 2001 21:28:43 -0700 From: Sean Chittenden To: Tom Samplonius Cc: freebsd-isp@freebsd.org Subject: Re: djbdns or tinydns Message-ID: <20010402212843.F53081@rand.tgd.net> References: <20010402211243.E53081@rand.tgd.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Zs/RYxT/hKAHzkfQ" Content-Disposition: inline In-Reply-To: ; from "tom@sdf.com" on Mon, Apr 02, 2001 at = 09:17:53PM X-PGP-Key: 0x1EDDFAAD X-PGP-Fingerprint: C665 A17F 9A56 286C 5CFB 1DEA 9F4F 5CEF 1EDD FAAD X-Web-Homepage: http://sean.chittenden.org/ Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --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 > To: Sean Chittenden > 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 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