V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
sumland
0.04D
V2EX  ›  问与答

windows 任务管理器无法关闭 jar 程序的问题

  •  
  •   sumland · May 9, 2019 via Android · 2025 views
    This topic created in 2558 days ago, the information mentioned may be changed or developed.
    有个 jar 服务程序,跑了一两天就不能通过 taskkill 来关闭,任务管理器关闭进程报 无法完成操作,拒绝访问。只能重启系统解决。是不是程序本身有死锁还是什么资源不能释放?有没有大哥了解这种情况?
    2 replies    2019-05-09 21:26:54 +08:00
    mmdsun
        1
    mmdsun  
       May 9, 2019 via Android
    还没遇到这种情况。
    taskkill /f 也不行么。

    那用 powershell 命令试试看
    Get-Process -Name Stop-Process
    SunriseFox
        2
    SunriseFox  
       May 9, 2019 via Android
    Windows Bug,当一个进程在和内核驱动通信的时候,这个进程就被置于 Unkillable 的状态。如果内核驱动死锁,就会没办法停止了。

    (研究了很久似乎没办法在用户态调试这种进程,如果有大佬知道调试的方法请务必教教我 0v0
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5752 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 06:51 · PVG 14:51 · LAX 23:51 · JFK 02:51
    ♥ Do have faith in what you're doing.