old process
by testy8888 from LinuxQuestions.org on (#57SC1)
hi,
in system there are old processes:
oracle 6798 1 0 Jun24 ? 00:00:38 oracleJBAPRDSTO2
oracle 6980 1 0 2019 ? 00:00:00 oracleJBAPRDSTO2
date
Sat Sep 5 08:05:31 UTC 2020
i think those processes are still there because are open files used by them.
ls -l /proc/6980/fd
lr-x------. 1 root root 64 Jul 30 14:17 0 -> /dev/null
l-wx------. 1 root root 64 Jul 30 14:17 1 -> /dev/null
l-wx------. 1 root root 64 Aug 30 06:32 50 -> /opt/data/obase/diag/rdbms/jbaprdsto/JBAPRDSTO2/trace/JBAPRDSTO2_ora_6980.trc
l-wx------. 1 root root 64 Aug 30 06:32 51 -> /opt/data/obase/diag/rdbms/jbaprdsto/JBAPRDSTO2/trace/JBAPRDSTO2_ora_6980.trm
Process 6980 created on 2019 open files in 30 August?
how is this possible?It means that this file was last modified on 30 August?
Normally after this process ran this should exit.It means that the script that launched this process does not has an clean up code.Right?
Can i delete this process 6980?
top -p 6890
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6980 oracle 20 0 8331352 32152 31728 S 0.0 0.0 0:00.26 oracle_6980_jba


in system there are old processes:
oracle 6798 1 0 Jun24 ? 00:00:38 oracleJBAPRDSTO2
oracle 6980 1 0 2019 ? 00:00:00 oracleJBAPRDSTO2
date
Sat Sep 5 08:05:31 UTC 2020
i think those processes are still there because are open files used by them.
ls -l /proc/6980/fd
lr-x------. 1 root root 64 Jul 30 14:17 0 -> /dev/null
l-wx------. 1 root root 64 Jul 30 14:17 1 -> /dev/null
l-wx------. 1 root root 64 Aug 30 06:32 50 -> /opt/data/obase/diag/rdbms/jbaprdsto/JBAPRDSTO2/trace/JBAPRDSTO2_ora_6980.trc
l-wx------. 1 root root 64 Aug 30 06:32 51 -> /opt/data/obase/diag/rdbms/jbaprdsto/JBAPRDSTO2/trace/JBAPRDSTO2_ora_6980.trm
Process 6980 created on 2019 open files in 30 August?
how is this possible?It means that this file was last modified on 30 August?
Normally after this process ran this should exit.It means that the script that launched this process does not has an clean up code.Right?
Can i delete this process 6980?
top -p 6890
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6980 oracle 20 0 8331352 32152 31728 S 0.0 0.0 0:00.26 oracle_6980_jba