[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-10-11 Thread Graham
After updating the Ubuntu servers I maintain on the 30 of September I'm
having this problem too. However only on one of the servers which is
currently running Ubuntu 14.04.5 LTS (3.13.0-96-generic #143-Ubuntu SMP
Mon Aug 29 20:15:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux).

If I run apt-check manually with the following command: 
# /usr/lib/update-notifier/apt-check --human-readable
0 packages can be updated.
0 updates are security updates.

It outputs quite quickly but running apt-get update tends to cause multiple 
processes of 
'apt-check --human-readable' and causes high load.

top shows the following:
##
top - 11:00:03 up 11 days, 10:28,  1 user,  load average: 28.85, 16.79, 7.03
Tasks: 279 total,   9 running, 266 sleeping,   0 stopped,   4 zombie
%Cpu(s): 20.5 us,  7.7 sy,  0.1 ni, 70.5 id,  1.1 wa,  0.0 hi,  0.1 si,  0.0 st
KiB Mem:   1013868 total,   943524 used,70344 free,  664 buffers
KiB Swap:  1046524 total,58400 used,   988124 free.   505288 cached Mem

 PID USER  PR  NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND
15494 root  39  19  121672  34420  21224 D  4.5  3.4   0:03.18 apt-check
15650 root  39  19  121672  34260  21060 R  4.5  3.4   0:03.21 apt-check
16038 root  39  19  121676  34744  21532 D  4.5  3.4   0:03.22 apt-check
16144 root  39  19  121676  35260  22052 D  4.5  3.5   0:03.17 apt-check
16642 root  39  19  103884  28516  19756 D  4.5  2.8   0:02.48 apt-check

htop shows mostly the same but with instead of apt-check gives more info about 
the command:
'/usr/bin/python /usr/lib/update-notifier/apt-check --human-readable'


The server also shows more average load across the board in vSphere. CPU% has 
increase from normally 6% to average of 33%. However I'm not sure if this is 
related. 

Also found a tread on serverfault with the same issue:
http://serverfault.com/questions/471089/prevent-apt-check-from-eating-
all-my-memory

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-03-09 Thread pfoo
For kubuntu, this is related to package plasma-discover-updater

This issue seems to be resolved upstream:
https://bugs.kde.org/show_bug.cgi?id=358359

** Bug watch added: KDE Bug Tracking System #358359
   https://bugs.kde.org/show_bug.cgi?id=358359

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-02-29 Thread Darth Revan
Can confirm this happens on "apt-get update" command on Kubuntu 16.04.
If I have more processes open when I try to run this it makes my
computer unresponsive, not only because the processor is at 100% which
is bad enough, but because it will start digging into swap, and I have
16GB of RAM. Terrible bug indeed!

Interestingly enough if I run "apt-get install update-notifier" it would
appear as if it where not installed so it's all the more frustrating.

For those that have problems with their computer being unusable from
time to time there is a file in cron.daily and cron.weekly that starts
this process automatically which you can comment out. Or if you want to
disable it completely you can just:

mv /usr/lib/update-notifier/apt-check 
/usr/lib/update-notifier/apt-check.disabled
touch apt-check
chmod 777 $_

I'm not really sure what the above would break but it's better than
having the system unusable in my opinion.

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-02-19 Thread José Luis Molina Soria
A mi me pasa lo mismo. Después de un apt-get update tengo que esperar
durante mucho tiempo para que mi ordenador reaccione.

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-02-19 Thread José Luis Molina Soria
The same happens to me. After an apt-get update I have to wait long for
my computer to react.

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-02-03 Thread Mike C. Fletcher
To be clear, this bug causes the Wily machine to hard-crash with 100%
CPU and 100% memory usage, forcing a hard reboot. Can't log in at
console to restart, can't even get to a console to run killall. So every
few days the system becomes a paper-weight and has to be converted back
into a computer by human interaction...

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2016-01-27 Thread Gannet
The same is in Wily.

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2015-03-01 Thread mc0e
Loading updates from different remote hosts in parallel is useful, but
it looks like there needs to be a way to switch it off.

In `man apt.conf` I see:

   Queue-Mode
   Queuing mode; Queue-Mode can be one of host or access which
   determines how APT parallelizes outgoing connections.  host means
   that one connection per target host will be opened, access means
   that one connection per URI type will be opened.

Seems to me that perhaps another mode is warranted where the connections
are serialised.  Alternatively, perhaps a limit on the number of
parallel connections in total.

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2012-02-24 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

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

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

Title:
  apt-check uses too much resources (starts too many processes)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 746508] Re: apt-check uses too much resources (starts too many processes)

2011-03-31 Thread Philip Muškovac
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/746508

Title:
  apt-check uses too much resources (starts too many processes)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs