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

weed mount ls error #787

Closed
accumulatepig opened this Issue Dec 11, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@accumulatepig
Copy link

accumulatepig commented Dec 11, 2018

version: version 1.11 linux amd64
when i exec ls command on weed mount node , shows the error:
ls: reading directory /mydirectory/: Input/output error

mount log print:
I1211 18:29:26 50236 dir.go:250] list /mydirectory: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5658718 vs. 4194304)

large files or directory in /mydirectory cause the problem ? and how can i fix it ,thanks

@chrislusf

This comment has been minimized.

Copy link
Owner

chrislusf commented Dec 11, 2018

to temporary fix it, "weed mount -dirListLimit=1024", I will add a fix to paginate the results.

@chrislusf chrislusf closed this in 42b8f11 Dec 11, 2018

@accumulatepig

This comment has been minimized.

Copy link
Author

accumulatepig commented Dec 11, 2018

after fix 42b8f11 ,weed mount -dirListLimit can be a Larger number?

@chrislusf

This comment has been minimized.

Copy link
Owner

chrislusf commented Dec 11, 2018

correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.