Re: Apache waiting for i/o -> optimizing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux