Current time: 11-30-2024, 03:05 PM Hello There, Guest! (LoginRegister)


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

Posts: 84
Joined: Jan 2008
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!
05-28-2008 06:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
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
05-28-2008 03:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply
psygarden Offline
Junior Member
*

Posts: 84
Joined: Jan 2008
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
05-30-2008 07:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
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 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)