Yeah, I wanted to switch to MySQL based logs for some time now.
Right now, I could disable the access log completly, but I don't see a
single CustomLog directive in my config files?
Where could it be defined, or how could I disable it anyways? I'm
running Debian.
h1314632:~# grep CustomLog /etc/apache2/*
/etc/apache2/apache2.conf:# a CustomLog directive (see below).
h1314632:~# grep CustomLog /etc/apache2/*/*
h1314632:~#
Regards,
Samy
Bj schrieb:
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* < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> 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: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
" from the digest: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]