httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bj <bjkh...@gmail.com>
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\""
combined
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.

-- 
Bj




On 9/18/07, Samuel Vogel <samy-delux@gmx.de> 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:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message