# Cannot kill a process

**URL:** <https://aiida.discourse.group/t/cannot-kill-a-process/294>\
**Category:** New to AiiDA\
**Created:** [February 23, 2024, 2:35pm UTC](https://aiida.discourse.group/t/cannot-kill-a-process/294 "2024-02-23T14:35:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmberLEE123456](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/amberlee123456/32/51_2.png) [@AmberLEE123456](https://aiida.discourse.group/u/AmberLEE123456)\
**Post date:** [February 23, 2024, 2:35pm UTC](https://aiida.discourse.group/t/cannot-kill-a-process/294/1 "2024-02-23T14:35:20Z")

</div>

Hi,

I cannot kill the process 836. I do not remember where it comes from, and I do not need the calculation anymore.

But after I stop daemon, repair and restart daemon, I still cannot kill the process 836. What is the problem…

Many thanks for that.

```auto
(aiida_QE_VASP) yang@yang-Inspiron-3670:~/AiiDA/tutorial_ssh/04_vasp/test_01$ verdi process kill 836
Warning: The daemon is not running, so processes submitted to the daemon are not reachable.
Error: Process<836> is unreachable.
Report: If one ore more processes are unreachable, you can run the following commands to try and repair them:

    verdi daemon stop
    verdi process repair
    verdi daemon start

(aiida_QE_VASP) yang@yang-Inspiron-3670:~/AiiDA/tutorial_ssh/04_vasp/test_01$ verdi daemon stop
    verdi process repair
    verdi daemon start

Profile: quicksetup
Stopping the daemon... OK
Warning: There are active processes without process task: {836}
Critical: Inconsistencies detected between database and RabbitMQ.
Starting the daemon with 4 workers... OK
(aiida_QE_VASP) yang@yang-Inspiron-3670:~/AiiDA/tutorial_ssh/04_vasp/test_01$ verdi process list
  PK Created Process label ♻ Process State Process status
---- --------- --------------- --- --------------- ----------------------------------
 836 8D ago PwCalculation ⏵ Waiting Waiting for transport task: submit

Total results: 1

Report: ♻ Processes marked with check-mark were not run but taken from the cache.
Report: Add the option `-P pk cached_from` to the command to display cache source.
Report: Last time an entry changed state: 1m ago (at 22:29:11 on 2024-02-23)
Report: Checking daemon load... OK
Report: Using 0% of the available daemon worker slots.
(aiida_QE_VASP) yang@yang-Inspiron-3670:~/AiiDA/tutorial_ssh/04_vasp/test_01$ verdi process kill 836
Error: Process<836> is unreachable.
Report: If one ore more processes are unreachable, you can run the following commands to try and repair them:

    verdi daemon stop
    verdi process repair
    verdi daemon start

(aiida_QE_VASP) yang@yang-Inspiron-3670:~/AiiDA/tutorial_ssh/04_vasp/test_01$ 

```

Sincerely,  
Dr. Guoyu Yang  
Lecturer  
Jimei Univ, School of Science, Digital Fujian Big Data Modeling and Intelligent Computing Institute  
185 Yinjiang Rd.,  
Jimei District, Xiamen,361021  
Fujian, China  
E-mail: [201961000100@jmu.edu.cn](mailto:201961000100@jmu.edu.cn)

---

<div class="post-metadata">

**Author:** ![sphuber](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/sphuber/32/6_2.png) [@sphuber](https://aiida.discourse.group/u/sphuber)\
**Post date:** [February 23, 2024, 2:41pm UTC](https://aiida.discourse.group/t/cannot-kill-a-process/294/2 "2024-02-23T14:41:43Z")

</div>

There might be some delay between starting the daemon again and it picking up the job, so you can kill it. Did you try `verdi process kill` again after waiting a bit for the daemon to fully start up. 30 seconds should be enough.

If that doesn’t work, does `verdi process play` work, or do you get the same `unreachable` error?

If you don’t care anymore about the job, you can simply delete it as well with `verdi node delete 836`.

---

<div class="post-metadata">

**Author:** ![AmberLEE123456](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/amberlee123456/32/51_2.png) [@AmberLEE123456](https://aiida.discourse.group/u/AmberLEE123456)\
**Post date:** [February 26, 2024, 5:14am UTC](https://aiida.discourse.group/t/cannot-kill-a-process/294/3 "2024-02-26T05:14:33Z")

</div>

I think it is the first situation. I did not do anything else. And the job disappeared now.

Sincerely,  
Dr. Guoyu Yang  
Lecturer  
Jimei Univ, School of Science, Digital Fujian Big Data Modeling and Intelligent Computing Institute  
185 Yinjiang Rd.,  
Jimei District, Xiamen,361021  
Fujian, China  
E-mail: [201961000100@jmu.edu.cn](mailto:201961000100@jmu.edu.cn)
