Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rddickwillhe

macrumors newbie
May 29, 2018
1
0
I don't see anything there that looks off. I think what is happening is just the storage readout there is wrong. Reindex Spotlight by running the command below in Terminal and it should fix it.

Code:
sudo mdutil -E /

Give it a half hour or so to complete.

Had the same problem, this fixed it for me @Weaselboy you're a legend
 

christine1018

macrumors newbie
Jan 17, 2019
6
2
Hello all,

I'm having the same problem. macOS High Sierra v 10.13.6. System folder is showing as 400.99 GB. I ran "sudo du -d 1 -x -c -g /" and here is the result:

0 /.HFS+ Private Directory Data

1 /home

1 /usr

1 /.Spotlight-V100

1 /net

0 /.PKInstallSandboxManager

0 /.PKInstallSandboxManager-SystemSoftware

1 /bin

2 /.adobeTemp

0 /Network

1 /sbin

10 /Library

0 /.Trashes

9 /System

1 /macOS Install Data

1 /.fseventsd

du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted

du: /private/var/folders/0m/15h7vm050tx_p3y06mlqgqd80000gn/0/SafariFamily: Operation not permitted

du: /private/var/folders/0m/15h7vm050tx_p3y06mlqgqd80000gn/0/com.apple.LaunchServices.dv: Operation not permitted

du: /private/var/folders/0m/15h7vm050tx_p3y06mlqgqd80000gn/0/com.apple.nsurlsessiond: Operation not permitted

du: /private/var/folders/0m/15h7vm050tx_p3y06mlqgqd80000gn/0/com.apple.routined: Operation not permitted

du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted

6 /private

1 /.DocumentRevisions-V100

0 /.vol

389 /Users

46 /Applications

1 /dev

1 /Volumes

0 /.TemporaryItems

0 /cores

459 /

459 total


Any help would be greatly appreciated.
 

christine1018

macrumors newbie
Jan 17, 2019
6
2
I ran the code and the result are posted below. Looks like the Library is the culprit. Should it be taking up 250 gb?

1 /Users/madDash//.config

18 /Users/madDash//Music

1 /Users/madDash//.adobe

1 /Users/madDash//.local

1 /Users/madDash//Pictures

2 /Users/madDash//Desktop

250 /Users/madDash//Library

1 /Users/madDash//.openvr

1 /Users/madDash//.oracle_jre_usage

1 /Users/madDash//.android

1 /Users/madDash//.cups

1 /Users/madDash//.bash_sessions

0 /Users/madDash//Public

1 /Users/madDash//.dropbox

1 /Users/madDash//Movies

1 /Users/madDash//Applications

36 /Users/madDash//Dropbox

1 /Users/madDash//.blurb

0 /Users/madDash//.Trash

85 /Users/madDash//Documents

1 /Users/madDash//Downloads

1 /Users/madDash//.8BitMMO

389 /Users/madDash/

389 total

Thanks again for you help.
 

tsialex

Contributor
Jun 13, 2016
13,437
13,581
I ran the code and the result are posted below. Looks like the Library is the culprit. Should it be taking up 250 gb?

1 /Users/madDash//.config

18 /Users/madDash//Music

1 /Users/madDash//.adobe

1 /Users/madDash//.local

1 /Users/madDash//Pictures

2 /Users/madDash//Desktop

250 /Users/madDash//Library

1 /Users/madDash//.openvr

1 /Users/madDash//.oracle_jre_usage

1 /Users/madDash//.android

1 /Users/madDash//.cups

1 /Users/madDash//.bash_sessions

0 /Users/madDash//Public

1 /Users/madDash//.dropbox

1 /Users/madDash//Movies

1 /Users/madDash//Applications

36 /Users/madDash//Dropbox

1 /Users/madDash//.blurb

0 /Users/madDash//.Trash

85 /Users/madDash//Documents

1 /Users/madDash//Downloads

1 /Users/madDash//.8BitMMO

