From owner-freebsd-questions@FreeBSD.ORG Sat Jan 20 13:24:31 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 7B6D916A401 for ; Sat, 20 Jan 2007 13:24:31 +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 07FAD13C44B for ; Sat, 20 Jan 2007 13:24:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H8GCa-00053v-Ap for freebsd-questions@freebsd.org; Sat, 20 Jan 2007 14:24:12 +0100 Received: from 83-131-170-71.adsl.net.t-com.hr ([83.131.170.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Jan 2007 14:24:12 +0100 Received: from ivoras by 83-131-170-71.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Jan 2007 14:24:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Sat, 20 Jan 2007 14:23:51 +0100 Lines: 50 Message-ID: References: <60131.192.168.11.7.1169279847.squirrel@lists.lc-words.com> <20070120080417.GA4365@xor.obsecurity.org> <60303.192.168.11.7.1169280828.squirrel@lists.lc-words.com> <20070120085137.GA5113@xor.obsecurity.org> <20070120085802.GA5216@xor.obsecurity.org> <60565.192.168.11.7.1169287267.squirrel@lists.lc-words.com> <61684.192.168.11.7.1169294702.squirrel@lists.lc-words.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig047F66DE5FD2866F14BAF9D8" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-170-71.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <61684.192.168.11.7.1169294702.squirrel@lists.lc-words.com> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: virtual memory management 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: Sat, 20 Jan 2007 13:24:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig047F66DE5FD2866F14BAF9D8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Zbigniew Szalbot wrote: > hello, >=20 >>> The problem is I cannot add more RAM (too old machine to do that) but= I >>> know what to do to decrease the load a bit. So thanks for the pointer= ! I >>> appreciate it! >> You might also want to stop using mod_php in apache and convert to >> fastcgi setup - this way you'll get all Apache processes to use a much= >> more reasonable amount, like ~~5MB - 8MB and a small number of php-cgi= >> processes that use ~~20MB or more, saving you memory in the end. >=20 > Does this mean recompiling Apache? Or is it a question of httpd.conf? F= rom > what I understand it probably involves recompilation? At most it would require recompilation of PHP (the main port, not the extensions) and installing mod_fcgid. If you enabled CGI and FastCGI during PHP build, you only need mod_fcgid. See http://fastcgi.coremail.cn/configuration.htm#PHP for documentation. (don't forget to remove mod_php from httpd.conf). Note that using FastCGI is different in some important aspects from mod_php, so read up on it if you haven't used it before. --------------enig047F66DE5FD2866F14BAF9D8 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.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFshfnldnAQVacBcgRAhsyAKD3GKzNcoj1Bo/OcnQB3HEPwBCh7ACgqXPW N8c+0AbtUsZ7bmlIaPAPpMM= =LvsG -----END PGP SIGNATURE----- --------------enig047F66DE5FD2866F14BAF9D8--