none
remnant processes

    Question

  • I have a number of orphaned (child) processes which have been started from a process submitted as a task through Windows HPC Server 2008 R2. The process is:

    1) I submit a task which run an executable (c++).
    2) This executable starts a child process using ProcessCreate.

    Most of the time these child processes are terminated when the task is cancelled (signaled by ^C) but some of the processes survive and continue to consume resources  (virtual memory) on the compute servers until reboot.

    I have two questions:

    1) Can I track these remnant processes through the HPC interface/cmdlets?

    2) The processes appear to be unkillable. Is there a way to remove them without reboot of the compute server?

    I have looked into using the job object functions (msdn.microsoft.com/en-us/library/windows/desktop/ms682409) to "bundle" the processes but that seems to not be viable as job objects are already used by the HPC server and a job object within another job object is not allowed in Windows Server 2008 R2.

    Tuesday, December 10, 2013 12:01 PM