Date: Sat, 20 Jan 2007 14:23:51 +0100 From: Ivan Voras <ivoras@fer.hr> To: freebsd-questions@freebsd.org Subject: Re: virtual memory management Message-ID: <eot558$316$1@sea.gmane.org> In-Reply-To: <61684.192.168.11.7.1169294702.squirrel@lists.lc-words.com> 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> <eostc5$va0$1@sea.gmane.org> <61684.192.168.11.7.1169294702.squirrel@lists.lc-words.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eot558$316$1>