-
Notifications
You must be signed in to change notification settings - Fork 7
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
Infinite Loops in Student Code #34
Comments
Hi @YoshikiTakashima. It seems odd that the process is running outside the container. Here a few thoughts:
Also, are there multiple |
Hi @jprider63. Sorry for the delay. So the "escape" part appears to be an observation error on our part. Rather the loop is occurring because So the loop is like this Student submits -> student code runs -> student code times out -> I am not sure what We only running one instance of the |
There is a known issue with timeouts that I just created an issue for (#35). This would cause the thread handling a specific team to block and sometimes leave their docker image running (so administrators would have to kill and restart the The |
Hi.
Thanks to your help in #33, we're up and running.
We're now encountering an issue where, if the student submits code that infinitely loops. Then we are left with a orphaned process.
The process starts in the container, but somehow the container dies before the process dies, leaving a very strange process whose UID does not match any user on the host machine, but is valid only in the container. Despite the container being stopped, this process somehow is still alive.
We've found a rough mitigation, but I would like to find a patch. It would be great if you can provide some insight with respect to this mystery behavior.
Thanks
~Yoshi
The text was updated successfully, but these errors were encountered: