Closed Bug 562632 Opened 14 years ago Closed 13 years ago

Disable spotlight on build and talos slaves

Categories

(Release Engineering :: General, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: coop)

References

Details

(Whiteboard: [puppet][buildslaves])

Attachments

(1 file, 1 obsolete file)

Bug 562617 was a pathological example of what can happen to the Spotlight data store of a build machine - waste 40G of a 75G disk. And there's the perf hit every time we pull from hg, or unpack a tests tarball, or just build. The only upside (I know of) for having spotlight is the occasional time-saving when debugging on a slave, which is completely out of whack with the overhead.

It's simply done by 
 sudo mdutil -i off /
 sudo mdutil -E /
and you can also remove a couple of startup items to ensure the index and front-end processes never start.
Priority: -- → P3
Hit this again while imaging the new talos rev3 minis with 10.6 refimage.
Assignee: nobody → coop
Tested in staging against a darwin9 and a darwin10 slave.
Attachment #534101 - Flags: review?(dustin)
This one covers talos too.
Attachment #534101 - Attachment is obsolete: true
Attachment #534106 - Flags: review?(dustin)
Attachment #534101 - Flags: review?(dustin)
Attachment #534106 - Flags: review?(dustin) → review+
Comment on attachment 534106 [details] [diff] [review]
Disable Spotlight indexing and remove the existing index, v2

http://hg.mozilla.org/build/puppet-manifests/rev/bbfddf092350
Attachment #534106 - Flags: checked-in+
Puppetmasters updated and restarted.

I posted to dev-tree-management in case we see some fluctuation in either build of test times.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: