ispCP - Board - Support
disable loggin where possible - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: disable loggin where possible (/thread-3386.html)



disable loggin where possible - psygarden - 05-28-2008 06:56 AM

Can anyone help me with disabling logging as much as possible? i'm getting extremely high IOWAITS on my system and want to optmise what i can...

I'd like to disable loggin for apache (changing the logging level to emerg so only critical errors get reported)

but i can't seem to find the relevant files...

all help is appreciated!


RE: disable loggin where possible - BeNe - 05-28-2008 03:43 PM

We ALL have that Problem Sad
There is a discussion started in the German Section about it.
ephigenie will start to write a HowTo with mod_log_sql to log in a MySQL DB.
Or you can use a pipe so that you only have on open file.

A short workaround could also be that you disable the Alias and Subdomains Apache Log.

Greez BeNe


RE: disable loggin where possible - psygarden - 05-30-2008 07:12 AM

BeNe Wrote:We ALL have that Problem Sad
There is a discussion started in the German Section about it.
ephigenie will start to write a HowTo with mod_log_sql to log in a MySQL DB.
Or you can use a pipe so that you only have on open file.

A short workaround could also be that you disable the Alias and Subdomains Apache Log.

Greez BeNe

Thanks for the reply, i disabled all the logging in the /etc/apache2/sites-enabled/ispcp.conf file:

Quote:# ErrorLog /var/log/apache2/users/forum.trancepleme.com-error.log
# TransferLog /var/log/apache2/users/forum.trancepleme.com-access.log

# CustomLog /var/log/apache2/trancepleme.com-traf.log traff
# CustomLog /var/log/apache2/trancepleme.com-combined.log combined

I assume this will result in no data being collected for the awstats and the site stats that indicate bandwith.. but it's a good test to see if it results in performance increases!

let me know should this have negative implications i didn't think of!! I'll post back here to let you know if it has the desired effect![/quote]

greetings,
Rik


RE: disable loggin where possible - pgentoo - 05-30-2008 01:45 PM

How high are your IOWAITS?

Did disabling the logging do anything, or are they still high?

Are you very memory bound on your system? If you are out of memory, and having huge swapping problems? I had this happen on one of my boxes, and it caused bad I/O Waits...