Post Reply  Post Thread 
disable loggin where possible
Author Message
psygarden
Junior Member
*


Posts: 84
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #1
Question  disable loggin where possible

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!


It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
05-28-2008 06:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,614
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
Post: #2
RE: disable loggin where possible

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



In Holiday´s this week :-)
05-28-2008 03:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden
Junior Member
*


Posts: 84
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #3
RE: disable loggin where possible

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


It's hard to argue with the government. Remember, they run the Bureau of Alcohol, Tobacco and Firearms, so they must know a thing or two about satisfying women.
05-30-2008 07:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo
Junior Member
****
Dev Team

Posts: 120
Group: Dev Team
Joined: Mar 2007
Status: Offline
Reputation: 0
Post: #4
RE: disable loggin where possible

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...

05-30-2008 01:45 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |