Skip to content
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

Workaround for the storage limit on oss-app #13

Open
davidediruscio opened this issue Jan 6, 2020 · 4 comments
Open

Workaround for the storage limit on oss-app #13

davidediruscio opened this issue Jan 6, 2020 · 4 comments

Comments

@davidediruscio
Copy link

The Docker storage limit imposed by the Overlay2 storage driver seems to be the cause of several issues: crossminer/scava-deployment#107, crossminer/scava#390.

One possible solution is to change the storage-driver to devicemanager and configure a new max limits in the Docker engine. This change would affect all the Docker running on the machine.

Another solution is to link the folders that need to store great amounts of data to the host filesystem using volumes. This change can be made on the docker -compose file and any rebuild.

My suggestion is to bind container:/ossmeter/git to a folder on the host filesystem. This migration will delete the previous data on the container:/ossmeter/git folder. But will be populated as deltas are created.

@davidediruscio
Copy link
Author

I would opt for the second solution.
Can you inform what's the current overlay2 limit ?

@davidediruscio
Copy link
Author

I would opt for the second solution.
Can you inform what's the current overlay2 limit ?

It seems to be 10 GB

@davidediruscio
Copy link
Author

It seems that the container:/ossmeter/git is not the main culprit for the storage consumption.

container:/root/ is using 6GB on the oss-app running at http://ci4.castalia.camp. Scava seems to be storing a lot of data there.

@davidediruscio
Copy link
Author

crossminer/scava-deployment@10f52ac implements the second approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant