godzfire

macrumors member
Original poster
May 20, 2013
67
12
Hello all. This is a continuation of an issue brought up in this 10.15 thread (https://forums.macrumors.com/threads/update-to-10-15-5.2239185/?post=28521359#post-28521359) of mdworker.shared absolutely destroying the system.log with hundreds of the same err message per minute.

log-jpg.920930


Further down, user bogdanw seemingly found the culprit and how to take care of it (https://forums.macrumors.com/threads/update-to-10-15-5.2239185/?post=28522651#post-28522651)
After reading your post, I opened the Console and found the same message repeated multiple times. As I have SIP disabled, I unloaded /System/Library/LaunchAgents/com.apple.mdworker.shared.plist, moved the plist in a backup folder and rebooted. The message is gone now. I have no idea what mdworker.shared is supposed to do, but Spotlight seems to be working just fine.

It seems according to the other people in the thread it worked for them as well, and initially it did work for me as well; my system log was completely gone of them and a very quiet system log. Unfortunately, it seems that it somehow messed up my Spotlight index now. There a bunch of stuff missing from my main drive (including applications) and random ones missing from my secondary one. I did try to do a Spotlight reindex by first putting them in the Spotlight > Privacy light so they wouldn't get indexed and then removed them to initiate a new reindex but that didn't work. I even tried using the terminal command that stopped indexing and reindexing, which didn't work. Note: I am running Mojave 10.14.X, but I can't see how the same issue present in both OSs would lead to different results when removing the file.

For those saying: "Well why not just leave the file there then", it obvious that sheer amount of console spam is not supposed to be happening normally. It happens even after a clean/fresh OS installed as documented by people who tried doing that in the other thread. It's constant extra work going on with the OS. When the file was removed my system.log is quiet as a mouse. I can go an entire day and there's barely anything in there without that file.

To everyone who's removed the mdworker.shared file from system, have you noticed that your searches aren't properly working anymore? Am I the only one experience these problems who have moved the file?
 
  • Like
Reactions: jagooch

godzfire

macrumors member
Original poster
May 20, 2013
67
12
Well, Spotlight was no longer working anymore without the mdworker.shared file present, so I had to restore it and reboot. After an index Spotlight is functioning again, but this is also now back in full force:

Aug 2 04:15:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3087]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:17:28 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3099]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:17:28 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0000-0000-0000-000000000000[3088]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:17:28 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0000-0000-0000-000000000000[3097]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:18:38 GodzFire-MM syslogd[40]: ASL Sender Statistics
Aug 2 04:18:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3113]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:19:12 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3098]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:19:16 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3117]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:19:16 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3114]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:19:16 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3116]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:19:24 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3115]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:19:38 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0000-0000-0000-000000000000[3103]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:09 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3124]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3123]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0000-0000-0000-000000000000[3121]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0000-0000-0000-000000000000[3122]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3127]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3126]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3128]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:10 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3125]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:23:39 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3105]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:24:21 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0000-0000-0000-000000000000[3120]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:24:43 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0000-0000-0000-000000000000[3101]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:24:43 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3162]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:25:51 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3167]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:25:54 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3168]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:27:41 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3119]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:27:41 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0000-0000-0000-000000000000[3176]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:27:41 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3174]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:29:03 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3177]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:29:03 GodzFire-MM syslogd[40]: ASL Sender Statistics
Aug 2 04:31:33 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3179]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:32:12 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3188]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:32:16 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3182]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:32:16 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3189]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:34:25 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3229]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:35:04 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0000-0000-0000-000000000000[3175]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:35:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3230]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:35:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0000-0000-0000-000000000000[3181]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:36:49 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0000-0000-0000-000000000000[3237]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:36:49 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3239]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:36:49 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0000-0000-0000-000000000000[3236]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:36:49 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3234]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:36:49 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3235]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:36:49 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3241]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:37:08 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3240]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:37:08 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3238]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:40 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3247]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:40 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0000-0000-0000-000000000000[3248]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:40 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3249]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:40 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3250]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:40 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3252]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:40 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3251]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:47 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3246]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:38:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3253]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:39:11 GodzFire-MM syslogd[40]: ASL Sender Statistics
Aug 2 04:40:19 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3255]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:40:42 GodzFire-MM timed[80]: settimeofday({0x5f268a1a,0x7e22c}) == 0
Aug 2 04:42:53 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3279]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:43:51 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3244]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:03 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0000-0000-0000-000000000000[3233]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3283]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:12 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3284]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:13 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3285]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:13 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3286]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:13 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3287]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:44:21 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3288]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:45:04 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3295]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:46:02 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3320]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:46:02 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3321]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:46:02 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3319]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:46:02 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3318]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:46:55 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0000-0000-0000-000000000000[3243]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:47:25 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3345]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:48:07 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3232]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:48:07 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0000-0000-0000-000000000000[3297]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:48:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3348]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:49:16 GodzFire-MM syslogd[40]: ASL Sender Statistics
Aug 2 04:52:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0000-0000-0000-000000000000[3360]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:52:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[3359]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:52:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0000-0000-0000-000000000000[3358]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:52:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3361]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:52:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0000-0000-0000-000000000000[3363]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:52:11 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0000-0000-0000-000000000000[3362]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:53:54 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3351]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:53:54 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3376]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:55:05 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0000-0000-0000-000000000000[3296]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:56:58 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[3388]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:57:07 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0000-0000-0000-000000000000[3381]): Service exited due to SIGKILL | sent by mds[66]
Aug 2 04:57:07 GodzFire-MM com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0000-0000-0000-000000000000[3350]): Service exited due to SIGKILL | sent by mds[66]
 

