Web Hosting Talk







View Full Version : analog cause heavy load on the system


addady
05-09-2002, 02:12 AM
The daily run of analog use lot of memory and my system is hanging !
It seen that some of the sites on my RAQ4 have very big log file to analyze !
I what to disable the log file analysis from some of the sites.

It can be done by modifying the /usr/local/sbin/split_logs perl script to skip calling analog for
some domains.

I don't want to change it if I have other alternative.
Do you know how to disable log analyses from certain virtual sites ???

Who call analog:
/etc/crontab
/etc/cron.daily
/etc/cron.daily/logrotate
/usr/sbin/logrotate /etc/logrotate.conf
/etc/logrotate.conf
/etc/logrotate.d
/etc/logrotate.d/apache
/usr/local/sbin/split_logs # split it to sites (perl program)
# we can remove here some sites
/usr/local/sbin/analog # analog

Addady

addady
05-09-2002, 02:32 AM
Who call analog:
/etc/crontab
-/etc/cron.daily
--/etc/cron.daily/logrotate
---/usr/sbin/logrotate /etc/logrotate.conf
----/etc/logrotate.conf
-----/etc/logrotate.d
------/etc/logrotate.d/apache
-------/usr/local/sbin/split_logs # split it to sites (perl program), we can remove here some sites
--------/usr/local/sbin/analog # analog