Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2007 13:11:05 +0200
From:      Koos van den Hout <koos@kzdoos.xs4all.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Message-ID:  <20070504111105.GA13599@kzdoos.xs4all.nl>
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

--mP3DRpeJDSE+ciuQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoting Olaf Greve who wrote on Fri 2007-05-04 at 00:15:

> 2-How can I inspect exactly what each httpd instance is doing (i.e. =20
> which request it is serving)?

Enable mod_status or compile it in and enable server-status in the config
(usually commented-out in the httpd.conf file) and view the resulting
status url. It will show you something quite like:

   Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request             =
    =20
   0-17 18003 0/542/16066 _ 18.38 5 0 0.0 5.44 174.47 87.249.97.178        =
    =20
   idefix.net GET /server-status HTTP/1.0                                  =
    =20
   1-17 19911 0/492/16087 _ 18.95 193 0 0.0 4.38 182.34 137.242.1.50       =
    =20
   www.camp-wireless.org GET /images/tile.jpg HTTP/1.1                     =
    =20

which will help you correlate PID with vhost and url being visited.

                                                   Koos

--=20
Koos van den Hout                         Homepage: http://idefix.net/~koos/
Fax: +31-30-2817051     PGP keyid DSS/1024 0xF0D7C263 or RSA/1024 0xCA845CB5
Webprojects:              Camp Wireless        http://www.camp-wireless.org/
                      The Virtual Bookcase   http://www.virtualbookcase.com/

--mP3DRpeJDSE+ciuQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFGOxTJLGY7XfDXwmMRAhoyAKD8za0IHAgAAVZakkS0GMjRg2rmzgCg5eR0
k+/gYO1XwD/TxLLr4qCkOU0=
=lFZo
-----END PGP SIGNATURE-----

--mP3DRpeJDSE+ciuQ--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070504111105.GA13599>