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

[curvefs]client: dbench fail #2882

Closed
Cyber-SiKu opened this issue Nov 9, 2023 · 1 comment
Closed

[curvefs]client: dbench fail #2882

Cyber-SiKu opened this issue Nov 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Cyber-SiKu
Copy link
Contributor

Describe the bug (描述bug)

First mount a curvefs client.
Then run a quay.io/siku/curve:fstransh container and map the curvefs client directory to the container (/mnt/mnt-1).
in container
Copy dbench.sh to /mnt/mnt-1.
run this file will get error:

[34392] open ./clients/client4/~dmtmp/EXCEL/51EC0000 failed for handle 13001 (No such file or directory)
(34393) ERROR: handle 13001 was not found
[33192] open ./clients/client1/~dmtmp/WORD/~WRD1119.TMP failed for handle 12744 (No such file or directory)
(33193) ERROR: handle 12744 was not found
Child failed with status 1

To Reproduce (复现方法)

Expected behavior (期望行为)

Versions (各种版本)
OS:
Compiler:
branch: v2.7.0-beta2_6639d26
commit id:

Additional context/screenshots (更多上下文/截图)

@Cyber-SiKu Cyber-SiKu added the bug Something isn't working label Nov 9, 2023
@Cyber-SiKu Cyber-SiKu changed the title [curvefs]client: deb [curvefs]client: dbench fail Nov 9, 2023
@Cyber-SiKu
Copy link
Contributor Author

Related to the following two configuration items

fs.lookupCache.negativeTimeoutSec: 1
fs.lookupCache.minUses: 5

This configuration item means that if you continuously return to the server and cannot find it 5 times within 1 second, it will cache the not found for 1 second, and will not return to the source within this 1 second, but will directly return to not found~
Many caching systems have this configuration item, such as NFS and Nginx. Users need to configure it according to the actual scenario to suit their own scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants