[Bug 1828634] Re: update-notifier runs too often on a Ubuntu

vodopad27 family-gan at yandex.ru
Sun May 12 10:41:07 UTC 2019


Hello,

I have found a reason.

I use check_mk_agent with mk_apt plugin: https://mathias-
kettner.de/cms_check_apt.html

I ignored recommendation of the check-mk developers and installed the plugin without any interval:
It is recommended to install this plugin with asynchronous execution and at an interval with at least one hour. 

As result, apt-get update -qq 2> /dev/null command ran every minute on
my PC. I am not sure, but most likely this was trigger for update-
notifier write a lot of data to disk.

I added interval for mk_apt plugin and currently all OK. less than 10 MB
during 3h.

Thanks for your support!

Have a nice week!

** Changed in: update-notifier (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1828634

Title:
  update-notifier runs too often on a Ubuntu

Status in update-notifier package in Ubuntu:
  Incomplete

Bug description:
  Hello.

  update-notifier runs too often on a Ubuntu. According to sources (update-notifier.c) utility check updates every 10 minutes:
  // the timeout (in sec) when a further activity from dpkg/apt
  // causes the applet to "ungray"
  #define TIMEOUT_APT_RUN 600 /* 600 sec */

  As result, this utility writes about 2 gigabytes on disk per day
  (https://imgur.com/4jzbONU). This is to much for me. I want to save
  SSD resources. I want to decrease update check interval up to ~2h. It
  is will be  OK for me.

  Could you please make check interval configurable? 'Every 10 min'
  should be by default, but users should be able to change this interval
  via config files or GUI.

  What do you think? Thank you!

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: update-notifier 3.192.18
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sat May 11 01:01:43 2019
  InstallationDate: Installed on 2018-05-02 (373 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  SourcePackage: update-notifier
  UpgradeStatus: Upgraded to disco on 2019-04-18 (22 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1828634/+subscriptions



More information about the foundations-bugs mailing list