如何杀死重生节点 [英] How to kill Respawning Node

查看:63
本文介绍了如何杀死重生节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要帮助杀死进程节点JS.我试图在我的服务器上停止节点 js 进程,我一直在用

Need help for killing process node JS. I'm trying to stop node js process on my server, I've been use

killall -9 node

这是回应

node(30332): Operation not permitted
node: no process found

所以我用了

sudo killall -9 节点

sudo killall -9 node

但是节点 js 仍然使用不同的 PID 重生.有什么帮助吗?

but the node js is still respawning with different PID. Any help?

推荐答案

终于找到问题了,还有与Node Process相关的Parents ID.

Finally found the problems, there are Parents ID that related to Node Process.

我正在使用

ps -ef |没有

并找到父进程ID/睡眠进程并杀死父进程然后杀死节点进程.

and found the Parent Process ID / Sleep Process and kill the parents and then kill the node process.

这篇关于如何杀死重生节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