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

some file appears to be 0 bytes in length #22

Open
coboe opened this issue Nov 21, 2019 · 2 comments
Open

some file appears to be 0 bytes in length #22

coboe opened this issue Nov 21, 2019 · 2 comments

Comments

@coboe
Copy link

coboe commented Nov 21, 2019

once a file is 0 bytes, pcstat is stop. and do not deal with other files.

$ ./pcstat /lib/x86_64-linux-gnu/libnsl-2.27.so
|--------------------------------------+----------------+------------+-----------+---------|
| Name | Size | Pages | Cached | Percent |
|--------------------------------------+----------------+------------+-----------+---------|
| /lib/x86_64-linux-gnu/libnsl-2.27.so | 97176 | 24 | 24 | 100.000 |
|--------------------------------------+----------------+------------+-----------+---------|

$ ./pcstat /lib/x86_64-linux-gnu/libnsl-2.27.so /lib/x86_64-linux-gnu/liblzma.so.5.2.2
|----------------------------------------+----------------+------------+-----------+---------|
| Name | Size | Pages | Cached | Percent |
|----------------------------------------+----------------+------------+-----------+---------|
| /lib/x86_64-linux-gnu/libnsl-2.27.so | 97176 | 24 | 24 | 100.000 |
| /lib/x86_64-linux-gnu/liblzma.so.5.2.2 | 153984 | 38 | 38 | 100.000 |
|----------------------------------------+----------------+------------+-----------+---------|

$ ./pcstat /home/gpu2/data1/rook/osd2/current/omap/LOCK
2019/11/21 08:07:04 /home/gpu2/data1/rook/osd2/current/omap/LOCK appears to be 0 bytes in length

$ ./pcstat /lib/x86_64-linux-gnu/libnsl-2.27.so /lib/x86_64-linux-gnu/liblzma.so.5.2.2 /home/gpu2/data1/rook/osd2/current/omap/LOCK
2019/11/21 08:08:30 /home/gpu2/data1/rook/osd2/current/omap/LOCK appears to be 0 bytes in length

@wangdepeng
Copy link

encountered the same issue.

@tobert
Copy link
Owner

tobert commented Sep 20, 2021

Interesting. I can't seem to reproduce it locally but will keep trying.

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

3 participants