we are using the balenaEngine on Jetson Nano as part of our openBalena deployment.
On some occasions, processes that have been started within our application container seem to escape the container while still being active in the background and allocating resources. So far we haven’t figured out the exact context in which this behaviour occurs, but it seems to be independent of the processes themselves.
In order to reproduce this behaviour:
Enter container via
balnea exec -it
Start long-running script in the background
sudo python3 my_script.py &
Exit container via
Check for the process via
ps | grep python3
Is there a reasonable explanation for this behaviour? Am I missing something?
Any input is highly appreciated!