Unlocking files which are locked by PID 4 RRS feed

  • Question

  • 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.






    Thursday, November 10, 2011 10:04 AM

All replies

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

    Thursday, November 10, 2011 8:15 PM
  • 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.


    Monday, November 21, 2011 5:04 PM