Package: munin-node
Version: 1.2.2-2
Severity: normal

Hi,

The processing done by the apt_all plugin can be rather expensive if there
are many packages installed and/or many sources in sources.list. On one of
my systems the plugin even times out sometimes.

Since the results it obtains will always be the same anyway until apt-get
update is run again, why not move the processing there? Either write a file
into /var/cache with the output of the plugin from the apt-get update
cronjob; or maybe there is a mechanism to have apt invoke a program after
apt-get update, so the plugin output would also be updated on manual
apt-get updates.

The plugin itself would just need to cat the file from /var/cache.
Considering that the plugin gets run every five minutes or so, the savings
could be significant.

I file this report with a severity of 'normal' instead of 'wishlist' because
due to the timeout the plugin sometimes actually fails.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-ak1-chardonnay
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages munin-node depends on:
ii  libnet-server-perl            0.87-2     An extensible, general perl server
ii  perl                          5.8.4-5    Larry Wall's Practical Extraction 
ii  procps                        1:3.2.5-1  /proc file system utilities

-- no debconf information

Best regards,

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
        A road map always tells you everything except how to refold it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to