Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Which Program does WebKitWebProcess belong to

1,037 views
Skip to first unread message

tmccon...@gmail.com

unread,
May 26, 2022, 5:10:06 PM5/26/22
to
Hi List,
I'm getting high CPU usage from WebKitWebProcess (50% or higher) on my
machine and would like to know how to find what is being a CPU hog, for
one. And how to report it?
Thanks in advance.
Tim
--
<tmccon...@gmail.com>

Jerome BENOIT

unread,
May 26, 2022, 7:10:05 PM5/26/22
to
Hi, you want to play with apt-file.
Cheers,
Jerome

Greg Wooledge

unread,
May 26, 2022, 7:10:05 PM5/26/22
to
> On 26/05/2022 22:43, tmccon...@gmail.com wrote:
> > I'm getting high CPU usage from WebKitWebProcess (50% or higher) on my
> > machine and would like to know how to find what is being a CPU hog, for
> > one. And how to report it?

On Fri, May 27, 2022 at 12:44:22AM +0200, Jerome BENOIT wrote:
> Hi, you want to play with apt-file.
> Cheers,
> Jerome

Unfortunately it's not that simple.

unicorn:~$ locate WebKit
[...]
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess
[...]

unicorn:~$ dpkg -S /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess
libwebkit2gtk-4.0-37:amd64: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess

That's presumably what you were going to get out of apt-file -- the name
of the package that contains WebKitWebProcess. Unfortunately that doesn't
tell you which *web browser* is using this library.

Now, the OP probably knows which web browser they're running. Unless
they happen to be running more than one, in which case the confusion
is understandable.

Nevertheless, the easiest way for the OP to tell which web browser is
the culprit would be to close one of them, and see if WebKitWebProcess
goes away. Repeat, closing each web browser one by one, until the
culprit is identified.

Another approach would be to try something like:

unicorn:~$ aptitude why libwebkit2gtk-4.0-37
i steam:i386 Recommends zenity:i386
i A zenity Provides zenity:i386
i A zenity Depends libwebkit2gtk-4.0-37 (>= 2.15.1)

Now, that's just my case, and that's clearly not helpful to the OP.
But the OP could run that same command (or a similar one, if their
version of libwebkit2gtk is slightly different), and find out what
package(s) on their system use this library.

to...@tuxteam.de

unread,
May 27, 2022, 1:00:06 AM5/27/22
to
On Thu, May 26, 2022 at 07:08:30PM -0400, Greg Wooledge wrote:
> > On 26/05/2022 22:43, tmccon...@gmail.com wrote:
> > > I'm getting high CPU usage from WebKitWebProcess (50% or higher) on my
> > > machine and would like to know how to find what is being a CPU hog, for
> > > one. And how to report it?
>
> On Fri, May 27, 2022 at 12:44:22AM +0200, Jerome BENOIT wrote:
> > Hi, you want to play with apt-file.
> > Cheers,
> > Jerome
>
> Unfortunately it's not that simple.

[...]

Let alone that there may (probably will) be more than one instance
of WebKitWebProcess around. They might even take turns at hogging
your CPU. That's what web browsers were built for, after all.

Option --forest of your trusty `ps' might shed light in process
parentage.

Another avenue (but be careful!) I try sometimes is to kill the
process (don't use -9 unless absolutely necessary) and see which
application twitches/complains. This might leave some messes to
clean up.

Cheers
--
t
signature.asc

Jeremy Nicoll

unread,
May 27, 2022, 6:00:06 AM5/27/22
to
On Fri, 27 May 2022, at 00:08, Greg Wooledge wrote:

> That's presumably what you were going to get out of apt-file -- the name
> of the package that contains WebKitWebProcess. Unfortunately that doesn't
> tell you which *web browser* is using this library.
>
> Now, the OP probably knows which web browser they're running. Unless
> they happen to be running more than one, in which case the confusion
> is understandable.

Isn't there also another possibility? Some programs which users don't think
of as browsers use WebKit to present their user interface, I think. I'm fairly
sure I've seen this on Windows machine, not sure about Linux.

--
Jeremy Nicoll - my opinions are my own.

Curt

unread,
May 27, 2022, 12:20:55 PM5/27/22
to
On 2022-05-26, tmccon...@gmail.com <tmccon...@gmail.com> wrote:
> Hi List,
> I'm getting high CPU usage from WebKitWebProcess (50% or higher) on my
> machine and would like to know how to find what is being a CPU hog, for
> one. And how to report it?
> Thanks in advance.
> Tim


This works for me to find the "top" (I was going to say *use* 'top', but since
nobody else did, doubt eroded my confidence in my own advice, and then
'top' can difficult to interpret):

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head

Top processes by ram/cpu.
0 new messages