-
Notifications
You must be signed in to change notification settings - Fork 213
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
blobfuse2 command keeps running at 100% CPU #1196
Comments
Can you enable log_debug and share the log file. That shall give us some indication on what is going on with the blobfuse instance. |
isn't already enabled? ( |
Also seeing this with rsync of 1 GB file to blobfuse2 mount. |
blobfuse2_logs.zip Running on Ubuntu 20.04.6 LTS, Debian and Centos supported environments with same results. |
Without the debug logs I can not comment on what is going on with the system. Kindly check your /var/log/syslog if blobfuse logs are being punted there. If you are not able to figure out the log location you can configure blobfuse to dump its log in a given file for this you need to set logging config in your yaml file like: |
here are my logs mind that, by default the logs are not in /var/log/syslog but in /var/log/blobfuse2.log I also have
|
Hi, I have this issue as well. It appears to be related to this change: It's now sat spinning in (gdb) bt and with a breakpoint on ReadString gdb) b bufio.(*Reader).ReadString Breakpoint 1, bufio.(*Reader).ReadString (b=0xc000065f60, delim=10 '\n', ~r0=..., ~r1=...) at /usr/local/go/src/bufio/bufio.go:493 Breakpoint 1, bufio.(*Reader).ReadString (b=0xc000065f60, delim=10 '\n', ~r0=..., ~r1=...) at /usr/local/go/src/bufio/bufio.go:493 Breakpoint 1, bufio.(*Reader).ReadString (b=0xc000065f60, delim=10 '\n', ~r0=..., ~r1=...) at /usr/local/go/src/bufio/bufio.go:493 My guess is that ReadString is returning err != nil and therefore it's running the "continue", which in turn makes it go back into ReadString. This wasn't a problem before because allowWatchInput was false which had a 500 microsecond sleep. Downgrading back to 2.0.3 clears it for now. There is nothing useful in the debug logs. |
I should also mention that I'm running in systemd which might be causing quirks with os.stdin vs running in a shell. Thanks, Tom |
Can you share your config file as well. As per logs you have both "stream" and "file-cache" component plugged in. These two components are mutually exclusive and shall not be plugged in together. |
Jul 13 08:31:32 ubuntudev blobfuse2[73124]: LOG_TRACE [stream.go (100)]: Stream::Configure : stream |
Hi, I do not have both file_cache and stream enabled, only stream and have this problem. Did you notice the stack traces I posted above? Log and config attached. blobfuse high cpu config.txt Thanks, Tom |
@tom-seechange thanks for pointing this out. This was observed in local tests as well and has been fixed in above mentioned PR. Either you can try out top of the line main branch or wait for our next release. @ggrrll Can you also try top of the main branch and validate this fixes your issue as well. |
so, after cloning I got this error, during building (
not sure if related to #1036 (comment) |
Which version of go you are using, can you upgrade to go-1.20 and try it out. |
on go1.20.6 , but still get
|
This is some setup issue where its not able to find some header file that it needs. |
not solved: |
"./build.sh" you can run then you will see "blobfuse2" binary. |
(ok thanks -- please update the readme ) |
I can confirm the issues is solved -- normal CPU load < 0.1 % |
for v. and settings see #1195
(they might be the same issue -- not sure)
The text was updated successfully, but these errors were encountered: