httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bj <>
Subject Re: [users@httpd] Apache waiting for i/o -> optimizing
Date Wed, 19 Sep 2007 12:41:36 GMT
Stop logging !
of maybe filter what you're logging (static ressources,...)

For exemple, this will prevent logging ressource calls begining with
/javascript/ urls :
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
SetEnvIf Request_URI "^/javascript/.*$" jscript
CustomLog logs/access_log combined env=!jscript

You can try memory caching, if somes sites
are more requested than others, it might help. Or cache only some urls.

Check if you don't have a database or cgi/php code that make lots of i/o.


On 9/18/07, Samuel Vogel <> wrote:
> Hey,
> The delivery of my sites is getting somewhat sluggish, so I checked top
> and it say that 30% of my CPU time is just waiting for i/o.
> Is there anything that I can do about this, as in optimizing Apache?
> I'm thinking about caching mechnisms, but I have now over 6.000 sites
> running, so I'm not expecting caching to be useful. Am I wrong on this?
> Since getting an addional server is not possible right now, is there any
> way to ease the situation?
> Regards,
> Samy
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:> for more info.
> To unsubscribe, e-mail:
>    "   from the digest:
> For additional commands, e-mail:

View raw message