From owner-freebsd-isp Fri Mar 26 6:51:59 1999 Delivered-To: freebsd-isp@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 689F615508 for ; Fri, 26 Mar 1999 06:51:57 -0800 (PST) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with SMTP id IAA05682; Fri, 26 Mar 1999 08:51:38 -0600 (CST) Date: Fri, 26 Mar 1999 08:51:38 -0600 (CST) From: Steve Price To: freebsd-isp@freebsd.org Cc: hamellr@dsinw.com Subject: Need help fine-tuning a web server (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Anyone have any experience setting up a heavily-loaded web server box that can spare a few answers to this gentleman's questions? Or have any pointers to docs that might help? Thanks. ---------- Forwarded message ---------- Date: Thu, 25 Mar 1999 22:30:06 -0800 (PST) From: unknown@riverstyx.net To: Steve Price Cc: rick hamell , freebsd-chat@FreeBSD.ORG Subject: Re: Linux vs. FreeBSD: The Storage Wars I want to run a webserver that's going to probably be serving about 400 requests simultaneously on average, but it may spike up to 900 at times. Bandwidth-wise, it'll be moving about 600+k/sec on a PII-450 w/384 megs RAM. There'll be a lot of CGI involved, as well as a MySQL database that's being used for authentication as well as keeping track of a bunch of user accounting data. I tried FreeBSD initially, but it didn't last 10 minutes before coming down. I searched on the web and checked links from the FreeBSD homepage, as well as a couple other FreeBSD related pages that I found, but found no information on tuning FreeBSD machines. The HOWTOs for FreeBSD are minimal. There aren't many users out there with easily accessible information on what they've done to make it work. What do I need to do to make it work? Increase the number of tasks? Can I just use ulimit, or do I need to change stuff in the kernel? I noticed some stuff in there limiting the per-user tasks to 64, but that didn't look reasonable, and it looked like it got ignored anyway, so I don't know what bearing that had on the system. How can I increase the maximum number of file descriptors/inodes? Are there any changes I should make to the memory management stuff, and if so where and how? What else needs to be done to a FreeBSD machine to allow it to handle heavy load? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message