Package: tiger
Version: 1:3.2.3-10
Severity: wishlist

Dear Maintainer,

In virtualized environnements, tiger could cause I/O storms. An example of bad
situation :

tiger with default conf on 15 VM in a same KVM host.
The first August at 2:00 AM , all VM + the host starts find_files check.
IO load gets very high at 02:01 and other services are impacted.

I think we could imitate apt cron behavior to randomize start time, adjusting
the minute part only. Basicaly they use a sleep $(random 1800).

I this could be done only by altering the tigercron script and adding a
function like the apt one :

>From wheezy default /etc/cron.daily/apt :
# sleep for a random interval of time (default 30min)
# (some code taken from cron-apt, thanks)
random_sleep()
{
    RandomSleep=1800
    eval $(apt-config shell RandomSleep APT::Periodic::RandomSleep)
    if [ $RandomSleep -eq 0 ]; then
        return
    fi
    if [ -z "$RANDOM" ] ; then
        # A fix for shells that do not have this bash feature.
        RANDOM=$(dd if=/dev/urandom count=1 2> /dev/null | cksum | cut -c"1-5")
    fi
    TIME=$(($RANDOM % $RandomSleep))
    debug_echo "sleeping for $TIME seconds"
    sleep $TIME
}

Maybe this introduce some dependancies like "coreutils" (but seems a common
case).

Regards,
Ludovic



-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tiger depends on:
ii  binutils               2.22-8
ii  bsdmainutils           9.0.3
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u3
ii  net-tools              1.60-24.2
ii  ucf                    3.0025+nmu3

Versions of packages tiger recommends:
ii  chkrootkit                                 0.49-4.1+deb7u2
ii  exim4-daemon-light [mail-transport-agent]  4.80-7
ii  john                                       1.7.8-1
ii  tripwire                                   2.4.2.2-2

Versions of packages tiger suggests:
ii  lsof  4.86+dfsg-1

-- debconf information:
  tiger/mail_rcpt: root
  tiger/policy_adapt:


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to