pgentoo
Member
Posts: 326
Joined: Mar 2007
Reputation: 0
|
RE: High mem usage by ispcp-vrl-traff
Raphael, thanks for the reply.
In response to your comments:
I understand keeping log files to some point to troubleshoot issues, etc... But I don't see the point of keeping all the files (error, access, and traffic) for a full year. This just seems like overkill for a default configuration. In my previous post I commented "Who has space" for the traff files, but i meant all the log files. This could add up to quite a bit of space if you keep a whole years worth... This just seems like a lot of wasted space that will pretty much never be used. I agree that if an admin wants they could raise these values, but I just think the default of retaining files for 1 year is overkill.
As per the issue of the file handle... On my current system I generate my webalizer stats (every 15 minutes) and wipe the access logs (with the `echo ""> access_log` method). I don't reload or restart apache and everything works fine for me. I'm not saying this isn't the case with some systems, but I was suggesting this approach based on my own limitted experience. If this doesn't work for all systems then maybe we need to think of another way to make gathering traffic stats more efficient.
I'll take a look into how this data is being stored, and more into how it is being updated, and see if I can come up with a recommendation on how to make it more efficient without wiping the file contents every 30 minutes (only every week).
Thanks again for your comments,
Jesse
|
|
11-17-2007 06:30 PM |
|