docker-timemachine: macOS Big Sur finder hangs sometimes

I configured timemachine docker image on Ubuntu 20.04 VM (hyper-v) with 2Tb drive

timemachine:
  image: mbentley/timemachine
  container_name: timemachine
  environment: 
    PASSWORD: P@ssw0rd
    TM_USERNAME: timemachine
    TM_GROUPNAME: timemachine
    TM_UID: 1000
    TM_GID: 1000
    SHARE_NAME: "Time Machine"
  volumes:
    - /mnt/timecapsule1/macbookbackup:/opt/timemachine
  network_mode: host
  restart: always

Sometimes when I open Finder it hangs for 5-15 sec. It happens only when timemachine container works. I suppose finder connects to network drive at this time. image When ‘Time Machine’ share appears in finder it become ok. Very annoying because I can’t use finder for those 15 second every time.

How can it be fixed?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (7 by maintainers)

Commits related to this issue

Most upvoted comments

The issue come back. I found this in system.log

Feb  4 21:41:00 --- last message repeated 2 times ---
Feb  4 21:41:00 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0D000000-0600-0000-0000-000000000000[37745]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:00 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0300-0000-0000-000000000000[37744]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:00 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0700-0000-0000-000000000000[37743]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:08 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:41:11 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0400-0000-0000-000000000000[37769]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:11 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0500-0000-0000-000000000000[37771]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:11 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0300-0000-0000-000000000000[37770]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:13 AntennaBook Google Chrome Helper[27631]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:41:18 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:41:21 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0200-0000-0000-000000000000[37775]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:21 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.09000000-0000-0000-0000-000000000000[37778]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:21 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0200-0000-0000-000000000000[37776]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:21 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.04000000-0100-0000-0000-000000000000[37777]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:29 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:41:37 AntennaBook Google Chrome Helper[37789]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:41:37 --- last message repeated 16 times ---
Feb  4 21:41:37 AntennaBook Google Chrome Helper[37790]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:41:39 --- last message repeated 16 times ---
Feb  4 21:41:39 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:41:43 AntennaBook Google Chrome Helper[26723]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:41:44 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0300-0000-0000-000000000000[37773]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:49 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:41:59 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.02000000-0700-0000-0000-000000000000[37797]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:41:59 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:42:13 --- last message repeated 1 time ---
Feb  4 21:42:13 AntennaBook Google Chrome Helper[27631]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:42:20 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:42:22 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0200-0000-0000-000000000000[37673]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:42:22 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0200-0000-0000-000000000000[37758]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:42:22 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0200-0000-0000-000000000000[37569]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:42:22 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0300-0000-0000-000000000000[37681]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:42:25 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.09000000-0700-0000-0000-000000000000[37804]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:42:30 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:42:36 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0400-0000-0000-000000000000[37794]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:42:40 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:42:54 --- last message repeated 1 time ---
Feb  4 21:42:54 AntennaBook Google Chrome Helper[26723]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:42:57 AntennaBook com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.at.obdev.littlesnitch.softwareupdate.11394514.11394520(502)> [4106]
Feb  4 21:43:01 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:43:05 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0300-0000-0000-000000000000[37811]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:11 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:43:13 AntennaBook Google Chrome Helper[27631]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:43:13 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0F000000-0600-0000-0000-000000000000[37782]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:13 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0300-0000-0000-000000000000[37781]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:13 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0200-0000-0000-000000000000[37780]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:21 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[37814]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:22 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:43:24 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.07000000-0300-0000-0000-000000000000[37816]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:25 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0D000000-0700-0000-0000-000000000000[37818]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:25 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.06000000-0200-0000-0000-000000000000[37817]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:32 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:43:32 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.08000000-0400-0000-0000-000000000000[37822]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:32 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.10000000-0000-0000-0000-000000000000[37820]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:32 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0A000000-0400-0000-0000-000000000000[37821]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:35 AntennaBook com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.com.apple.systempreferences.1152921500311955792.1152921500311955797(502)> [8957]
Feb  4 21:43:35 AntennaBook AccountProfileRemoteViewService[37838]: objc[37838]: Class AOSUISpyglassAccountChangeHelper is implemented in both /System/Library/PrivateFrameworks/AOSUI.framework/Versions/A/AOSUI and /System/Library/PrivateFrameworks/AOSUI.framework/Versions/A/XPCServices/AccountProfileRemoteViewService.xpc/Contents/MacOS/AccountProfileRemoteViewService. One of the two will be used. Which one is undefined.
Feb  4 21:43:39 AntennaBook Google Chrome Helper[26723]: Libnotify: notify_register_coalesced_registration failed with code 9 on line 2835
Feb  4 21:43:41 AntennaBook com.apple.xpc.launchd[1] (com.apple.AccountProfileRemoteViewService[37838]): Service exited due to SIGKILL | sent by AccountProfileRemoteViewService[37838]
Feb  4 21:43:41 AntennaBook com.apple.xpc.launchd[1] (com.apple.prefs.backup.remoteservice[37848]): Service exited due to SIGKILL | sent by com.apple.prefs.backup.remoteser[37848]
Feb  4 21:43:42 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Feb  4 21:43:44 AntennaBook com.apple.xpc.launchd[1] (com.apple.mdworker.shared.05000000-0400-0000-0000-000000000000[37830]): Service exited due to SIGKILL | sent by mds[87]
Feb  4 21:43:52 AntennaBook com.apple.xpc.launchd[1] (com.apple.applefsplaceholder): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.