dingobiatch

macrumors regular
Jan 29, 2009
143
33
God damn this is frustrating. Same issue here. I have a Thunderbay 4 (TB2 version, with TB2->TB3 Apple Adapter).. curious what other people's setups are?
 

Brian33

macrumors 65816
Apr 30, 2008
1,017
135
USA (Virginia)
Yeah, I'm getting the same annoying messages (running Mojave). I happen to have three TB2 devices (no adapter) connected to my Late 2015 iMac, but I don't see any reason to think that's related to the log messages.
 

Tangoandcash

macrumors newbie
Dec 3, 2020
4
0
Same problem for me, late 2015 iMac, Big Sur crashing often and getting lots of mdworker_shared errors.
 

Tangoandcash

macrumors newbie
Dec 3, 2020
4
0
panic(cpu 7 caller 0xffffff80192bf424): "Zone element 0xffffff86dc953960 was modified after free for zone VM map entries: " "Expected element to be cleared"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.50.7/osfmk/kern/zalloc.c:1968
Backtrace (CPU 7), Frame : Return Address
0xffffffc11ffeb6d0 : 0xffffff8018abc66d
0xffffffc11ffeb720 : 0xffffff8018bff073
0xffffffc11ffeb760 : 0xffffff8018bef6aa
0xffffffc11ffeb7b0 : 0xffffff8018a61a2f
0xffffffc11ffeb7d0 : 0xffffff8018abbf0d
0xffffffc11ffeb8f0 : 0xffffff8018abc1f8
0xffffffc11ffeb960 : 0xffffff80192bee1a
0xffffffc11ffeb9d0 : 0xffffff80192bf424
0xffffffc11ffeb9e0 : 0xffffff8018b17fca
0xffffffc11ffeba10 : 0xffffff8018b192a8
0xffffffc11ffeba90 : 0xffffff8018b5aa21
0xffffffc11ffebab0 : 0xffffff8018b5db9c
0xffffffc11ffebae0 : 0xffffff8018b565e7
0xffffffc11ffebb40 : 0xffffff8018b5f6e1
0xffffffc11ffebc80 : 0xffffff8018b4de46
0xffffffc11ffebf00 : 0xffffff8018befcc0
0xffffffc11ffebfa0 : 0xffffff8018a6191f

Process name corresponding to current thread: mdworker_shared

Mac OS version:
20B29

Kernel version:
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Kernel UUID: 84C6DC45-6B02-335F-9439-5D2A9BC385A4
KernelCache slide: 0x0000000018800000
KernelCache base: 0xffffff8018a00000
Kernel slide: 0x0000000018810000
Kernel text base: 0xffffff8018a10000
__HIB text base: 0xffffff8018900000
System model name: iMac17,1 (Mac-DB15BD556843C820)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 3995992010370
Last Sleep: absolute base_tsc base_nano
Uptime : 0x000003a263af322c
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x000000090b878b7f 0x0000000000000000
last started kext at 72961228971: com.google.drivefs.filesystems.dfsfuse 43.0.8 (addr 0xffffff7fb9d6a000, size 86016)
loaded kexts:
com.google.drivefs.filesystems.dfsfuse 43.0.8
>!ATopCaseHIDEventDriver 4000.27
>AudioAUUC 1.70
>!APlatformEnabler 2.7.0d0
>AGPM 119
>X86PlatformShim 1.0.0
@filesystems.autofs 3.0
>!AUpstreamUserClient 3.6.8
@kext.AMDFramebuffer 4.0.0
@fileutil 20.036.15
@kext.AMDRadeonServiceManager 4.0.0
>!AMikeyHIDDriver 131
@kext.AMDRadeonX4000 4.0.0
>!AGraphicsDevicePolicy 6.1.27
@AGDCPluginDisplayMetrics 6.1.27
>pmtelemetry 1
>LuaHardwareAccess 1.0.16
|IOUserEthernet 1.0.1
>!AHDAHardwareConfigDriver 283.15
>usb.!UUserHCI 1
|IO!BSerialManager 8.0.1f5
@Dont_Steal_Mac_OS_X 7.0.0
>!AHV 1
>!ADiskImages2 1
>!AHDA 283.15
>!A!IPCHPMC 2.0.1
>!A!ISKLGraphics 16.0.0
>!AMikeyDriver 283.15
>!A!ISlowAdaptiveClocking 4.0.0
@kext.AMD7000!C 4.0.0
>!AThunderboltIP 4.0.3
>!ASMCLMU 212
>AGDCBacklightControl 6.1.27
>!A!ISKLGraphicsFramebuffer 16.0.0
|Broadcom!B20703USBTransport 8.0.1f5
>eficheck 1
>!ABacklight 180.3
>!AMCCSControl 1.14
>ACPI_SMC_PlatformPlugin 1.0.0
>!AFIVRDriver 4.1.0
|IO!BUSBDFU 8.0.1f5
>!AFileSystemDriver 3.0.1
@filesystems.tmpfs 1
@filesystems.hfs.kext 556.41.1
@BootCache 40
@!AFSCompression.!AFSCompressionTypeZlib 1.0.0
@!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1
@filesystems.apfs 1677.50.1
|!ABCM5701Ethernet 11.0.0
>!ASDXC 1.9.0
>AirPort.BrcmNIC 1400.1.1
>!AAHCIPort 346
@private.KextAudit 1.0
>!AACPIButtons 6.1
>!ARTC 2.0
>!ASMBIOS 2.1
>!AACPIEC 6.1
>!AAPIC 1.7
@!ASystemPolicy 2.0.0
@nke.applicationfirewall 310
|IOKitRegistryCompatibility 1
|EndpointSecurity 1
>!AMultitouchDriver 4400.28
>!AInputDeviceSupport 4400.35
>!AHS!BDriver 4000.27
>IO!BHIDDriver 8.0.1f5
>!AHIDKeyboard 222
>!UAudio 401.4
@kext.triggers 1.0
@kext.AMDRadeonX4030HWLibs 1.0
@kext.AMDRadeonX4000HWServices 4.0.0
>!AGraphicsControl 6.1.27
|IOSerial!F 11
|IOAVB!F 900.12
>DspFuncLib 283.15
@kext.OSvKernDSPLib 529
@!AGPUWrangler 6.1.27
|IOSlowAdaptiveClocking!F 1.0.0
@kext.AMDSupport 4.0.0
>!AThunderboltEDMSink 5.0.3
@plugin.IOgPTPPlugin 900.11
|IOEthernetAVB!C 1.1.0
|IOAccelerator!F2 439.35.4
@!AGraphicsDeviceControl 6.1.27
|Broadcom!BHost!CUSBTransport 8.0.1f5
|IO!BHost!CUSBTransport 8.0.1f5
|IO!BHost!CTransport 8.0.1f5
>!AHDA!C 283.15
|IOHDA!F 283.15
|IOAudio!F 300.6.1
@vecLib.kext 1.2.0
>!ASMBusPCI 1.0.14d1
>!ABacklightExpert 1.1.0
|IONDRVSupport 585
|IOGraphics!F 585
>!ASMBus!C 1.0.18d1
>IOPlatformPluginLegacy 1.0.0
>X86PlatformPlugin 1.0.0
>IOPlatformPlugin!F 6.0.0d8
>usb.!UHub 1.2
>usb.IOUSBHostHIDDevice 1.2
>usb.cdc 5.0.0
>usb.networking 5.0.0
>usb.!UHostCompositeDevice 1.2
>!AThunderboltDPOutAdapter 8.1.4
>!AThunderboltDPInAdapter 8.1.4
>!AThunderboltDPAdapter!F 8.1.4
>!AThunderboltPCIDownAdapter 4.1.1
>!ABSDKextStarter 3
|IOSurface 289.3
@filesystems.hfs.encodings.kext 1
>!AXsanScheme 3
>!AThunderboltNHI 7.2.8
|IOThunderbolt!F 9.3.2
|IO80211!F 1200.12.2b1
|IOSkywalk!F 1
>mDNSOffloadUserClient 1.0.1b8
>corecapture 1.0.4
|IONVMe!F 2.1.0
>!A!ILpssI2C 3.0.60
>!A!ILpssGspi 3.0.60
>usb.!UHostPacketFilter 1.0
|IOAHCI!F 294
>usb.!UXHCIPCI 1.2
>usb.!UXHCI 1.2
|IOUSB!F 900.4.2
>!AEFINVRAM 2.1
>!AEFIRuntime 2.1
|IOSMBus!F 1.1
|IOHID!F 2.0.0
$!AImage4 3.0.0
|IOTimeSync!F 900.11
|IONetworking!F 3.4
>DiskImages 493.0.0
|IO!B!F 8.0.1f5
|IOReport!F 47
|IO!BPacketLogger 8.0.1f5
$quarantine 4
$sandbox 300.0
@Kext.!AMatch 1.0.0d1
|CoreAnalytics!F 1
>!ASSE 1.0
>!AKeyStore 2
>!UTDM 511.40.9
|IOUSBMass!SDriver 184.40.6
|IOSCSIBlockCommandsDevice 436.40.6
|IO!S!F 2.1
|IOSCSIArchitectureModel!F 436.40.6
>!AMobileFileIntegrity 1.0.5
@kext.CoreTrust 1
>!AFDEKeyStore 28.30
>!AEffaceable!S 1.0
>!ACredentialManager 1.0
>KernelRelayHost 1
|IOUSBHost!F 1.2
>!UHostMergeProperties 1.2
>usb.!UCommon 1.0
>!ABusPower!C 1.0
>!ASEPManager 1.0.1
>IOSlaveProcessor 1
>!AACPIPlatform 6.1
>!ASMC 3.1.9
|IOPCI!F 2.9
|IOACPI!F 1.4
>watchdog 1
@kec.pthread 1
@kec.corecrypto 1.0
@kec.Libm 1
 

