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.
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
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
- Go to Activity Monitor, and locate the trustd process.
- Copy its PID from the PID column.
- 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.
- 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.
- 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.
- 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.
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.