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
[-- Attachment #1 --]
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.
> 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
0-17 18003 0/542/16066 _ 18.38 5 0 0.0 5.44 174.47 87.249.97.178
idefix.net GET /server-status HTTP/1.0
1-17 19911 0/492/16087 _ 18.95 193 0 0.0 4.38 182.34 137.242.1.50
www.camp-wireless.org GET /images/tile.jpg HTTP/1.1
which will help you correlate PID with vhost and url being visited.
Koos
--
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/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFGOxTJLGY7XfDXwmMRAhoyAKD8za0IHAgAAVZakkS0GMjRg2rmzgCg5eR0
k+/gYO1XwD/TxLLr4qCkOU0=
=lFZo
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070504111105.GA13599>
