From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 09:30:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FF6016A41C for ; Tue, 28 Jun 2005 09:30:32 +0000 (GMT) (envelope-from freebsdlists@thingysrealm.myftp.org) Received: from thingysrealm.myftp.org (81-86-82-155.dsl.pipex.com [81.86.82.155]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B34D43D53 for ; Tue, 28 Jun 2005 09:30:31 +0000 (GMT) (envelope-from freebsdlists@thingysrealm.myftp.org) Received: (qmail 45232 invoked by uid 1011); 28 Jun 2005 09:30:27 -0000 Received: from 10.0.0.2 by rackmount.orbsrealm.com (envelope-from , uid 1010) with qmail-scanner-1.25-st-qms (clamdscan: 0.83/781. perlscan: 1.25-st-qms. Clear:RC:0(10.0.0.2):. Processed in 0.254273 secs); 28 Jun 2005 09:30:27 -0000 X-Antivirus-Thingysrealm.myftp.org-Mail-From: freebsdlists@thingysrealm.myftp.org via rackmount.orbsrealm.com X-Antivirus-Thingysrealm.myftp.org: 1.25-st-qms (Clear:RC:0(10.0.0.2):. Processed in 0.254273 secs Process 45227) Received: from unknown (HELO anubis) (freebsdlists@thingysrealm.myftp.org@10.0.0.2) by thingysrealm.myftp.org with SMTP; 28 Jun 2005 09:30:26 -0000 Date: Tue, 28 Jun 2005 10:30:28 +0100 From: Grant To: Chuck Swiger Message-ID: <20050628103028.6c87d666@anubis> In-Reply-To: <42C0ADC8.1060204@mac.com> References: <20050628021524.7ba2df56@anubis> <42C0ADC8.1060204@mac.com> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Small HTTPD + PHP4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 09:30:32 -0000 On Mon, 27 Jun 2005 21:54:16 -0400 Chuck Swiger wrote: > Grant wrote: > [ ... ] > > I dont know if this is the right choice for me, but all i really > > want is a small simple and fast httpd for running a php forum and > > thats about it.. nothing else. > > If you're looking for a small, simple, fast webserver, consider > thttpd. > > If you are looking for a small, simple, fast webserver, forget about > trying to use server-side includes, Perl/mod_perl, PHP, or any other > scripted language, especially if they are talking to a database. A > large PHP BBS requires a lot of resources because it is not > especially efficient way of solving the problem. > Hey, Thanks for the reply, I've looked at thttpd before and never really thought anymore about it, is it easy to add in php support for that on FreeBSD, i know under some linux's you can choose to manually add php to it and then install it from source, but if i was to do that on FreeBSD i wouldnt get the nice tracking of versions that i get from ports. The only reason i'm moving from apache is that apache has started (well proberly did but i didnt notice) eating large amounts of ram, even when idle, as i type this there is 4 apache processes using 29mb each, now when there is a few people on my forum/site that goes up to around 12processes again all using 29mb which adds up to being quite a big chunck of my ram. (384mb just for apache). So i either want to get php working on a smaller httpd or maybe fix apache. I've tried limiting the number of servers it starts and how many it can go up to and changing how long the timeout is for the processes, but the ram usage has only come down slightly. Thanks again. Grant.