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
Delete /tmp/whateverable/rakudo-moar/* builds older than max possible timeout #144
Comments
|
Yes, the line numbers are correct. That's exactly where I would expect it to happen. |
|
(permalink to the last link in OP in case code in master changes: https://github.com/perl6/whateverable/blob/09c46d5915edfca48944fc8854dc85697cdf0d3d/Whateverable.pm6#L168-L176 ) |
|
We'll need to use the |
This commit resolves many long-standing problems: * Issue #25 (RESTRICTED setting) is resolved. Bots are still not fully secure, but now they are more secure that they've even been given that RESTRICTED setting is entirely useless * Issue #52 (predictable filenames) is no longer blocked * Issue #55 (sandboxable) is probably no longer relevant * Issue #118 (ramfs for /tmp) now needs an update * Issue #144 (bots leaving stuff behind) is resolved because every bot has its own /tmp * Issue #183 (source ip issue) possibly has a systemd solution for it * Issue #197 is tackled a little bit also because now there's a memory limit for every bot (3G for now, we can probably make it smaller) * Issue #238 (e.g. forkbombs) is basically resolved, but needs a bit more work * Moreover, there's now a watchdog that makes sure that bots come back online if something bad happens Not that all of this wasn't possible without systemd, it's just that it is so much easier now. Feel free to hate me as much as you want.
|
Ah. This is no longer a problem after 845db2e. Every bot has its own private |
|
OK it may be a problem for the bot itself if it left something behind and never exited, but so far this has never happened. Non-issue really, but not sure how to test it. |
|
I'd call this unfixed. During the squashathon some people reported stuff being left behind, so it is still a problem (even if it doesn't affect the bots on the server). See also #122. |
See https://irclog.perlgeek.de/perl6-dev/2017-05-19#i_14607655 for example of the problem. We could probably just delete any builds where the creation date of the folder is older than the max TOTAL-TIME allowed for any of the bots to run. Do it here (https://github.com/perl6/whateverable/blob/master/Whateverable.pm6#L168-L176) maybe?
The text was updated successfully, but these errors were encountered: