[MacPorts] #60185: /.fseventsd taking up a huge amount of disk space
MacPorts
noreply at macports.org
Sat Jan 30 20:09:55 UTC 2021
#60185: /.fseventsd taking up a huge amount of disk space
-----------------------------+---------------------
Reporter: ryandesign | Owner: admin@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version:
Resolution: | Keywords:
Port: |
-----------------------------+---------------------
Comment (by mascguy):
Yeah, this is one of the few annoyances related to macOS.
Whenever I'm setting up a new, VM, disk, etc, I run through the following
routine for every logical volume:
{{{
$ sudo touch /Volumes/<vol_name>/.metadata_never_index
$ sudo touch /Volumes/<vol_name>/.com.apple.timemachine.donotpresent
# Ensure we can see the contents of '.fseventsd', sans sudo
$ sudo chmod g+rx,o+rx /Volumes/<vol_name>/.fseventsd
$ sudo touch /Volumes/<vol_name>/.fseventsd/no_log
# While file '.metadata_never_index' will take effect eventually, stop
SpotLight indexing immediately:
$ sudo mdutil -d /Volumes/<vol_name>
}}}
It's also good to check the contents of `/private/var/vm/`, to see if
there's a hibernate file. If so, disable that via `pmset`, for any non-
laptop Mac... VMs included.
Ditto for checking the size of the swap file(s), which also reside in that
directory.
--
Ticket URL: <https://trac.macports.org/ticket/60185#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list