389 /Users/madDash/

389 total

Thanks again for you help.
You can do the same for the ~/Library folder:

Code:
sudo du -d 1 -x -c -g ~/Library
 
  • Like
Reactions: Weaselboy

bsbeamer

macrumors 601
Sep 19, 2012
4,313
2,713
Are you on HFS+ or APFS for your system drive?
How many user accounts are on the machine?
 

tsialex

Contributor
Jun 13, 2016
13,437
13,581
If you want to sort the results by the size, use:

Code:
sudo du -d 1 -x -c -g ~/Library | sort
 

christine1018

macrumors newbie
Jan 17, 2019
6
2
Are you on HFS+ or APFS for your system drive?
How many user accounts are on the machine?
Only one user. Looks like HFS+
[doublepost=1547750230][/doublepost]
Definitely something wrong there. Run the command @tsialex gave you there to drill down more.
Looks like the containers is the problem. Is there a fix?

1 /Users/madDash/Library/Receipts

24 /Users/madDash/Library/Application Support

0 /Users/madDash/Library/Maps

1 /Users/madDash/Library/Assistant

0 /Users/madDash/Library/Filters

0 /Users/madDash/Library/Autosave Information

1 /Users/madDash/Library/Saved Application State

1 /Users/madDash/Library/IdentityServices

1 /Users/madDash/Library/WebKit

1 /Users/madDash/Library/Address Book Plug-Ins

1 /Users/madDash/Library/Calendars

1 /Users/madDash/Library/Preferences

1 /Users/madDash/Library/Messages

0 /Users/madDash/Library/DES

1 /Users/madDash/Library/Keychains

0 /Users/madDash/Library/Sharing

0 /Users/madDash/Library/ColorPickers

1 /Users/madDash/Library/ColorSync

0 /Users/madDash/Library/Mobile Documents.94528286

1 /Users/madDash/Library/Application Scripts

0 /Users/madDash/Library/Assistants

1 /Users/madDash/Library/Roblox

30 /Users/madDash/Library/Mail

0 /Users/madDash/Library/Compositions

1 /Users/madDash/Library/GameKit

1 /Users/madDash/Library/Google

1 /Users/madDash/Library/LanguageModeling

0 /Users/madDash/Library/Favorites

1 /Users/madDash/Library/Passes

0 /Users/madDash/Library/Family

1 /Users/madDash/Library/iTunes

0 /Users/madDash/Library/iMovie

1 /Users/madDash/Library/CoreData

0 /Users/madDash/Library/ScriptingAdditions

1 /Users/madDash/Library/FontCollections

0 /Users/madDash/Library/Sounds

1 /Users/madDash/Library/TextWrangler

1 /Users/madDash/Library/Personas

1 /Users/madDash/Library/com.apple.internal.ck

1 /Users/madDash/Library/Printers

1 /Users/madDash/Library/SyncedPreferences

0 /Users/madDash/Library/Audio

0 /Users/madDash/Library/Keyboard Layouts

3 /Users/madDash/Library/Logs

1 /Users/madDash/Library/PhotoshopCrashes

1 /Users/madDash/Library/Internet Plug-Ins

0 /Users/madDash/Library/Voices

1 /Users/madDash/Library/Accounts

1 /Users/madDash/Library/Safari

1 /Users/madDash/Library/Colors

0 /Users/madDash/Library/PreferencePanes

1 /Users/madDash/Library/FileProvider

1 /Users/madDash/Library/Dropbox

1 /Users/madDash/Library/Mobile Documents

1 /Users/madDash/Library/PubSub

1 /Users/madDash/Library/Suggestions

1 /Users/madDash/Library/LaunchAgents

2 /Users/madDash/Library/Group Containers

1 /Users/madDash/Library/Dictionaries

190 /Users/madDash/Library/Containers

0 /Users/madDash/Library/Fonts Disabled

1 /Users/madDash/Library/Fonts

1 /Users/madDash/Library/KeyboardServices

1 /Users/madDash/Library/Metadata

0 /Users/madDash/Library/Screen Savers

0 /Users/madDash/Library/CallServices

1 /Users/madDash/Library/Spelling

0 /Users/madDash/Library/SafariSafeBrowsing

0 /Users/madDash/Library/Input Methods

1 /Users/madDash/Library/Cookies

0 /Users/madDash/Library/Services

1 /Users/madDash/Library/Keyboard

1 /Users/madDash/Library/CoreFollowUp

3 /Users/madDash/Library/Caches

250 /Users/madDash/Library

250 total
 

christine1018

macrumors newbie
Jan 17, 2019
6
2
Keep on drilling down...

Code:
sudo du -d 1 -x -c -g ~/Library/Containers

Also looks like you have about 30GB of Mail saved. That sound about right?

Yes I have 30GB of mail. I've have to change my hoarder ways.

Looks like this is where the problem is:
187 /Users/christinesullivan/Library/Containers/com.apple.mail

Unless I need to drill down further.

I can't tell you how helpful you have been.
 
  • Like
Reactions: Weaselboy

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,463
16,160
California
Might just be all your Mail then.

At this point it is easier just to use Finder I think to poke around in there.

Click a blank area on the Desktop then hit shift-command-g to bring up the go to folder dialogue, then copy paste this in and hit enter. That will get you into the folder. Then you can comand-i (info) on the folders to see what is going on. Make sure you backup before you start messing around in there though.

Code:
~/Library/Containers/com.apple.mail
 
  • Like
Reactions: BigMcGuire

christine1018

macrumors newbie
Jan 17, 2019
6
2
Might just be all your Mail then.

At this point it is easier just to use Finder I think to poke around in there.

Click a blank area on the Desktop then hit shift-command-g to bring up the go to folder dialogue, then copy paste this in and hit enter. That will get you into the folder. Then you can comand-i (info) on the folders to see what is going on. Make sure you backup before you start messing around in there though.

Code:
~/Library/Containers/com.apple.mail

So it looks like Google is trying to kill me. This text file is 158.46GB [imap.gmail.com-5AA1925F-F1CC-42AB-942F-9915B97FB74C.txt]. Is that something I can just delete? Or will that mess something up?
 

tsialex

Contributor
Jun 13, 2016
13,437
13,581
So it looks like Google is trying to kill me. This text file is 158.46GB [imap.gmail.com-5AA1925F-F1CC-42AB-942F-9915B97FB74C.txt]. Is that something I can just delete? Or will that mess something up?
The best way to proceed is to close Mail, reboot, log in, then move the offending file to another folder, like your desktop. Open Mail.app and check if you have any problems. If all is well, delete the file.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,463
16,160
California
So it looks like Google is trying to kill me. This text file is 158.46GB [imap.gmail.com-5AA1925F-F1CC-42AB-942F-9915B97FB74C.txt]. Is that something I can just delete? Or will that mess something up?
I can almost guarantee you, you will mess up your Mail stored IMAP GMail if you delete that.

What you could do is go to gmail.com and in the IMAP settings lower this message storage setting. The older messages would still be on gmail.com if you ever need them.

Screen Shot 2019-01-17 at 11.14.03 AM.png
 

bsbeamer

macrumors 601
Sep 19, 2012
4,313
2,713
Might also be worth running Mail app sysdiagnose. Has magically cleared some strange issues in the past. Few versions back there were log errors that would continually grow and this helped to keep in check for some reason.

terminal:
sudo sysdiagnose -f ~/Desktop/ Mail

Will generate a log file to your desktop when it's finished running.
[doublepost=1547752965][/doublepost]Is the 158GB file in ~/Library/Containers/com.apple.mail/Data/Library/Logs/Mail?
Check in Mail > Window > Connection Doctor to see if the box is checked for "LOG CONNECTION ACTIVITY"
 

christine1018

macrumors newbie
Jan 17, 2019
6
2
Might also be worth running Mail app sysdiagnose. Has magically cleared some strange issues in the past. Few versions back there were log errors that would continually grow and this helped to keep in check for some reason.

terminal:
sudo sysdiagnose -f ~/Desktop/ Mail

Will generate a log file to your desktop when it's finished running.
[doublepost=1547752965][/doublepost]Is the 158GB file in ~/Library/Containers/com.apple.mail/Data/Library/Logs/Mail?
Check in Mail > Window > Connection Doctor to see if the box is checked for "LOG CONNECTION ACTIVITY"

Thanks you both for all of your help. I ended up deleting the gmail accounts from Mail and then deleting the log files. I'm going to try accessing the email from the browser for a while. Might go back to mail to see if it has the same problem.

@Weaselboy thanks you for your help I couldn't have done it with out you. Can I buy you a virtual cup of coffee? Or is there a way to donate to MacRumors to keep this amazingly valuable tool on the net?
 
  • Like
Reactions: Weaselboy

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,463
16,160
California

haneesh

macrumors newbie
Jul 10, 2019
3
1
Hello @Weaselboy:

I have followed your instructions and could see the below:


TOM-MacBook-Pro-3:~ tom$ sudo du -d 1 -x -c -g /

0 /.HFS+ Private Directory Data
1 /home
1 /usr
1 /.Spotlight-V100
1 /net
0 /.PKInstallSandboxManager
0 /.PKInstallSandboxManager-SystemSoftware
1 /bin
1 /Network
1 /sbin
7 /Library
0 /.Trashes
7 /System
1 /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/21/7n3jdl5s4137p9w3tn1f4_600000gt/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/SafariFamily: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/com.apple.routined: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
7 /private
1 /.DocumentRevisions-V100
0 /.vol
407 /Users
21 /Applications
1 /dev
0 /Volumes
1 /.DocumentRevisions-V100 (from old Mac)
0 /cores
448 /
448 total


TOM--MacBook-Pro-3:~ tom$ sudo du -d 1 -x -c -g ~/
1 /Users/tom//Music
5 /Users/tom//Pictures
1 /Users/tom//Desktop
72 /Users/tom//Library
1 /Users/tom//.oracle_jre_usage
1 /Users/tom//.cups
1 /Users/tom//.bash_sessions
1 /Users/tom//Public
1 /Users/tom//.dropbox
2 /Users/tom//Movies
1 /Users/tom//Applications
3 /Users/tom//Dropbox
7 /Users/tom//.Trash
3 /Users/tom//Documents
17 /Users/tom//ShareFile
1 /Users/tom//.mono
1 /Users/tom//Downloads
106 /Users/tom/
106 total

So the Users folder is consuming 407 gb, while I dig into it the current user is only consuming 106gb. I have deleted the second User profile before running the commands, so there is only one User profile now, so not sure where the other storage is going. Can you please advise how to get back the storage?

Any help here is highly appreciated.

-Thanks
Haneesh
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,463
16,160
California
Are you sure the other account is gone and deleted, and trash emptied? Run this and tell me what you get.

Code:
sudo du -d 1 -x -c -g /Users
 

haneesh

macrumors newbie
Jul 10, 2019
3
1
Are you sure the other account is gone and deleted, and trash emptied? Run this and tell me what you get.

Code:
sudo du -d 1 -x -c -g /Users

Thanks for the quick response @Weaselboy.

Yes, I see only one user profile (and the guest profile). The second user profile is deleted. I have emptied trash (trash had only 7gb and can see that being recovered under users) and ran the command again. Please see below:

