Closed Anas-1998 closed 2 years ago
Hi @Anas-1998
This seems weird. subprocess.Popen.kill()
should be able to shut down processes unconditionally. A workaround might be to increase the gracetime_s
in Line 101. But I can't comprehend why the process should not be gone after a second.
What platform/OS are you running this on?
Im working on ubuntu: Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal I will try to increase the gracetime and let you know if it happend again. Thanks!
Closing as stale.
Hello, I am using env.reset() whenever an episode finish, so basically its not a clean shutdown from omnett. I got this output after around 20k episode, is there any specific reason you might know for that? Thanks in advance
WARNING:root:Veins process 972485 did not shut down gracefully, sending kill. ERROR:root:Veins process 972485 could not even be killed!
AssertionError Traceback (most recent call last)