Nermal

Moderator
Staff member
Dec 7, 2002
19,141
1,612
New Zealand
Still occuring on Big Sur (released)

And on 11.1.

"mds_stores" is causing the problem, but the solution is NOT to remove it, but in my case to rather to stop Finder from indexing Google File Stream's Drive folders. you can do this for Google Drive too. My computer has stopped overheating and experiencing kernel panics. https://gaborhargitai.hu/google-drive-file-stream-high-cpu-usage-on-mac-os-x-macos/

No Google stuff on my machine.
 

EchoBaby69

macrumors newbie
Jan 20, 2021
2
0
Philadelphia
"mds_stores" is causing the problem, but the solution is NOT to remove it, but in my case to rather to stop Finder from indexing Google File Stream's Drive folders. you can do this for Google Drive too. My computer has stopped overheating and experiencing kernel panics. https://gaborhargitai.hu/google-drive-file-stream-high-cpu-usage-on-mac-os-x-macos/
Did this ever fix your computer? I have the exact same iMac and I'm going thru this as well. Like others I only have Google Chrome on my iMac. No other Google products.
 

Tangoandcash

macrumors newbie
Dec 3, 2020
4
0
Did this ever fix your computer? I have the exact same iMac and I'm going thru this as well. Like others I only have Google Chrome on my iMac. No other Google products.
My computer has stopped overheating under load and shutting down (which is wonderful), once I stopped Finder indexing Google Drive locations. But I'm still getting the dreaded error, "Service exited due to SIGKILL | sent by mds[86]"
 

liangch

macrumors newbie
Jan 20, 2021
1
0
Shanghai, China
I use
Code:
sudo fs_usage mdworker mds | grep fsgetpath
to see what are accessed by mds, and found files under $HOME/Library. After excluding ~/Library folder in spotlight, the system log looks better.
 

EchoBaby69

macrumors newbie
Jan 20, 2021
2
0
Philadelphia
My computer has stopped overheating under load and shutting down (which is wonderful), once I stopped Finder indexing Google Drive locations. But I'm still getting the dreaded error, "Service exited due to SIGKILL | sent by mds[86]"
Got it. I fixed mine by removing all Adobe software and 3rd party software like Skype & UpWork's app. So far so good. No more crashes.
 

godzfire

macrumors member
Original poster
May 20, 2013
67
12
This is really annoying. I'm still having this problem and it's also eating up written disk space.
 

macsurf

macrumors newbie
Feb 21, 2021
2
0
Try turning off spotlight indexing:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

This worked for me on Big Sur
 

godzfire

macrumors member
Original poster
May 20, 2013
67
12
Try turning off spotlight indexing:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

This worked for me on Big Sur
Are you able to still use Spotlight though after? By that I mean can you still use search and find something. What happened for me was that you'd get results, but only for the last indexed time. If there were any new file/folder/document/application/etc updates it wouldn't display them, and if you cleared the index, you'd get nothing.
 
  • Like
Reactions: jagooch

macsurf

macrumors newbie
Feb 21, 2021
2
0
I get results but probably for the last index. I personally never use Spotlight so it doesn't matter for me. But you could run the service occasionally to update the index if you really want to use it.
If you don't want to do this manually run a cron script that turns it on and off again. You may have to play around with the scheduling depending on how long it takes to update the index.
 

krader1961

macrumors newbie
Mar 4, 2021
2
5
TL;DR:

At a shell prompt run this command: ls /private/var/folders/*/*/C/com.apple.metadata.mdworker. You might be surprised at the number of empty directories in that directory.

The long version:

Note that each "Service exited due to SIGKILL | sent by mds" message in /var/log/system.log about com.apple.mdworker.shared corresponds to an orphaned, empty, directory in directory /private/var/folders/6t/t624jkmx7cbb9t35vzvjwj180000gn/C/com.apple.metadata.mdworker (the /6t/t6.../ portion of that path will be different on your system). My system had accumulated over 3.5 billion such directories which was causing my backup software to be unbearably slow. The orphaned directory name is of the form "$pid.something" where $pid is the process ID of the mdworker_shared process that was killed by the mds process using SIGKILL. I don't know, yet, what the "something" portion of the directory name means. The important point is the termination due to SIGKILL gives the mdworker_shared process no opportunity to cleanup after itself; such as by removing the temporary directory it created in the /private/var/folders/*/*/C/com.apple.metadata.mdworker directory.

I found that I could dramatically reduce such errors by adding two directories to the Spotlight "privacy" system preference pane: the Google Drive directory and a directory that sees significant file creation/removal by a security camera monitoring app. By dramatically I mean at least two orders of magnitude on my system. It looks like there is a race condition by Spotlight (mds and mdworker processes) involving the handling of file creation/removal.
 

krader1961

macrumors newbie
Mar 4, 2021
2
5
TL;DR:

At a shell prompt run this command: ls /private/var/folders/*/*/C/com.apple.metadata.mdworker. You might be surprised at the number of empty directories in that directory.

The long version:

Note that each "Service exited due to SIGKILL | sent by mds" message in /var/log/system.log about com.apple.mdworker.shared corresponds to an orphaned, empty, directory in directory /private/var/folders/6t/t624jkmx7cbb9t35vzvjwj180000gn/C/com.apple.metadata.mdworker (the /6t/t6.../ portion of that path will be different on your system). My system had accumulated over 3.5 billion such directories which was causing my backup software to be unbearably slow. The orphaned directory name is of the form "$pid.something" where $pid is the process ID of the mdworker_shared process that was killed by the mds process using SIGKILL. I don't know, yet, what the "something" portion of the directory name means. The important point is the termination due to SIGKILL gives the mdworker_shared process no opportunity to cleanup after itself; such as by removing the temporary directory it created in the /private/var/folders/*/*/C/com.apple.metadata.mdworker directory.

I found that I could dramatically reduce such errors by adding two directories to the Spotlight "privacy" system preference pane: the Google Drive directory and a directory that sees significant file creation/removal by a security camera monitoring app. By dramatically I mean at least two orders of magnitude on my system. It looks like there is a race condition by Spotlight (mds and mdworker processes) involving the handling of file creation/removal.
I've used the macOS "Feedback Assistant" app to report what I've learned and written a cron job to prune
the /private/var/folders/*/*/C/com.apple.metadata.mdworker directory to the 1_000 most recently created directories as a temporary hack to keep my system usable.
 

Brian33

macrumors 65816
Apr 30, 2008
1,017
135
USA (Virginia)
At a shell prompt run this command: ls /private/var/folders/*/*/C/com.apple.metadata.mdworker. You might be surprised at the number of empty directories in that directory.

...

Note that each "Service exited due to SIGKILL | sent by mds" message in /var/log/system.log about com.apple.mdworker.shared corresponds to an orphaned, empty, directory...
Fantastic troubleshooting job, krader! Very useful information!

I have "only" 277,875 (and counting) of these empty directories. I used this command to count them:
ls -l /private/var/folders/*/*/C/com.apple.metadata.mdworker | wc -l
(That will count them only for the logged-in user.)

When I get a chance I'll be looking at mine more closely. Thanks again for posting this information!
 
Last edited:

Tiberinoxum

macrumors newbie
Mar 5, 2021
4
1
This is great information!! This problem has been driving me crazy for a while now and Apple support has been no help. This also seems to affect my Time Machine backup drive when it is re-indexed.

Tiber
 

Brian33

macrumors 65816
Apr 30, 2008
1,017
135
USA (Virginia)
Some more data points about these orphaned empty directories:

-- high numbers occur on my Mojave and one of my High Sierra systems, but not on my other High Sierra system.

-- they do not seem to be included in Time Machine backups, but CCC backed up 116,000 out of 278,000 (odd!).

-- each user account on the system has a corresponding com.apple.metadata.mdworker directory; on my system the most-used account has by far the most orphaned directories.

-- a Safe Boot does not get rid of them.
 
  • Like
Reactions: jagooch

mackiee

macrumors member
Mar 14, 2014
88
47
TL;DR:

At a shell prompt run this command: ls /private/var/folders/*/*/C/com.apple.metadata.mdworker. You might be surprised at the number of empty directories in that directory.
I have none of these directories but still have A LOT of "Service exited due to SIGKILL | sent by mds" log entries in the system log... Every few minutes I get about 10-15 new entries.
 
  • Like
Reactions: jagooch
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.