From owner-freebsd-questions@FreeBSD.ORG Fri May 4 09:22:41 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60D2B16A401 for ; Fri, 4 May 2007 09:22:41 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E09C613C455 for ; Fri, 4 May 2007 09:22:40 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hjtzm-0005MD-8e for freebsd-questions@freebsd.org; Fri, 04 May 2007 11:22:34 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 May 2007 11:22:34 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 May 2007 11:22:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Fri, 04 May 2007 11:22:17 +0200 Lines: 46 Message-ID: References: <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig63A834C889DFD8D82180BE50" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.10 (X11/20060911) In-Reply-To: <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl> X-Enigmail-Version: 0.94.2.0 Sender: news Cc: freebsd-amd64@freebsd.org Subject: Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? 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: Fri, 04 May 2007 09:22:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig63A834C889DFD8D82180BE50 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Olaf Greve wrote: > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CP= U=20 > COMMAND > 91459 www 124 0 141M 15136K RUN 0:02 5.52% 5.52= %=20 > httpd > 91352 www 119 0 139M 12596K select 0:14 3.61% 3.61= %=20 > httpd The size of apache processes is telling me you're using PHP or some=20 other heavy apache module. If so, you can switch to using PHP as FastCGI = responder via mod_fcgid. The benefits are that you'll get only a few=20 number of large php-cgi processes (configurable, usually around 10), and = the rest will be lighter httpd processes for serving static content. BUT, if something else changed when you switched to the new apache (e.g. = PHP version, your web applications), it may not be apache's fault. --------------enig63A834C889DFD8D82180BE50 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGOvtJldnAQVacBcgRAscYAKCrESwa3PJrOL3yA4gyOGQXd+bNNACeI2Oz AHC4Jk/QTkQ3M6br2Izvt/A= =7YQP -----END PGP SIGNATURE----- --------------enig63A834C889DFD8D82180BE50--