Date: Mon, 5 Feb 2001 09:41:10 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: Marius <marius@mail.communityconnect.com> Cc: stable@FreeBSD.ORG Subject: Re: Multiple dropped thttpd connections under high load. Message-ID: <20010205094110.O26076@fw.wintelcom.net> In-Reply-To: <Pine.BSF.4.21.0102051119490.20752-100000@utterlux.hq.communitconnect.com>; from marius@mail.communityconnect.com on Mon, Feb 05, 2001 at 11:32:20AM -0500 References: <Pine.BSF.4.21.0102051023021.20752-100000@utterlux.hq.communitconnect.com> <Pine.BSF.4.21.0102051119490.20752-100000@utterlux.hq.communitconnect.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Marius <marius@mail.communityconnect.com> [010205 08:33] wrote: > > > To anyone who has been following my little trials with thttpd 2.17 and > FreeBSD 4.x stable, I have one more piece of news. After remaking world, > and recompiling our customized thttpd from scratch, we are still not > working. In fact, I think it is worse. A ktrace and a truss both > indicate that thttpd not surving very long, 10 seconds or less, then > the process completely dies. The perl wrapper around thttpd had just been > restarting it, so we didn't really notice at first. Obviously that is the > source of our dropped connections when the load gets high enough. > > Since other people are uning thttpd on the 4.x branch, I doubt thttpd > itself is to blaime. Perhaps some of the patches to thttpd we added > arn't playing well with 4.x, or perhaps somthing has gone wrong on a > hardware level on that machine. I might back ot to 3.5-S and see if it > exhibits the same behavior. Either way, more testing/checking is called > for on my part. > > I do thank the list for the input they have given me. I certainly don't > want to appear as ungrateful. We had the same problem as well, my guess is that thttpd is exiting due to a weird errno result returned by one of the socket functions. If the thing only lasts 10 seconds before dying, you should be able to run truss/ktrace on it and figure out where it's dying. We had the same problem, then I wrote my own image server and ditched thttpd, if your company has a small amount of content and wants to license my server you can reply in private mail. It's doing ~260 connections a second and using approx 1.5% cpu. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010205094110.O26076>