What are these processes and how do I prevent them?

For many years, many have complained of external drives that are in standby/sleep spinning up for no apparent reason.  From the user's point of view this is unnecesssary, but to make matters worse, the system usually stops everything else while waiting for the drives.
I have a Mac mini that I use as a home theater pc.  The media and backups are on a 5-bay enclosure (no RAID) attached by USB.  While watching a video, the unused drives will go into standby mode, which is good.  But then, with no user activity, they will spin up, freezing the video and everything else, which is not good.  As these are slow drives and spin up sequentially, this can take 10-20 seconds.  This may happen once or twice an hour, but sometimes more frequently.
In looking into the causes, I have turned off time Machine (after putting these drives into the Privacy section for good measure).  I also prevented Spotlight and fsevents logging with the following:
mdutil -i off /Volumes/<drive1> /Volumes/<drive2> . . .
cd /Volumes/<drive1 and then repeat for other drives>
     rm -rf .fseventsd .Spotlight-*
     mkdir .fseventsd
     touch .fseventsd/no_log .metadata_never_index
As far as I can tell this has worked to stop those processes from accessing the drives after they are mounted, but the problem persists.  To find out what else might be causing them to wake up:
sudo fs_usage -w | grep -e Volumes/<drive1> -e /Volumes/<drive2> . . .
and here is what I found last night (actually didn't use the -w last night, thus it is cut off):
18:35:36  fsgetpath   /Volumes/XBMC         0.000026   SSDragHelper
18:35:36  fsgetpath   /Volumes/Stuff        0.000006   SSDragHelper
18:35:36  fsgetpath   /Volumes/DatOptic_3   0.000005   SSDragHelper
18:35:36  fsgetpath   /Volumes/MacBackUp    0.000003   SSDragHelper
18:36:15  fsgetpath   /Volumes/XBMC         0.000026   System Prefe
18:36:15  fsgetpath   /Volumes/Stuff        0.000004   System Prefe
18:36:15  fsgetpath   /Volumes/DatOptic_3   0.000003   System Prefe
18:36:15  fsgetpath   /Volumes/MacBackUp    0.000003   System Prefe
18:55:36  fsgetpath   /Volumes/XBMC         0.000034   GoogleSoftwa
18:55:36  fsgetpath   /Volumes/Stuff        0.000004   GoogleSoftwa
18:55:36  fsgetpath   /Volumes/DatOptic_3   0.000003   GoogleSoftwa
18:55:36  fsgetpath   /Volumes/MacBackUp    0.000003   GoogleSoftwa
After looking into the Google process, I was surprised to find the tentacles that Google puts into your system, and ripped every bit of it out that I could.  But I have no idea about what's going on with SSDragHelper and System Prefe (presumable System Preferences).  This must be OS X itself?  What are these processes doing, and is there any way to prevent them from accessing these disks in this way?

Thanks for the reply Hen3ry.  Looks like you've done a lot of investigation.  For me, fs_usage entries accompanying spindown are not problems - I'm happy if the drives spin down.  My problem is the spinups.  But still, I don't think it is necessary to time the fs_usage entries with spinups.  If you grep for the drives you're concerned about, you will see any process that would potentially wake them up.
Because my understanding is limited, I also am more concerned with the process/application that is accessing the drives than with the functions or commands they are sending.  And the values that are returned by those functions are way beyond what I can deal with.
It's interesting that you've found a difference between your old and new drives.  Could you specify the enclosure and drives in each case?
The StorageStatus app looks interesting; thanks for the tip.
Here's a summary of what I've done so far, which I think is working.  I need a few more weeks to know for sure.
How to prevent unwanted drive spin-ups
If you are actively using the computer that the enclosure is attached to, nothing on God’s green earth will stop OS X from waking them up after some user action, even ones that seem to have nothing to do with the external drives.  But if you leave the computer alone while some application is running, like watching a movie or downloading a file, you have a fighting chance of coaxing OS X into leaving the uninvolved drives alone.
If the drives are shared with any other computers over a network, eject them on those computers
Otherwise, OS X (AppleFileServer) will poll them every 10 seconds.  This might not be bad if you want to just keep the drives spinning and the other computer stays awake.
Third-party apps
Make sure no apps are running that might access your drives.  Google runs some processes that do this (maybe I’m naïve, but I was so shocked I removed chrome and every other trace of Google from my Mac mini system). Another is iStat and any utility that monitors SMART status in the background.
Don’t let Spotlight index or search the drives
Spotlight is persistent, and it may be necessary to take a variety of steps to stop its various processes (mds, mdworker) from accessing the drives and waking them up.  In other words, kill it, drive a stake through its heart, then burn the body:
In System Preferences > Spotlight, add the drives to the Privacy pane.
Add a file called .metadata_never_index to the root of each drive (note the leading period).  The easiest way to do this is in Terminal
touch /Volumes/<drive1>/.metadata_never_index
Tell Spotlight AGAIN to keep away from the drive:
mdutil -i off /Volumes/<drive1> /Volumes/<drive2> . . .
Finally delete the Spotlight folder from the drive.
rm -rf /Volumes/<drive1>.Spotlight-*
Stop fseventsd from logging in the drive
This is easy, just putting a no_log file in its folder.  I have found that rarely it still writes some files in there, but it doesn’t seem to do so when it causes problems, so . . .
          rm –rf /Volumes/<drive1>/.fseventsd/*
     touch /Volumes/<drive1>/.fseventsd/no_log
Finder sidebar
Some people say that if the drives show in the Sidebar of Finder windows, the Finder will be checking them.  I’m not sure. But to be safe, in Finder Preferences > Sidebar, uncheck External Disks.
Just say no to Time Machine
On the home theater mac itself, regular backups shouldn’t be needed.  You should be able to just turn Time Machine off.  However, it is probably sufficient to simply open System Preferences > Time Machine > Options and add the drives to the list of locations to exclude from backup.
Second, local backups can be disabled with
sudo tmutil disablelocal
Look for other culprits
If the problem persists, use fs_usage, which generates a real-time log of filesystem activity. There is so much going on that you need to use grep to restrict the output to entries that involve your drives. The entries that accompany your drive spin-ups are the ones you really want.
sudo fs_usage -w | grep -e Volumes/<drive1> -e /Volumes/<drive2> . . .
Now leave the keyboard and mouse alone, as many things you might do will cause the drives to be accessed. You probably want to find what does it when you’re not actively interacting with the computer.  It’s not really necessary to wait for your drives to sleep and see what wakes them.  Any activity you see would probably wake the drives if they were asleep.  When you see some activity and want to stop and examine, type Control-C to stop the output.  On the far right of each entry is the process or application that accessed the disks.
I got pointers from http://system-log.tyr.org.uk/2012/01/31/how-to-stop-usb-drives-from-spinning-up- unnecessarily-on-os-x-lion/ and http://www.jackenhack.com/disk-that-refuses-to-sleep-in-mac-os-x-how-to-fix-it/

Similar Messages

  • In my storage summary it says other files. It shows 30GB what are these files and how do I remove them

    I am trying to remove files to get my computer to run better. In the storage summery it shows a category OTHER. What are these file and how can I remove them. I went through my downloads and documents and copied them and then removed them. What else could they be??

    They are files that cannot be put in the other categories. They are documents, email, cache, temp, OS files, etc.

  • What are these features and how can I use them?

    Why do I have SDM Profile, Dyanmic private IP, Pay per message, Mobile Hotspot provisioning,   My mom is on the same account and does not have these.  Everything I look at points to enterprise stuff and administration.  I'm not aware of any of that.  Verizon seems to act like they don't know but it's right on my bill.  My VM seems to be funky too.  I had to change my phone number because of unknown video texts being sent.  Something is still not right.

    If these are items listed on your account as features, I think there are supposed to be there.
    I know I have that dynamic IP address one for my smartphone. So I suspect it is associated with the smartphone provisioning.
    The mobile hotspot provisioning would depend on what kind of plan you have.
    The pay per message is probably associated with your text messages so your phone will receive and send them.
    The other one I'm not sure about, but it could be something associated with the SIM card.

  • What are these guides and how can I hide them?

    Thank-you in advance!

    shift + O will get you to artboard editing mode, from there on the control bar above there will be a preference icon towards the end. you can also change the view options from the icon to the left of that but it's not very quick.
    the artboard editing tool can also be reached from the toolbar right above the slice tool towards the bottom of the tools.

  • What are answer points and how do you get them?

    What are answer points and how do you get them?

    If you read the Help & Terms of Use over there --->
    You will find this and more:
    How do I get points for answering questions?
    "If you submit a reply to another member's question topic, you are eligible to receive points from that member. The originator has the option of marking a reply as either Helpful or Solved, which will add points to the respondent's account. These points will, in turn, increase a member's ranking (status level) in the community over time."
    Regards,
    Colin R.

  • What are LRPREV files, and how do I open them?

    I uploaded some pictures onto my laptop from my phone. They seem to have disappeared completely, as they are no longer on my phone, in any of my laptop folders (i've checked several times) or my laptop recycling bin. Having said that, many LRPREV files have appeared in a couple of my folders, which I had not seen before. Putting 2 and 2 together, it seems like the photos from the phone may have unintentionally been converted into this file type.
    My main problem is that I can't open them, so I can't see them to find out. What are LRPREV files and how can I open them? Otherwise, would I be able to convert them into a file type which I should be able to view?
    I would also be grateful if anyone had any suggestions of where my photos may have gone to.
    Thanks.

    I am no expert but have had LR since LR3. Did you import the photos into your LR catalog? It sounds like you have at least viewed the photos using LR or they would not show up in your LRPREV files. LRPREV files are those that have been at least looked at in LR because LR automatically makes previews (thumbnails) of photos you have actually added to a catalog or at least attempted to import. When you upload photos from your phone what folder do you send them to? Why are the original files no longer on your phone, do you automatically delete photos after you import them? You shouldn't do that until you at least confirm you can see them on your computer and have backed them up to at least a second, preferably offline, location. I would open your LR catalog and look for for a line in your navigation module indicating recent imports? I probably haven't helped you much.

  • What are muse templates and how do i use them?

    what are muse templates and how do i use them?

    thank you for the information. the reason i am asking is that i am having a problem with a website i am building in muse, specifically the functionality of my accordion menu. the accordion menu is on the left side of the page with a couple of elements directly beneath it. i would like the elements directly below the accordion menu to be pushed down when the menu is opened, however the menu is pushing everything on the page that is below down when it is opened. i have attached images to illustrate what i am talking about. is there any way that i can have the accordion menu push down just the elements directly below down and ignore all of the other elements on the page?

  • MY phone is using large amounts of data, when i then go to system services, it s my mapping services thats causing it. what are mapping services and how do i swithch them off. i really need help.

    MY phone is using large amounts of data, when i then go to system services, it s my mapping services thats causing it. what are mapping services and how do i swithch them off. i really need help.

    I Have the same problem, I switched off location services, maps in data, whatever else maps could be involved in nd then just last nite it chewed 100mb... I'm also on vodacom so I'm seeing a pattern here somehow. Siri was switched on however so I switched it off now nd will see what happens. but I'm gonna go into both apple and vodacom this afternoon because this must be sorted out its a serious issue we have on our hands and some uproar needs to be made against those responsible!

  • Activity monitor - what are all these processes and how do i stop them?

    hi.
    i have a laptop that i use completely for live music performance and i want to disable everything on the mac that could be taking up RAM and CPU power.
    i firstly notice airport base station agent and spotlight. can i disable these?
    i also notice itunes helper... whats that?
    i also have lots of others such as - ATSServer, launchd, loginwindow, mdworker, pboard, syncserver, systemUIServer and UserEventAgent... what are these and do i need them running?
    many thanks....

    hi.
    thanks for coming back with an answer so quickly.
    in activity monitor i can see spotlight is taking up about 25mb.
    i have a 6GB music session to run with a huge CPU load so every bit of my 4GB RAM is taken up.
    i do use spotlight a lot but could do without if it meant freeing up a little bit of space... it all helps!
    i can see no page outs and it says 0 bytes but even though im running nothing on my computer i only have 3.3GB of my 4 available. 260MB is active and 420MB is wired.
    im sure ableton live (my live music app) would appreciate even a little bit more RAM...
    i know the maximum RAM my mac can have is 4GB but i think thats the limit for the application anyway so buying a new mac and more RAM wouldnt help i dont think....
    any ideas?

  • Receiving texts in Spanish saying a session was started recently - are these legitimate and how do I make them stop?

    Once or more every day (typically overnight) I receive a text saying, "Recientemente se inici sesi n en tu cuenta desde Firefox on Windows." Ignoring the grammatical errors/misspellings, it roughly translates to your Firefox account was recently logged into/a session was started. Each time the message is from short code 792273. Is this message legitimately from Firefox? If so, how do I get my number removed from whatever account it's been applied to in error?

    I never received such a message myself. If there are any links on it,
    '''DO NOT USE''' them.
    I've called the big guys to help you. Good luck.
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • What are cpl files and how can I view them in my computer?

    I transfered files directly from my sony camera to my external hard drive and all my videos are in .cpl, how can I view these in my computer?

    jonathan234 wrote:
    .. . how can I view this in my imovie?...
    you ceated an archive - that doesn't mean, you imported them in iM, which is not only for editing, but for achiving too. nor into the iLife suite of apps, esp. iTunes, which is the 'media centre' on MacOS.
    choose Import from Archive. in a preview window you see each 'take'. choose All or select which to import. on import, iM will create so-called Events=groups of clips defined by day of recording.
    After import, iM allows to preview each clip or Event, edit them in Projects, share them to iTunes for playback on your Mac, iPad, iPod, AppleTV, YouTube, VImeo .........
    don't hesitate to watch the tutorials
    http://help.apple.com/helplibrary/#video
    to grasp the 'idea' of iLife, the iApps, iMovie ..
    http://help.apple.com/imovie/

  • What are .toast files and how do I run them?

    I heard that I need Roxio's Toast 9 Titanium to open a .toast file, otherwise it won't work well.
    Is that how it works?
    Also, what's the difference between a .toast and a .dmg?

    I heard that I need Roxio's Toast 9 Titanium to open a .toast file,
    Yep. Or an older version, so long it's Toast.
    otherwise it won't work well.
    It won't work *at all.*..
    Is that how it works?
    You know the saying, "to each his own..."
    Also, what's the difference between a .toast and a .dmg?
    .toast is Roxio propietary format, .dmg is Apple propietary format. The open equivalent is .iso

  • What are Color Moods and how can I use them?

    Color Moods allow you to select color themes from an image based on a pre-set mood.  Moods can be accessed by tapping on the flower icon after you take a picture. The preset Color Moods are: colorful, bright, muted, deep, dark, custom. You can experiment with each mood to see different color themes.
    As soon as you move one of the cursors on the image, the mood setting changes to Custom. The custom Mood allows you to select specifc colors.

    how would i make a server applet that can be accesed by 2 specific pll or random which ever makes it easier for the time being i just want 2 ppl to have acces to one applet and have a variable like a paddle in pong under each persons controll

  • What are desk accessories and how do I quit them

    We were recently given this computer (have a newer one) and I'd like to get a few things going on it for my children. I tried to open a very old (Invaders 2.0) game which should be easier to run than Word 98, and it says to quit windows (didn't work) or desk accessories. I had to buy a PC during the period where this was new, so I have no idea what it's talking about. Thanks!

    R&P V,
    My son installed a G 3 processor in our PB 1400 and it is a great running little machine. What you want to do is use older software that was contemporary to the machine. Word 5.1a (the "a" part is very important) and Filemaker Pro 3 work just fine - and fast - on that machine. I used ours yesterday to demonstrate a feature of Filemaker that has been available for 20 years and is still not available in MS Access. Apalling.
    Also, keep in mind that RAM allocation is like a picket fence. If you load a large program like Word, it reserves the first ten feet of picket fence for its RAM use. Then you open Filemaker and it reserves the next ten feet of picket fence. If you close Word and try to open a third application that requires a lot of memory, the RAM that was used for Word is NOT available to the third app because the RAM allocation of the 1990s could not look back down the picket fence. You have to close ALL programs after the first allocation to regain the RAM reserved for the first app.
    The old rule of thumb was to open the app that you were going to have open all day as your first app and then open the rest in succession.
    That machine has a lot of life left in it if you go back and read Mac Secrets from the days that laptop was king. My Quadra 700 with Filemaker Pro 2.1 still earns me more money than my G4. Once you match your software to your computer, you will be happy with what it can do.
    Newer is not always better. Unless you need the features of Word 98, do not use it. I personaly think it was trash. Many clients agree. Word 5.1 required a very important fix, then it was and still is rock solid. Word 2004 is also trash. It will crash OS X as predictably as clockwork. It can not cut and paste multiple items from the web!
    Find and learn the old software and enjoy that machine for years to come.
    Ji˜m

  • What are Layers? And why do I need them?

    WHAT ARE LAYERS? AND WHY DO I NEED THEM?
    Layers are an essential part of Photoshop. With Layers you can separate pictures or design elements from each other, as if they are stacked on pieces of glass. With all elements separate, you can move or change them independent of each other.
    Layers are used for many tasks, including improving your images' color or tone; merging two or more images in one Photoshop file; and creating Web designs and animations.
    LAYER BASICS - VIDEO 06:41 min.
    WORKING WITH LAYERS - VIDEO 11:16 min.
    KEY CONCEPT: LAYER
    PHOTOSHOP/ LAYERS BASICS - Reference Guide

    After creating the mask and applying adjustment, you can also adjust and change layer mask using selection tools or, the most common way, using brush tools.
    To have a more accurate preview of what are you doing, Alt + click on the layer mask thumbnail to show the mask in the image area.
    At this point, you will have a layer mask on your screen in large view, so it is easy to fine tune it, but you wont see how that affects your image.
    To seean  instant preview how changes on layer mask affects the adjustments, use New Window for (name of your image) from Window > Arrange.
    Here is a more detailed tutorial on the topic: New Window for.. Command in Adobe Photoshop.

Maybe you are looking for

  • Has anyone tried to actually get a hold of apple support and had them reply

    Have been attempting to get apple support for over one hour - continue you to receive notice that I will have assistance in two minutes Nothing happens I wish to link my phone with my car - having difficult time of it

  • On change of

    Hi, i want to use on change of instead of AT NEW cause the itab-field blnr has n index and every time when this index changes the AT NEW command makes a group change and this is not correct. so i want to use the ON CHANGE OF command but i don't know

  • Can't save file with special character

    I'm trying to download a file using this do shell script "curl -L " & DLLink & " -o " & destFile destFile is defined with this set destFile to POSIX path of ((choose folder) as text) & file_name as text file_name contains "(" and ")" AppleScript give

  • Opening In Design on my Mac

    When I try to start up In Design CC on my Mac I get the following message. Unable to launch Adobe InDesign as you do not have sufficient permissions to access the preferences folders. Ensure that you have appropriate permissions and then restart Adob

  • Subquery in the Select Clause

    Can a subquery in the select clause return more than one field? Something like this: select ename, (select dname, loc from dept where e.deptno = deptno) as (dname,loc) from emp e