Unlocking files which are locked by PID 4

질문 Unlocking files which are locked by PID 4

  • 2011년 11월 10일 목요일 오전 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

     

     

모든 응답

  • 2011년 11월 10일 목요일 오후 8: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.

  • 2011년 11월 21일 월요일 오후 5: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.