Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

問題 Unlocking files which are locked by PID 4

  • יום חמישי 10 נובמבר 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

     

     

כל התגובות

  • יום חמישי 10 נובמבר 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 נובמבר 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.