Hi:

I did a quick look on the internet for how to detach a child process from the parent, but I am afraid that the present running condition of my tasks are such that disown does not work anymore, nor does nohup work upon starting the child to prevent the parent from really interrupting the child process and the child terminating. (despite what is stated, much to my big surprise this very thing happened, despite my starting the child command with nohup prepended)

Here's the current process tree (one example of several which are similar)

 PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
 1591  1602   993   993 ?           -1 Sl    1000   0:00      \_ /usr/bin/startplasma-x11  1602  1680   993   993 ?           -1 Sl    1000 0:00          \_ /usr/bin/plasma_session  1680  1771   993   993 ?           -1 Sl    1000 146:01              \_ /usr/bin/plasmashell  1771  4610   993   993 ?           -1 Sl    1000 0:21              |   \_ /usr/bin/konsole  4610  4661  4661  4661 pts/4     2327 Ss    1000 0:00              |   |   \_ /bin/bash  4661 20122 20122  4661 pts/4     2327 R     1000 1592:01             |   |       \_ /usr/local/magma/magma.exe  4661  2327  2327  4661 pts/4     2327 S+    1000 0:00              |   |       \_ tail -f d1.results

My goal is to get processes 20122 and 2327 detached from 4661 /usr/bin/konsole so that both are now attached to process PPID 1 (I believe)

How can this be done safely? My Plasma v5.24.5 desktop is suffering from leaky memory and has consumed 58% of my 32 gig memory so I am going to have to restart the desktop.

Sooner or later the Plasmashell IS going to consume ALL the system memory resources and finally crash the system.

Randall

Reply via email to