Date: Fri, 4 May 2007 12:55:16 +0200 From: Olaf Greve <o.greve@axis.nl> To: Ivan Voras <ivoras@fer.hr> Cc: freebsd-questions@freebsd.org, freebsd-amd64@freebsd.org Subject: Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? Message-ID: <1896C639-2518-484B-8CD1-5936811AB093@axis.nl> In-Reply-To: <f1f18e$ehm$1@sea.gmane.org> References: <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl> <f1eu0a$3h5$1@sea.gmane.org> <8DDF332E-A03A-44DC-A87B-D64EC6B91E5A@axis.nl> <f1f18e$ehm$1@sea.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi again, This time a question from the Apache side of this issue: >You'll have to correlate this with HTTP requests apache receives - maybe there's a PHP script that's unusually CPU >intensive. Is there any (easy) way to do this in conjunction with specific PIDs of stressed httpd instances? Of course I can take a look at the httpd-access log file, but at present it doesn't log the PIDs (which can perhaps be changed by changing the log format), but is there an easier way to "inspect" (from the prompt) what a specific httpd instance is doing/ serving? Cheers! Olafo PS: This morning (and some of the other past few days as well) I took a closer look to the server loads, and it looks like during the better part of the morning the load is virtually 0%, and around midday (or slighlty before?), all of a sudden Apache starts going crazy and receives very heavy load. I wonder if this can perhaps be some DOS attack, and hence I'd like to see what each of the stressed daemon instances is doing exactly...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1896C639-2518-484B-8CD1-5936811AB093>