THOMAS--MacBook-Pro-3:~ tom$ sudo du -d 1 -x -c -g /
0 /.HFS+ Private Directory Data
1 /home
1 /usr
1 /.Spotlight-V100
1 /net
0 /.PKInstallSandboxManager
0 /.PKInstallSandboxManager-SystemSoftware
1 /bin
1 /Network
1 /sbin
7 /Library
0 /.Trashes
7 /System
1 /.fseventsd
du: /private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /private/var/folders/21/7n3jdl5s4137p9w3tn1f4_600000gt/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/SafariFamily: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/0/com.apple.routined: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
du: /private/var/folders/zf/nsdd7q5s4zddj_9tc_57xfc40000gn/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
du: /private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/SafariFamily: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/com.apple.LaunchServices.dv: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/com.apple.nsurlsessiond: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/0/com.apple.routined: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/C/com.apple.WebKit.WebContent.Sandbox: Operation not permitted
du: /private/var/folders/ml/3cvy39m55tn6s17c3gqhd6wc0000gp/C/com.apple.WebKit.Networking.Sandbox: Operation not permitted
7 /private
1 /.DocumentRevisions-V100
0 /.vol
400 /Users
21 /Applications
1 /dev
0 /Volumes
1 /.DocumentRevisions-V100 (from old Mac)
0 /cores
442 /
442 total


THOMAS-MacBook-Pro-3:~ tom$ sudo du -d 1 -x -c -g ~/
1 /Users/tom//Music
5 /Users/tom//Pictures
1 /Users/tom//Desktop
72 /Users/tom//Library
1 /Users/tom//.oracle_jre_usage
1 /Users/tom//.cups
1 /Users/tom//.bash_sessions
1 /Users/tom//Public
1 /Users/tom//.dropbox
2 /Users/tom//Movies
1 /Users/tom//Applications
3 /Users/tom//Dropbox
0 /Users/tom//.Trash
3 /Users/tom//Documents
17 /Users/tom//ShareFile
1 /Users/tom//.mono
1 /Users/tom//Downloads
100 /Users/tom/
100 total

THOMAS-MacBook-Pro-3:~ tom$ sudo du -d 1 -x -c -g /Users
301 /Users/thomas
100 /Users/tom
1 /Users/Shared
400 /Users
400 total


Mmmm, looks weird. There is another user too which is taking 300gb, but dont see the user in the Users and Groups under system preferences (see screenshot).

Any suggestions on resolving this??

-Thanks
Haneesh
 
Last edited:

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,463
16,160
California
Run these two commands in Terminal and that should kill it off.

Code:
dscl localhost delete /Local/Default/Users/thomas

sudo rm -rf /Users/thomas
 
Last edited:

haneesh

macrumors newbie
Jul 10, 2019
3
1
Run these two commands in Terminal and that should kill it off.

Code:
dscl localhost delete /Local/Default/Users/thomas

sudo rm -rf /Users/thomas

@Weaselboy

That worked man, got back over 300 gb. Really really appreciate your help and quick responses. It was so helpful, can't thank you enough.

-Thanks
Haneesh
 
Last edited by a moderator:
  • Like
Reactions: Weaselboy

Omoakin

macrumors newbie
Sep 5, 2019
20
1
I don't see anything there that looks off. I think what is happening is just the storage readout there is wrong. Reindex Spotlight by running the command below in Terminal and it should fix it.

Code:
sudo mdutil -E /

Give it a half hour or so to complete.

Hi Wieselboy, I think that I might be having the same space issue with my MacBook Pro High Sierra too. Please help me out, what must I do now to resolve this?
[doublepost=1567724894][/doublepost]
Hi Wieselboy, I think that I might be having the same space issue with my MacBook Pro High Sierra too. Please help me out, what must I do now to resolve this?

@Wieselboy
 

Attachments

  • IMG_20190906_000520.jpg
    IMG_20190906_000520.jpg
    519.6 KB · Views: 219

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,463
16,160
California
Hi Wieselboy, I think that I might be having the same space issue with my MacBook Pro High Sierra too. Please help me out, what must I do now to resolve this?

Run this in Terminal (it takes a minute or so to complete), then tell us the result.

Code:
sudo du -d 1 -x -c -g /
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.