Bug#301361: Move processing from apt_all plugin to apt-get update cronjob

2005-03-31 Thread Jimmy Olsen
tags 301361 +fixed-upstream
thanks,

Once upon a time, Andras Korn [EMAIL PROTECTED] sagely scribed:
 
 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.

I've changed this in the upstream repository, but only in the 1.3 branch,
not the 1.2 stable branch (too big a change).

If the Debian packagers want to patch their version, the changes can be
found between svn revisions 870:871.


-jo (upstream) :-)


pgpsfwvDdF2vo.pgp
Description: PGP signature


Bug#301361: Move processing from apt_all plugin to apt-get update cronjob

2005-03-25 Thread Andras Korn
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-perl0.87-2 An extensible, general perl server
ii  perl  5.8.4-5Larry Wall's Practical Extraction 
ii  procps1: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]