hello.

every now and then some browser instance goes resource wild.  top(1) or
ps(1) show the PID consuming all the resources (normally a webkit
instance), but i haven't figured out a way to go from that to knowing
which instance to kill off, given that most often i start surf from
dwm(1), which starts surf on a generic search engine page, and then i go
from there.  is there an obvious method for correlating a PID to an
actual instance?

if not, two questions/suggestions:

1.  would it make sense to have some key combination in surf(1) that
would show *its* PID (in the status bar or somewhere)?  (and, possibly
less palatable, maybe a key for tabbed(1) to list its cilents along with
their PIDs?)

2.  i'm using the new webkit2gtk surf, and i notice that the spawned
webkit processes don't have the surf instance as their parent; e.g., "ps
axo pid,ppid,command" shows:
----
32676 32672 tabbed -c -r2 surf -e x -z1.3 -a @a duckduckgo.com
32677 32676 surf -e 46137347 -z1.3 -a @a duckduckgo.com
32688     1 /usr/local/libexec/webkit2gtk-4.0/WebKitNetworkProcess 18
32691     1 /usr/local/libexec/webkit2gtk-4.0/WebKitWebProcess 21
----
rather, they are children of process 1.  does anyone know why that is?

cheers, Greg Minshall

Reply via email to