Home Download Buy Blog Forum Support

Gradually increasing CPU usage with CIFS mounted share

Gradually increasing CPU usage with CIFS mounted share

Postby martian on Thu Jan 19, 2012 9:47 pm

I have a few networked servers with which I connect via a Samba share using CIFS on 32 bit Ubuntu 11.04. I am currently using a registered copy of ST2 build 2165.

I started noticing recently that Sublime would start to chew up my whole CPU and after some experimenting, it seems that it will only happen when I add the web root of one particular server to my project. If I just open one of the files in this path, everything is fine; it's only if I add the locally mounted share to the project that the CPU usage will slowly rise until after about two minutes it's using 100% of the processor.

I have wiped my ~/.config/sublime-text-2 and have no plugins installed.

Any ideas what may be causing this to happen?
martian
 
Posts: 20
Joined: Thu Sep 29, 2011 4:03 pm

Re: Gradually increasing CPU usage with CIFS mounted share

Postby martian on Mon Jan 23, 2012 4:59 pm

Bump?
martian
 
Posts: 20
Joined: Thu Sep 29, 2011 4:03 pm

Re: Gradually increasing CPU usage with CIFS mounted share

Postby jps on Mon Jan 23, 2012 8:42 pm

Can you give the current dev build a go? http://www.sublimetext.com/dev
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Gradually increasing CPU usage with CIFS mounted share

Postby martian on Tue Jan 24, 2012 4:49 pm

Much better!

Thanks for the support, and the great editor!
martian
 
Posts: 20
Joined: Thu Sep 29, 2011 4:03 pm

Re: Gradually increasing CPU usage with CIFS mounted share

Postby martian on Tue Jan 24, 2012 6:14 pm

So, it looks like Sublime is still idling at around 6%. This is fine, but I'm guessing it is because the folder which I have added is a live web server directory with active cache folders, so Sublime is constantly seeing filesystem updates. I realize how silly it is to be working on a live site, but go yell at my employer :)

I think it would be handy if there was a setting that could instruct Sublime to only process changes to directories in which I have open files or something along those lines.

Regardless, this is fine and I'm quite happy!
martian
 
Posts: 20
Joined: Thu Sep 29, 2011 4:03 pm

Re: Gradually increasing CPU usage with CIFS mounted share

Postby jps on Tue Jan 24, 2012 10:08 pm

You can also use folder_exclude_patterns to ignore the cache directories
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 18 guests