Unlocking files which are locked by PID 4

Pertanyaan Unlocking files which are locked by PID 4

  • 10 Nopember 2011 10:04
     
     

    Hi

    we have one service "Node manger"  ndsvc.exe which inturn calls multiple java processes. Once we stop the service all the java processes are also shutdown. But the jars which are being loaded by these java process are still locked the process "system" PID 4.   Only reboot is releasing these jars.  The service "Application Experience" is enabled and still seeing the issue.  Please suggest a solution for this.

     

    Thanks

    Sreeja

     

     

Semua Balasan

  • 10 Nopember 2011 20:15
     
     

    You can try using some tools to look at who's locking those jar files before process is shutdown? E.g., try process explorer.

  • 21 Nopember 2011 17:04
     
     

    jars are loaded by PID 4 only if the folder is a symlink. We create a network path to a symlink using mklink.  If its a local drive PID 4 (system process) is not loading these jars.  

    Can you please suggest a solution for this. Any patch available for symlink issues?

    Locking of jars even if the java is not running is intermittent.