-
Notifications
You must be signed in to change notification settings - Fork 32
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
Revert "Prevent directory modifications when iterating" #518
Revert "Prevent directory modifications when iterating" #518
Conversation
cc @caco3 sadly had to revert it due to memory issues (512MB were not enough to update our instance) |
@nickvergessen Thanks for the info. That is a pity. Maybe once #507 or #516 gets solved, #515 would be fine? @blizzz Do you think we could have a look on using my originally proposed recursive rrmdir? |
We think the apps folder be the culprit with almost 70k file. 512 MB were exceeded. The data dir is elsewhere. |
hmm, but why did this not get catched on the checks? Do you have higher memory limits there? |
Well this was with the CLI updater, so all steps execute in one process?
Quite some yeah, i guess
|
What a pity 😢 What is the plan now to address #158 (should be reopened I guess)?
All of that before v28 is released? |
No, I always use the Web UI. I can confirm that there is an error with too many files. I created 500 extra folders in apps and added 120 files in each of those folders using for i in {001..500}; do mkdir -p $i; echo $i; for f in {001..120}; do echo "$i-$f" > $i/$f; done; done This throws an error 500 in step 9. |
I would say reopen a PR with a revert of the revert and try to fix the problem there |
Reverts #515
The upgrade fails due to memory exhaustion on step 9 (removing files).
Fixes #517