• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

AppleToolBox

Tools and Fixes for Mac, iPad, iPhone & iWatch

Search posts

  • About
  • Contact

CONNECT WITH US

CATEGORIES

  • iPhone
  • iPad
  • iPod
  • Apple Watch
  • Mac/MacBook
  • AirPods
  • Apple TV
  • News
  • Apple Services
  • HomePod
  • Reviews

SITE

  • Home
  • About Us
  • Contact
  • Advertise

Search posts

You are here: Home / Mac / Nsurlsessiond Causes High CPU and Bandwidth Usage

Nsurlsessiond Causes High CPU and Bandwidth Usage

By Madalina Dinita 9 comments Last updated January 2, 2023

If you’re experiencing massive data usage on your Mac, but you haven’t been able to identify the culprit, we may have a lead for you. Check if nsurlsessiond is causing the problem. Go to Activity Monitor and check if our hunch is correct. Many MacBook users complained the process sometimes uses over 60 percent of the CPU’s capacity and takes up all the data leading to painfully slow connections. Let’s see what you can do to troubleshoot this problem.

Contents

  • What is nsurlsessiond on Mac?
  • How to Stop nsurlsessiond From Using Too Much CPU and Bandwidth
    • Kill the nsurlsessiond and trustd Processes
    • Delete the Old nsurlsessiond Temporary Directory
    • Conclusion

What is nsurlsessiond on Mac?

Nsurlsessiond is an iCloud-related process that your system uses to communicate with the cloud and sync data. In other words, whenever iCloud data is updating, you can bet that nsurlsessiond is actively running in the background.

The process relies on a dedicated subdirectory to temporarily store data. The problem is that sometimes, the subdirectory is unavailable and the process can’t access it. But that doesn’t stop nsurlsessiond from trying to access the problematic subdirectory over and over again, using a lot of CPU and bandwidth in the process.

How to Stop nsurlsessiond From Using Too Much CPU and Bandwidth

Kill the nsurlsessiond and trustd Processes

activity-monitor-nsurlsessiond

Launch the Activity Monitor and stop the nsurlsessiond process. If it returns straight away, end both the nsurlsessiond and trustd processes. Many users confirmed that killing both these processes solved the problem for them. Keep in mind that ending these two processes may cause other issues and glitches on your Mac. If the issue returns after a while, go to the next step.

Delete the Old nsurlsessiond Temporary Directory

  1. Go to Activity Monitor, and locate the trustd process.
  2. Copy its PID from the PID column.
  3. Launch Terminal and run the # sudo kill -9 [trustd PID] command to end the parent trustd process.
    • Note: Replace [trustd PID] with the PID you just copied.
  4. Run the # ls -la /var/folders/zz | grep nsurlsessiond command to find the specific “randomized name” directory. You’re going to need this information for the next command.
  5. Then, run the # sudo rm -fr /var/folders/zz/[randomized name] command to remove the nsurlsessiond temporary directory.
    • Note: Replace [randomized name] with the name you previously found.
  6. Additionally, if you’re running out of space, you can also run the /var/log/asl command.

As a quick reminder, the [randomize name] string is actually the name of the subdirectory that nsurlsessiond is trying to access and write data to. High CPU and bandwidth usage is caused by the nsurlsessiond process trying to access the problematic directory. Deleting the nsurlsessiond subdirectory should force macOS to create a new subdirectory.

Conclusion

If the nsurlsessiond process is using too much CPU power on your Mac, launch the Activity Monitor and kill the nsurlsessiond and trustd processes. If the problem persists, delete the subdirectory that the process is trying to access, and restart your Mac. Did these solutions help you fix the problem? Let us know in the comments below.

Related Posts:

  • iPhone-12-Pro-Max-Battery-Capacity-Degrading
    Why Is My iPhone 12 Pro Max Battery Degrading So Fast?
  • 2023 Mac Studio lifestyle - 1
    macOS Could Not Be Installed, How-To Fix
  • 14 Best Mac Cloud Storage for Home, Work, and School in 2023
    14 Best Mac Cloud Storage for Home, Work, and School in 2023
  • An iPhone, Mac, and MacBook on a table
    Can You Use Time Machine to Back up Your Mac to…
  • pexels-joão-jesus-4929241
    How To Replace A MacBook Battery
  • sidecar on iPadOS and macOS
    Sidecar not working in iPadOS and macOS? How to fix…
  • pexels-karolina-grabowska-4397838
    How To Share (and stop sharing) Apple Watch Activity…
  • 2023 MacBook Air - 5
    15-inch MacBook Air vs 13-inch MacBook Air
  • Delete-Group-Reminders-Folder-macOS
    MacBook Will Not Start Up After macOS Update, How-To Fix
Madalina Dinita

Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer. She is interested in all things technology, especially emerging technologies — AI and DNA computing in particular.

Reader Interactions

Write a Comment Cancel reply

Show 9 Comments

  1. Gene says

    September 8, 2023 at 12:06 PM

    What a smooth and brilliant feature. An app runs in the background and can fail so it keeps running until you “kill” it or hire a programmer. Wonderful. One comment thanks another for a working workaround solution…. to a failed Apple process.

    Reply
  2. Ian says

    June 8, 2023 at 1:54 AM

    Update: thing still restarts and chews through data. As one of the other users pointed out you cannot delete the folder no permissions
    $ sudo rm -fr /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0: Operation not permitted
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/T/com.apple.nsurlsessiond/TemporaryItems: Operation not permitted
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/T/com.apple.nsurlsessiond: Directory not empty
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/T: Operation not permitted
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/C: Operation not permitted
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/X: Operation not permitted
    rm: /var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k: Operation not permitted

    Reply
  3. Ian says

    June 8, 2023 at 12:14 AM

    Worked thank you. Previous 2 days that little application/service had downloaded over 25gb.
    Ian

    Reply
  4. Jason says

    July 20, 2022 at 8:09 AM

    This is not the solution. You should re-nice the process so that it uses less resources.

    Reply
  5. André says

    May 4, 2022 at 9:33 AM

    I’m experiencing the same problem as Sean—I can’t delete the file in step 5.

    Reply
  6. Marc says

    February 8, 2022 at 8:45 AM

    Hello,
    That seems to be ok for me by killing the process

    Reply
  7. koiphish says

    February 2, 2022 at 12:33 AM

    Thanks so much for a real working solution. The nsurlsessiond process starts again … but maybe it has the proper sub directory/new created directory since it no longer seems to use data. I did so many things I am not sure what worked!

    Here is my list:
    1.) Unchecked all icloud options/ apps using icloud in “apple ID” on system preferences.
    2.) Unchecked icloud in “general settings” bottom box.
    3.) note that this nsurlsession process only started hogging data after full install of Final Cut Pro X
    using the appstore app to install … using about 8GB instead of the promised 4GB size on FCPX specs.
    4.)Followed above instructions and commands.
    Note a.) Do not need “#” on command lines.
    b.) No bracket included ….. [example] means “example” and no brackets.
    c.) [randomized name] is in the first txt returned …. as in “drwxr-xr-x@” of the following line for sub directory.
    drwxr-xr-x@ 6 _nsurlsessiond _nsurlsessiond 192 Oct 17 23:20 zyxvpxvq6csfxvn_n00000y800007k

    5.) I monitor data at all times looking at istat monitoring software bar at top of screen … to notice data flow when not using browser or other known data apps that have my permissions!
    6.)Plan to use “little snitch” app if necessary in the future!
    7.) Note that when you upgrade or get a new apple computer that apple takes every possible way to hide new icloud options making them default. Both ios and OSX seem to “upgrade” hiding spots!
    8.)I will still disconnect wifi on all apple products when not in use. I have seen my macair waking up and giving data or updating before too … after I request to be asked for any updates. This is the only way to not slam through massive data caps.

    2020 MacAir M1 8GB SSD + 2T EXT SSD Drive and Final Cut Pro X

    Reply
  8. Sean says

    November 29, 2021 at 10:46 AM

    Hi, Thank you very much for this clear guide. I keep getting an error saying I don’t have the correct permissions to delete the temp folder. Even when logged in as the root user. How can I get around this? Thanks

    Reply
  9. Jim says

    June 30, 2021 at 6:31 PM

    Thanks for this guide. It worked perfectly to get rid of the constant data usage that wouldn’t go away. Well, after I figured out how enable the root user so I could go in and fix the “sudoers” file I hosed when I tried to add my normal user name so I wouldn’t have to keep su’ing to the admin acct. 🙂

    Reply

Primary Sidebar

Recent Posts

  • Are Apple’s Safety Precautions Enough for AirTags?
  • How to Hide Username and Photo on the Mac Lock Screen
  • Microsoft Resume vs. Apple Handoff – Which Wins for Cross-Device Work?
  • How to Export iTunes Library to New Computer
  • What the Gemini Desktop App Will Bring to Mac
  • What to Do When Windows 11 Won’t Detect Your iPad

Connect with us

Footer

ABOUT

  • About Us
  • Contact us
  • Advertise
  • Privacy
  • Terms of Use

GUIDES

  • iOS & iPadOS
  • Apple ID
  • iCloud
  • App Store
  • iTunes
  • FaceTime
  • iMessage
  • Siri
  • Books and iBooks
  • Game Center
  • AirPlay

CONNECT

  • Facebook
  • Twitter
  • FeedBurner
  • YouTube

© Copyright 2010-2024 Guiding Tech Media · All Rights Reserved

This site and its content are in no way affiliated or endorsed by Apple, Inc. · Reproduction without explicit permission is prohibited

Last Updated on January 2, 2023 by Mitch Bartlett