Home Download Buy Blog Forum Support

Slow project drawer updates over sshfs

Slow project drawer updates over sshfs

Postby zizzler on Sun Oct 09, 2011 11:57 am

Hi,

I sometimes mount remote system over sshfs and then use "Add folder to project" feature on that mounted folder.

The problem is when clicking folders open from the triangle it sometimes takes over 30 seconds for the contents of that directory to show up.
At the same time, browsing folders with nautilus works fine so I don't think it's network related issue.

I'm using Sublime Text 2 beta build 2126 on Linux 64 bit.

Is there something I could do to speed it up?
zizzler
 
Posts: 2
Joined: Sun Oct 09, 2011 11:44 am

Re: Slow project drawer updates over sshfs

Postby ratko on Wed Feb 08, 2012 9:21 pm

Hi all,

anyone has news on this?

by doing strace on ST i see that it's traversing over all folders and doing "inotify_add_watch" for every one of them. this is probably for catching changed /new files?
unfortunatelly i have a lot of folders in my project (3000!) and it takes more then 10 minutes (even 20) to get through them all. I'm running sshfs over broadband.

could ST be changed so that it would first scan for files and folders and then assign inotify in the background?

ratko
ratko
 
Posts: 1
Joined: Wed Feb 08, 2012 9:13 pm

Re: Slow project drawer updates over sshfs

Postby Will Vincent on Wed Feb 15, 2012 6:31 pm

I have the same issue. The only way for me to access files on my server at work is via ssh. While I would much prefer to use Sublime for editing those files, of late I've had to resort to command line editors because performance over the ssh mounted filesystem is unusable.

I suspect a change like what ratko is suggesting would help a good deal.
Will Vincent
 
Posts: 1
Joined: Wed Feb 15, 2012 6:28 pm

Re: Slow project drawer updates over sshfs

Postby zizzler on Mon Nov 19, 2012 9:10 am

Sorry to resurrect old post but this is still a problem for me.

Sure I have more time to check facebook when using sublime text but I would really like to use it more :)

Do you guys know any way to speed up project drawer when browsing over sshfs? Just now, I've been waiting to open a folder for 10 minutes.
zizzler
 
Posts: 2
Joined: Sun Oct 09, 2011 11:44 am

Re: Slow project drawer updates over sshfs

Postby bluszcz on Fri Apr 05, 2013 10:43 am

Hey, I suffer same problem - kind of workaround: http://stackoverflow.com/questions/1252 ... over-sshfs
bluszcz
 
Posts: 5
Joined: Wed Sep 19, 2012 2:36 pm


Return to Technical Support

Who is online

Users browsing this forum: W3C [Validator] and 14 guests