简体   繁体   English

如何杀死Java LWP(轻量级进程)Linux

[英]How to kill Java LWP (Light weight process) Linux

Is there any way to kill LWP. 有什么方法可以杀死LWP。

I have a web application and two LWP and running continuously from last 16 hours. 我有一个Web应用程序和两个LWP,并且从最近16个小时开始连续运行。 And those process consuming lots of core because of that cpu consumption gone 100%. 而且那些进程消耗大量核心资源,因为CPU消耗达到了100%。 I wonder if i can kill this LWP without affecting running application. 我想知道我是否可以杀死LWP而不会影响正在运行的应用程序。

Get PID of LWP and use kill -9 command to terminate them. 获取LWP的PID并使用kill -9命令终止它们。 Before terminating them check if they are related with your application 在终止它们之前,请检查它们是否与您的应用程序相关

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM