Skip to content

After uncertain amount of time cpufreqctl keeps spawning infinite processes #220

@BloodyIron

Description

@BloodyIron

So recently I've noticed that "journalctl --dmesg --boot --since=yesterday" keeps using some of my CPU after a day or so since previous reboot/power cycle.

I used sysdig "sudo sysdig evt.type=execve and evt.arg.exe=journalctl" to dig down into what's triggering this execution.

After digging further, I see (with sysdig looking at bash)...

2229639 07:58:36.804953862 3 bash (2010162.2010162) < execve res=0 exe=bash args=/usr/bin/cpufreqctl.--throttle-events. tid=2010162(bash) pid=2010162(bash) ptid=472866(cpufreq-service) cwd= fdlimit=1024 pgft_maj=0 pgft_min=129 vm_size=1824 vm_rss=0 vm_swap=0 comm=bash cgroups=cpuset=/.cpu=/user.slice/user-1000.slice/[email protected]/session.slice.cpua... env=HOME=/home/REDACTED.LANG=en_CA.UTF-8.LANGUAGE=en_CA:en.LOGNAME=REDACTED.P... tty=0 pgid=472649(gnome-shell) loginuid=1000 flags=0 2407752 07:58:37.805628374 14 cpufreqctl (2010174.2010174) < execve res=-2(ENOENT) exe=bash args=/usr/bin/cpufreqctl.--throttle-events. tid=2010174(cpufreqctl) pid=2010174(cpufreqctl) ptid=472866(cpufreq-service) cwd= fdlimit=1024 pgft_maj=0 pgft_min=123 vm_size=8228 vm_rss=1536 vm_swap=0 comm=cpufreqctl cgroups=cpuset=/.cpu=/user.slice/user-1000.slice/[email protected]/session.slice.cpua... env=HOME=/home/REDACTED.LANG=en_CA.UTF-8.LANGUAGE=en_CA:en.LOGNAME=REDACTED.P... tty=0 pgid=472649(gnome-shell) loginuid=1000 flags=0 2407826 07:58:37.805685405 14 cpufreqctl (2010174.2010174) < execve res=-2(ENOENT) exe=bash args=/usr/bin/cpufreqctl.--throttle-events. tid=2010174(cpufreqctl) pid=2010174(cpufreqctl) ptid=472866(cpufreq-service) cwd= fdlimit=1024 pgft_maj=0 pgft_min=124 vm_size=8228 vm_rss=1536 vm_swap=0 comm=cpufreqctl cgroups=cpuset=/.cpu=/user.slice/user-1000.slice/[email protected]/session.slice.cpua... env=HOME=/home/REDACTED.LANG=en_CA.UTF-8.LANGUAGE=en_CA:en.LOGNAME=REDACTED.P... tty=0 pgid=472649(gnome-shell) loginuid=1000 flags=0 2407886 07:58:37.805742646 14 cpufreqctl (2010174.2010174) < execve res=-2(ENOENT) exe=bash args=/usr/bin/cpufreqctl.--throttle-events. tid=2010174(cpufreqctl) pid=2010174(cpufreqctl) ptid=472866(cpufreq-service) cwd= fdlimit=1024 pgft_maj=0 pgft_min=125 vm_size=8228 vm_rss=1536 vm_swap=0 comm=cpufreqctl cgroups=cpuset=/.cpu=/user.slice/user-1000.slice/[email protected]/session.slice.cpua... env=HOME=/home/REDACTED.LANG=en_CA.UTF-8.LANGUAGE=en_CA:en.LOGNAME=REDACTED.P... tty=0 pgid=472649(gnome-shell) loginuid=1000 flags=0

And this comes up EVERY SECOND.

I had to kill cpufreq-service just to stop my CPU from being hammered by this.

The thing is, when I reboot or powercycle otherwise, this behaviour isn't exhibited.

This clearly is a flaw of cpufreq and I probably now have to alt+f2 then "r" to reload gnome just to get cpufreq going again.

:/ can we get this looked at please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions