Fuse eats 25% CPU doing nothing

Starting the Fuse Dashbord app on OS X, CPU use jumps to a constant 25%, heating the machine, spinning the fan and draining the battery, even before interacting with the app, and after quitting the app with Cmd+Q.

Running “killall Fuse” from the terminal returns CPU usage to around 0%.

How to solve this?

Hi!

Thanks for reporting this. Can you give us some more details about the system you are using please? (and what Fuse version)

  • MacBook Air 1,7 GHz Intel Core i7

  • 8 GB 1600 MHZ DDR3

  • Intel HD Graphics 5000 1536 MB

  • OS X 10.11.1

  • Fuse version 0.9.2 (build 5183)

The CPU usage is not reflected in the processes in Activity Monitor. It just says “User: 25%” in the bottom, even though no processes on the machine takes more than a few percent.

Also, when opening projects, “nothing” happens. The project doesnt show in “Recent projects” so I can’t run the Preview window from Dashboard. Workaround using fuse preview from terminal. Don’t know if this is relevant or another bug.

Hi Olav,

Can you please see if the file ~/.fuse/user_data.json is present on your system? If it is, could you please send it to us? If you upload it to https://www.dropbox.com/request/Rx1QN3QluvxAJiyGJqrh it is only accessible for the Fuse team.

The .fuse directory contains only logs/fuse.log which is practically empty.

If you’re interested I can drop by your offices today to make debugging easier. (I visited Bent last week.) It would be helpful to solve this as I plan to sit down with a friend and get up to speed on Fuse all day tomorrow.

Also, how do I get an email whenever someone responds to my forum postings? Couldn’t find any settings for this in my profile, and one can’t be expected to go in and check this manually on a constant basis.

That might be very helpful! We are however investigating both of your issues right now, so it might be that we solve them earlier. If not, it would be great if you could drop by.

In the mean time, could you please try a few things?

  • Paste the output of ls -la ~/.fuse. I’d like to verify that you have write permissions in that directory.
  • Do you have several users running Fuse on that computer? What does ps aux |grep -i fuse say?
  • Can you try to close all Fuse windows and quit Fuse from the menu bar icon, do ps aux |grep -i fuse and finally fuse daemon, and paste the output from both of those commands?

There is unfortunately no way to subscribe to forum thread updates at the moment, but I think that feature is coming very soon.

~$ ls -la ~/.fuse
total 0
drwxr-xr-x   3 root  staff   102 Nov 27 15:24 .
drwxr-xr-x+ 66 user  staff  2244 Nov 28 19:42 ..
drwxr-xr-x   3 root  staff   102 Nov 27 15:24 logs
~$ ps aux |grep -i fuse                                                                                         user            28424   3.2  0.3   686532  23168   ??  S     2:09PM   0:00.48 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exeuser            28415   1.2  0.4   693212  33924   ??  S     2:09PM   0:01.75 /Applications/Fuse.app/Contents/MacOS/Fuse daemonuser            20441   0.0  0.0   683336   1012   ??  S    Sat07PM   0:03.47 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exeuser            18115   0.0  0.0   683340    996   ??  S    Sat06PM   0:03.79 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exeuser            15293   0.0  0.0   683196    736   ??  S    Fri11PM   0:04.29 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exeuser            14605   0.0  0.0   684220    708   ??  S    Fri07PM   0:05.62 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exeuser            14503   0.0  0.0   683196    676   ??  S    Fri07PM   0:05.56 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exeuser            28426   0.0  0.0  2434836    752 s000  S+    2:09PM   0:00.00 grep -i fuseuser            28421   0.0  0.2  2536120  13904   ??  S     2:09PM   0:01.45 /Applications/Fuse.app/Contents/FuseTray.app/Contents/MacOS/FuseTrayuser            28419   0.0  0.3   685772  24960   ??  S     2:09PM   0:00.70 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.CodeAssistanceService.exeuser            28413   0.0  0.4  2553976  32496   ??  S     2:09PM   0:04.43 /Applications/Fuse.app/Contents/Fuse Dashboard.app/Contents/MacOS/Fuse Dashboard                                    

(Launched Fuse Dashboard)

~$ ps aux | grep -i fuse
user            28767  41.4  0.2   679644  15544   ??  R     2:15PM   0:00.15 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exe
user            28473   0.9  0.7   739228  56976   ??  S     2:12PM   0:04.50 /Applications/Fuse.app/Contents/MacOS/Fuse daemon
user            28769   0.6  0.0  2434836    760 s000  S+    2:15PM   0:00.00 grep -i fuse
user            28479   0.0  0.2  2535596  13908   ??  S     2:12PM   0:01.49 /Applications/Fuse.app/Contents/FuseTray.app/Contents/MacOS/FuseTray
user            28477   0.0  0.3   686796  24828   ??  S     2:12PM   0:00.69 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.CodeAssistanceService.exe

(Quit Fuse Dashboard using Cmd+Q)

~$ ps aux | grep -i fuse
user            28868  30.5  0.2   679580  14952   ??  R     2:16PM   0:00.13 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.UserDataService.exe
user            28473   1.2  0.5   727484  45664   ??  S     2:12PM   0:05.44 /Applications/Fuse.app/Contents/MacOS/Fuse daemon
user            28870   0.0  0.0  2434836    752 s000  S+    2:16PM   0:00.00 grep -i fuse
user            28479   0.0  0.2  2535596  13916   ??  S     2:12PM   0:01.53 /Applications/Fuse.app/Contents/FuseTray.app/Contents/MacOS/FuseTray
user            28477   0.0  0.3   686796  24832   ??  S     2:12PM   0:00.69 /Applications/Fuse.app/Contents/Mono/bin/mono /Applications/Fuse.app/Contents/Fuse.CodeAssistanceService.exe

(CPU still runs at 25%. Still no items in “Recent projects”. Still no files in ~/.fuse)

Think I’ll drop by HQ. I’m just five minutes away… :slight_smile:

Hi Olav, feel free to drop by if you want! :slight_smile: We’re here for a few more hours today, and tomorrow too.

However, I think I’ve found the problem, your ~/.fuse is owned by root. That can be fixed by

sudo chown whoami .fuse

It would be interesting to see if that also fixes your CPU usage, it might be that something is busy-waiting on writing to that directory.

Thanks for dropping by! :slight_smile: For the record, fixing the directory permissions solved both the issue with missing recent projects and CPU usage.

These issues are fixed in 0.9.3 which was just released: https://www.fusetools.com/downloads

Happy to help :slight_smile: