84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
使用jstack -l命令可以查看到死锁的线程,请问此时要怎么处理?线程要怎么杀掉呢?还是只能重启服务器?
jstack -l
认证高级PHP讲师
1. Keep the scene to facilitate subsequent troubleshooting. 2. Assess the severity of the deadlock. If it has affected the service, restart the service to see. 3. Research the cause of the deadlock, fix it, and go online again
1. Kill 2. Check the code 3. Modify and test online
In case of deadlock, you can only save the scene and then check the modifications and restart. Livelock may be restored automatically
1. Keep the scene to facilitate subsequent troubleshooting. 2. Assess the severity of the deadlock. If it has affected the service, restart the service to see. 3. Research the cause of the deadlock, fix it, and go online again
1. Kill
2. Check the code
3. Modify and test online
In case of deadlock, you can only save the scene and then check the modifications and restart. Livelock may be restored automatically