[Bug 1471723] Re: systemctl completion is slow

halfgaar 1471723 at bugs.launchpad.net
Fri Dec 18 09:24:26 UTC 2020


For me the main issue is 'journalctl -u <TAB>'. Not always, but often
this takes very long. I just time a run of 38 seconds, on a 8 core 32GB
machine. A process called 'journalctl -F _SYSTEMD_UNIT' takes 100% CPU
doing it.

If systemd is going to replace traditional rotated log files where you
can just do 'cat logfile|grep', this kind of thing should really be
fixed.

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

Title:
  systemctl completion is slow

Status in bash-completion package in Ubuntu:
  Confirmed

Bug description:
  Every time I'm trying to autocomplete some service name for systemctl
  command it takes up to 5 seconds to do it.

  AFAIU the file is /usr/share/bash-completion/completions/systemctl but
  I haven't read it yet.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: bash-completion 1:2.1-4ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-21.21-generic 3.19.8
  Uname: Linux 3.19.0-21-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Mon Jul  6 12:33:40 2015
  PackageArchitecture: all
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1471723/+subscriptions



More information about the foundations-bugs mailing list