-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I'm using the Aries engine of the UP framework and to test what I'm developing I kill my code most of the time (Ctrl-C, so SIGTERM, not anything too violent).
In the last days I noticed my laptop (Apple MBP 14" M1 Pro) was draining the battery very quickly and strangely heating up quite a lot and I was worried about it having some hardware problems when instead I noticed there was a running
up-aries_macos_arm64 process in the background using up to 300% of CPU constantly.
So this was probably dangling from some of the instances of Aries launched by the UP during testing of my code, but which was not killed properly when the Python process stopped.
Unfortunately I tried but I don't know how to reproduce what happened. I'm issuing it anyway because it may be something easy to spot for somebody that knows the source and how the service process is supposed to be killed in anomalous situations.
The Python code itself is also difficult to post, but it is encoding some high-level problem into a hierarchical problem and then launching Aries with an AnytimePlanner instance in a rather standard way.
Edit: The Python packages versions I'm using are unified-planning==1.0.0.289.dev1 and up-aries==0.3.2.
Let me know if I can do anything to help you debug this.