|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
log rotation problem
Hello,
first of all sorry for my poor english and tanks for your
patience.
We are using cronolog (1.6.1) with apache 2.0.39 and we are experiencing
a great problem...
I'm going to describe our production environment
Software version:
Solaris 8 last pach level
Apache 2.0.39
Cronolog 1.6.1
Log properties (from httpd.conf):
LogFormat "%h %l %u %t \"%r\" %>s %b %T \"%{User-Agent}i\" <%{Cookie}i>
<%{Set-Cookie}o> \"%{Referer}i\" %p" accrue
CustomLog "|/app/apache/cronlog/bin/cronolog
--symlink=/app/apachedocs/VOWeb/OmniPRI/logs/access_log
/apachelogs/VOWeb/OmniPRI/logs/%Y/%m/%d/access_log" accrue
Problem Description:
Apache write access info, at the same time, in the yesterday acccess_log
and in the current access_log, for example in the next lines You can see
the time stamp of the 2 access_log and the list of processes...
apache@xxxxxx# ls -la 11/
total 530004
drwxrwsr-x 2 apache tlg2acc 512 Mar 11 00:00 .
drwxrwsr-x 13 apache tlg2acc 512 Mar 11 00:00 ..
-rw-rw-r-- 1 apache tlg2acc 217858448 Mar 11 12:05 access_log
-rw-rw-r-- 1 apache tlg2acc 53337282 Mar 11 12:05 ssl_request_log
apache@xxxxxx# ls -la 10/
total 1896772
drwxrwsr-x 2 apache tlg2acc 512 Mar 10 00:00 .
drwxrwsr-x 13 apache tlg2acc 512 Mar 11 00:00 ..
-rw-rw-r-- 1 apache tlg2acc 805104905 Mar 11 12:05 access_log
-rw-rw-r-- 1 apache tlg2acc 165535930 Mar 10 23:59 ssl_request_log
apache@xxxxxx# /usr/sbin/fuser 10/access_log
10/access_log: 3472o 3409o 2956o 2950o 2949o 2918o
22082o
apache@xxxxxx# /usr/sbin/fuser 11/access_log
11/access_log: 22083o
apache@xxxxxx# ps -ef | grep 22083
apache 22083 22082 1 Mar 10 ? 3:56
/app/apache/cronlog/bin/cronolog
--symlink=/app/apachedocs/VOWeb/OmniPRI/logs/a
apache 10106 9453 0 12:06:01 pts/2 0:00 grep 22083
apache@xxxxxx# ps -ef | grep 3472
apache 3472 22082 0 11:35:58 ? 0:33
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 10189 9453 0 12:06:11 pts/2 0:00 grep 3472
apache@xxxxxx# ps -ef | grep 3409
apache 3409 22082 0 11:35:29 ? 0:35
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 10194 9453 0 12:06:37 pts/2 0:00 grep 3409
apache@xxxxxx# ps -ef | grep 2956
apache 2956 22082 0 11:34:34 ? 0:33
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 10203 9453 0 12:06:46 pts/2 0:00 grep 2956
apache@xxxxxx# ps -ef | grep 2950
apache 2950 22082 0 11:34:12 ? 0:36
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 10207 9453 0 12:06:53 pts/2 0:00 grep 2950
apache@xxxxxx# ps -ef | grep 2949
apache 2949 22082 0 11:34:10 ? 0:36
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache@xxxxxx# ps -ef | grep 2918
apache 2918 22082 0 11:34:03 ? 0:36
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache@xxxxxx# ps -ef | grep 22082
apache 22083 22082 1 Mar 10 ? 3:57
/app/apache/cronlog/bin/cronolog
--symlink=/app/apachedocs/VOWeb/OmniPRI/logs/a
apache 2918 22082 0 11:34:03 ? 0:37
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 2949 22082 0 11:34:10 ? 0:36
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 2950 22082 0 11:34:12 ? 0:37
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 3409 22082 0 11:35:29 ? 0:35
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 2956 22082 0 11:34:34 ? 0:34
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 3472 22082 0 11:35:58 ? 0:34
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
apache 10314 9453 0 12:07:18 pts/2 0:00 grep 22082
apache 22084 22082 0 Mar 10 ? 0:40
/app/apache/cronlog/bin/cronolog
--symlink=/app/apachedocs/VOWeb/OmniPRI/logs/s
apache 22082 1 0 Mar 10 ? 0:01
/app/apache/apache-2.0.39/bin/httpd -DOmniPRI -DSSL -f
/app/apachedocs/VOWeb/Om
Can You help us in some way, please?
Thank You Again.
Best regards
Antenore Gatta
|