Date: Fri, 04 May 2007 11:22:17 +0200 From: Ivan Voras <ivoras@fer.hr> To: freebsd-questions@freebsd.org Cc: freebsd-amd64@freebsd.org Subject: Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? Message-ID: <f1eu0a$3h5$1@sea.gmane.org> In-Reply-To: <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl> References: <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Olaf Greve wrote: > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU > COMMAND > 91459 www 124 0 141M 15136K RUN 0:02 5.52% 5.52% > httpd > 91352 www 119 0 139M 12596K select 0:14 3.61% 3.61% > httpd The size of apache processes is telling me you're using PHP or some 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 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. [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f1eu0a$3h5$1>
