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

csi-seaweedfs-plugin eat all space on openshift workers #43

Closed
sejesnet opened this issue Feb 14, 2022 · 1 comment
Closed

csi-seaweedfs-plugin eat all space on openshift workers #43

sejesnet opened this issue Feb 14, 2022 · 1 comment

Comments

@sejesnet
Copy link

Good morning. Having a trouble on Openshift with csi-seaweedfs-plugin it eats all storage on worker nodes.

When inspecting volume , finding that it writes much of this files, may be there some cache files:

0	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/sw
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c0_2_0.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c0_2_1.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c1_3_0.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c1_3_1.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c1_3_2.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c2_2_0.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/c2_2_1.ldb
16K	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d/meta
1001M	/sysroot/ostree/deploy/fedora-coreos/var/lib/containers/storage/overlay/659a3e5583aa220c12b20bca302f3a6b6e28b285857f03a3418432b1810b5ffb/diff/tmp/4377ef1d

But why it don't clean up? Could you please help with this.

@chrislusf
Copy link
Contributor

The default cache size is 1GB. Need to configure it lower.

$ weed mount -h
Example: weed mount -filer=localhost:8888 -dir=/some/dir
Default Usage:
...
  -cacheCapacityMB int
    	local file chunk cache capacity in MB (0 will disable cache) (default 1000)
...

chrislusf added a commit to seaweedfs/seaweedfs that referenced this issue Feb 15, 2022
* Prevent cases as seaweedfs/seaweedfs-csi-driver#43
* Improve read write benchmarks
* Improve AI training performance. Most of the files are just read once.
chrislusf added a commit that referenced this issue Feb 15, 2022
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

2 participants