Dock process creating files and eating up disk space

Hi


I have a 2016 15-inch Macbook Pro, running version 10.15.4 of

Catalina. When I restart the computer, I have nearly 60 GB of free disk

space. But even if I dont do anything, I keep losing disk space at a

constant pace.

After much snooping around on the laptop, I found the

culprit to be Dock process which is constantly creating lockscreen.png

files of nearly 14 MB at the rate of one every 5 seconds! The folder is

"/System/Volumes/Data/private/var/folders/rr/fXXXXXXXXXXXXX/T" and the

image is that of the Catalina background screen.

I verified its the Dock process by running fs_usage command.


Also, if I login as root user, I dont see this behavior.


I wonder if anyone else is facing this as well?


Any help would be greatly appreciated.

Thanks!

MacBook Pro 15", macOS 10.15

Posted on Apr 12, 2020 10:46 AM

Reply

Similar questions

5 replies

Apr 12, 2020 8:20 PM in response to AmuSingh

True, it does not. However, what it does tell you is that the problem resides in your user account. The Dock has at least one preference file located in the /Home/Library/Preferences/ folder. The file is named, "com.apple.dock.plist." A second file may also be present named, "com.apple.dock.extra.plist." You might try moving the file(s) to the Trash. Open the Terminal in the Utilities folder and copy and paste the command line, killall Dock, at the Terminal window's prompt then press RETURN. Reboot the computer. Now, check to see if this fixes things. If it doesn't work, then move the items you put in the Trash back, where they will overwrite the new ones. Open the Terminal again and run the same command line that you ran before, killall Dock.

Apr 12, 2020 11:11 AM in response to AmuSingh

A Troubleshooting Procedure that may Fix Problems with macOS El Capitan or Later


You should try each, one at a time, then test to see if the problem is fixed before going on to the next.


    Be sure to backup your files before proceeding if possible.


  1. Shutdown the computer, wait 30 seconds, restart the computer.
  2. Disconnect all third-party peripherals.
  3. Resetting your Mac's PRAM and NVRAM
  4. Reset the System Management Controller (SMC)
  5. Reset your Startup Disk and Sound preferences, if needed, after resetting the PRAM.
  6. Test in safe mode to see if the problem persists, then restart normally.  Use safe mode to isolate issues with your Mac and Playing Safe - what does Safe mode do?
  7. Repair the disk by booting from the Recovery HD. Immediately after the chime hold down the Command and R keys until the Utility Menu appears. Choose Disk Utility and click on the Continue button. Select the indented (usually, Macintosh HD) volume entry from the side list.  Click on the First Aid button in the toolbar. Wait for the Done button to appear. Quit Disk Utility and return to the Utility Menu. Restart the computer from the Apple Menu.
  8. Repair permissions on the Home folderResolve issues caused by changing the permissions of items in your home folder.
  9. Create a New User Account Open Users & Groups preferences. Click on the lock icon and enter your Admin password when prompted. On the left under Current User click on the Add [+] button under Login Options. Setup a new Admin user account. Upon completion log out of your current account then log into the new account. If your problems cease, then consider switching to the new account and transferring your files to it - Transferring files from one User Account to another.
  10. Download and Install the macOS Catalina 10.15.4 Combo Update.
  11. Reinstall OS X by booting from the Recovery HD using the Command and R keys. When the Utility Menu appears select Install OS X then click on the Continue button.
  12. Erase and Install OS X Restart the computer. Immediately after the chime hold down the Command and R keys until the Apple logo appears. When the Utility Menu appears:


     1. Select Disk Utility from the Utility Menu and click on the Continue button.

     2. When Disk Utility loads select the drive (out-dented entry) from the Device list.

     3. Click on the Erase button in Disk Utility's toolbar. A panel will drop down.

     4. Set the Format type to APFS (for SSDs only) or Mac OS Extended (Journaled.)

     5. Click on the Apply button, then wait for the Done button to activate and click on it.

     6. Quit Disk Utility and return to the Utility Menu.

     7. Select Install OS X and click on the Continue button.


Apr 18, 2020 10:44 AM in response to AmuSingh

The problem likely occurs because of a file or cache corruption which is not a likely event. I'd guess you won't have the problem again but if you do, keep track on what you were doing just before you noticed the problem begin. It will help you track down the source in your /Home/Library/ folder. Also, make a backup of your currently working system that you can restore should the problem rise.

Apr 18, 2020 5:29 AM in response to Kappy

Hi Kappy,

I really appreciate your help.

I followed the above steps, but it did not help.

I have created a new user account and been using that for the past one week, without any issues. But I wonder if it's only a matter of time before the problem shows up there as well, since I dont know what caused it in the first place?

Thanks!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Dock process creating files and eating up disk space

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.