Glossary/Processes you will see

fileproviderd

Also: cloud storage in Finder

Quick answer

fileproviderd is the macOS process that puts cloud storage into Finder. iCloud Drive, and on recent macOS Dropbox, OneDrive, Google Drive and Box, use Apple's File Provider system: fileproviderd keeps track of every file, downloads it when you open it, and frees the space when you do not need it offline.

It is the reason cloud files can show in Finder without taking space: a file can be listed but not downloaded until you open it, and fileproviderd fetches it then. It works with each provider's own app, which does the talking to its servers.

Its load follows the number of files more than their size. A folder with a hundred thousand small files, such as code dependencies or a photo export, keeps it busier than a few large videos.

Why fileproviderd is using so much CPU

It is indexing or syncing many files: after signing in to a cloud service, after moving a big folder into it, or while it reconciles changes made on another computer. Folders that change all the time, such as build output inside a synced folder, keep it busy indefinitely.

Occasionally a single file gets stuck, and fileproviderd retries it over and over. The provider's own menu bar item or app usually shows which file is not syncing.

How to reduce the load

Keep constantly changing folders, such as node_modules, build output and caches, outside synced folders. Let a first sync finish on a good connection. If one provider is stuck, quit and reopen its app, or pause and resume syncing from its menu bar item.

To free space from files you do not need offline, Control-click them in Finder and choose Remove Download for iCloud Drive, or your provider's own option, such as making a file online-only. fileproviderd keeps them listed and downloads them again when you open them.

How to see which cloud provider is busy

fileproviderd serves every provider at once, so it helps to find which one is doing the work.

  1. Open Activity Monitor, click the CPU tab and type fileprovider in the search field. You will see fileproviderd, and each provider's own extension process next to it, such as com.apple.CloudDocs.iCloudDriveFileProvider for iCloud Drive.
  2. Compare % CPU between fileproviderd and the extensions. The extension that is busy alongside it is the provider with work to do.
  3. Click the Disk tab and look at Bytes Written. A figure that keeps growing means files are downloading to the Mac.
  4. In Finder, open the provider's folder from the sidebar: under Locations for most providers, or under iCloud for iCloud Drive. Progress and error icons next to files show what is still moving.
  5. For fileproviderd's own messages, open Terminal and run log stream --predicate 'process == "fileproviderd"'. Errors that name the same file again and again point at the stuck item. Press Control-C to stop.

Normal fileproviderd use vs a problem

Normal: busy after you sign in to a provider or move files in, and briefly when you open a file that has to download. Quiet the rest of the time.

Worth looking into: busy for days, or the same file never finishes. The usual causes:

  • A folder with a huge number of small files inside cloud storage.
  • A file with a name or path the provider cannot store, such as a very long path.
  • A file that is open and changing in another app, so it never settles long enough to upload.
  • Cloud storage that is full, so uploads are refused and retried.
  • A provider app that is out of date after a macOS update.

Why files vanish from your Mac but stay in Finder

With Optimize Mac Storage turned on in System Settings → your name → iCloud, macOS frees space when the disk runs low. Apple says iCloud Drive keeps recently opened files on the Mac and makes the oldest ones available on demand. fileproviderd removes the local copy, and Finder keeps listing the file with a cloud icon.

Other providers have similar settings in their own apps. Open such a file and fileproviderd downloads it again, which needs a connection. If you need a folder while offline, open its files once beforehand, or choose your provider's option to keep it on the Mac.

Questions people ask

What is fileproviderd on Mac?

The macOS process that runs cloud storage in Finder, for iCloud Drive and for apps like Dropbox, OneDrive and Google Drive on recent macOS. It downloads files when you open them and tracks what is synced.

Why is fileproviderd using high CPU?

It is working through many files: a first sync, a large folder moved into cloud storage, or a folder that changes constantly. A single stuck file can also keep it retrying.

Can I stop fileproviderd?

Quitting it only pauses syncing until macOS restarts it. Pause the provider that is busy from its own app, or move fast-changing folders out of synced storage.

Where does fileproviderd keep my cloud files on Mac?

Providers other than iCloud Drive keep their folders in `~/Library/CloudStorage`, one folder per account. iCloud Drive keeps its files in `~/Library/Mobile Documents`. Finder shows them in the sidebar, iCloud Drive under iCloud and the others under Locations.

Why is fileproviderd still running after I quit Dropbox?

It is a macOS process that serves every cloud provider on the Mac, including iCloud Drive, so it keeps running for the others. It stays idle when none of them has work to do.

Related

Looking for something better than Activity Monitor? See the best Activity Monitor alternatives for Mac, or browse every term in the glossary.