Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 1999 08:51:38 -0600 (CST)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-isp@freebsd.org
Cc:        hamellr@dsinw.com
Subject:   Need help fine-tuning a web server (fwd)
Message-ID:  <Pine.OSF.4.02.9903260846190.22203-100000@fly.HiWAAY.net>

next in thread | raw e-mail | index | archive | help
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 <sprice@hiwaay.net>
Cc: rick hamell <hamellr@dsinw.com>,
    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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.02.9903260846190.22203-100000>