Hi,
OK, here is a test scenario.
mkdir /tmp/svlogd-test
cat <<EOF >/tmp/svlogd-test/config
s100
n3
!gzip -9
EOF
svlogd /tmp/svlogd-test </dev/urandom
Let it run for a while; it seems to work, there are never more than 3 @*
files.
Now press ctrl-c, and then restart svlogd. Repeat a few times. I was left
with:
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc1feb0734.s
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc20bca35c.s
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc2192e304.s
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc2265d304.s
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc233999dc.s
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc240d7ff4.s
-rwxr--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc24e03d2c.s
-rw-r--r--+ 1 korn admin 123 Jun 2 16:57 @40000000448051fc25b15484.t
-rw-r--r--+ 1 korn admin 17 Jun 2 16:57 config
-rw-r--r--+ 1 korn admin 100 Jun 2 16:57 current
-rw-------+ 1 korn admin 0 Jun 2 16:57 lock
-rw-r--r--+ 1 korn admin 0 Jun 2 16:57 newstate
-rw-r--r--+ 1 korn admin 0 Jun 2 16:57 state
Obviously way more than 3.
So, somehow, when svlogd exits due to a signal, the number of logfiles can
get out of hand.
Andras
--
Andras Korn <korn at chardonnay.math.bme.hu>
<http://chardonnay.math.bme.hu/~korn/> QOTD:
What we call work the Mexicans call siesta.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]