Skip site navigation (1)Skip section navigation (2)
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
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f1eu0a$3h5$1>