Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows process AfterFX.exe is not killed when no logging is reported for 60 seconds. #982

Open
Tillaert opened this issue Mar 28, 2024 · 4 comments
Labels

Comments

@Tillaert
Copy link
Contributor

Describe the bug
Windows process AfterFX.exe is not killed when no logging is reported for 60 seconds. Node process exits.

Information about environment
Windows Server 2019.
Remaining process:


Image Name                     PID Session Name        Session#    Mem Usage
========================= ======== ================ =========== ============
AfterFX.com                   2560 Services                   1  4,764,060 K

Expected behavior
The AfterFX.exe is killed.

Additional info

@inlife
Copy link
Owner

inlife commented Mar 28, 2024

Any ideas on how to kill a specific AfterFX process related to that particular worker?

Assuming we have lets say 4 workers running in parallel, the problem is that we don't want to accidentally kill a process related to one of the "healthy" workers that are busy on rendering actual videos.

@Tillaert
Copy link
Contributor Author

I have no idea. The way we run is, that we have one runner per environment, but that environment doesn't finish, because a process is still running.

I can kill the environment, after a timeout, however, NexRender's logging timeout cannot be disabled (I now set it to Number.MAX_SAFE_INTEGER). If that timeout kicks in, it returns a value (through an exception) which stops the external time-out mechanism.

Due to the nature of AfterEffects, this problem might not be solvable. It would help if the maxUpdateTimeout can be set to zero, disabling the timer (similar to maxRenderTimeout )

@inlife
Copy link
Owner

inlife commented Mar 28, 2024

Thanks for the info. I'll think of possible solutions.

I wonder, what is the way you separate the environments? This approach sounds very interesting.

@Tillaert
Copy link
Contributor Author

I run aftereffects in a VM, using nexrender to configure the job, and when all the processes are done, the VM is destroyed. The dangling process causes the VM not to finish. I could investigate killing the VM from the host, once NexRender has finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants