{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/2417","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/2417/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/2417/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/2417/events","html_url":"https://github.com/docker/for-mac/issues/2417","id":288092234,"number":2417,"title":"File-Event propagation stopping (worse in current stable/edge)","user":{"login":"EugenMayer","id":136934,"avatar_url":"https://avatars2.githubusercontent.com/u/136934?v=4","gravatar_id":"","url":"https://api.github.com/users/EugenMayer","html_url":"https://github.com/EugenMayer","followers_url":"https://api.github.com/users/EugenMayer/followers","following_url":"https://api.github.com/users/EugenMayer/following{/other_user}","gists_url":"https://api.github.com/users/EugenMayer/gists{/gist_id}","starred_url":"https://api.github.com/users/EugenMayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EugenMayer/subscriptions","organizations_url":"https://api.github.com/users/EugenMayer/orgs","repos_url":"https://api.github.com/users/EugenMayer/repos","events_url":"https://api.github.com/users/EugenMayer/events{/privacy}","received_events_url":"https://api.github.com/users/EugenMayer/received_events","type":"User","site_admin":false},"labels":[{"id":438330583,"url":"https://api.github.com/repos/docker/for-mac/labels/status/0-triage","name":"status/0-triage","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"djs55","id":198586,"avatar_url":"https://avatars1.githubusercontent.com/u/198586?v=4","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false},"assignees":[{"login":"djs55","id":198586,"avatar_url":"https://avatars1.githubusercontent.com/u/198586?v=4","gravatar_id":"","url":"https://api.github.com/users/djs55","html_url":"https://github.com/djs55","followers_url":"https://api.github.com/users/djs55/followers","following_url":"https://api.github.com/users/djs55/following{/other_user}","gists_url":"https://api.github.com/users/djs55/gists{/gist_id}","starred_url":"https://api.github.com/users/djs55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djs55/subscriptions","organizations_url":"https://api.github.com/users/djs55/orgs","repos_url":"https://api.github.com/users/djs55/repos","events_url":"https://api.github.com/users/djs55/events{/privacy}","received_events_url":"https://api.github.com/users/djs55/received_events","type":"User","site_admin":false}],"milestone":null,"comments":25,"created_at":"2018-01-12T11:38:24Z","updated_at":"2018-05-17T11:10:12Z","closed_at":null,"author_association":"NONE","body":"I am maintaining http://docker-sync.io where we try to overcome some effects host-mounts in d4m ( docker on OSX in general ) spawn, specifically the performance.\r\n\r\nWe offer different ways ( rsync, unison ) and since about 1 year, OSXFS based \"native_osx\" - this relys on the FS events propagated by d4m - please see the chart here https://github.com/EugenMayer/docker-sync/wiki/8.-Strategies#native_osx-osx\r\n\r\na) It is known, that the propagation does stop working after some time, even before mac42: https://github.com/EugenMayer/docker-sync/issues/410 - the only way we fix that is by restarting d4m completely - are there any better ways to that?\r\n\r\n\r\nb) (the actual reason for this issue, but related to a) Now, since 42+ ( 42 works well ) things got a lot worse, that said, FS even propagation stops after some few operations or just some time, see https://github.com/EugenMayer/docker-sync/issues/517\r\n\r\nPeople do downgrade to mac42 https://github.com/EugenMayer/docker-sync/issues/517#issuecomment-356716739 and seem to have far better results\r\n\r\nReferencing to your statement\r\n```\r\nVolumes shared from the host are mounted remotely using a protocol that is quite similar to NFS, extended with support for transporting filesystem events. \r\n```\r\n\r\na) can we \"restart\" that service, when it stuck? Without restarting all containers\r\nb) can we fix FS system propagation?\r\nc) can we somehow detect when FS propagation has been stuck ( to trigger a )\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/docker/for-mac/issues/comments/389830413","html_url":"https://github.com/docker/for-mac/issues/2417#issuecomment-389830413","issue_url":"https://api.github.com/repos/docker/for-mac/issues/2417","id":389830413,"user":{"login":"joar","id":20814,"avatar_url":"https://avatars2.githubusercontent.com/u/20814?v=4","gravatar_id":"","url":"https://api.github.com/users/joar","html_url":"https://github.com/joar","followers_url":"https://api.github.com/users/joar/followers","following_url":"https://api.github.com/users/joar/following{/other_user}","gists_url":"https://api.github.com/users/joar/gists{/gist_id}","starred_url":"https://api.github.com/users/joar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joar/subscriptions","organizations_url":"https://api.github.com/users/joar/orgs","repos_url":"https://api.github.com/users/joar/repos","events_url":"https://api.github.com/users/joar/events{/privacy}","received_events_url":"https://api.github.com/users/joar/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T11:10:12Z","updated_at":"2018-05-17T11:10:12Z","author_association":"NONE","body":"@fdanielsen \r\n> [...] Eg. my Python containers notice changes to Python files, while my Webpack devserver container doesn't notice changes to any source files (JS, SCSS mainly). I wouldn't doubt that's because of different container images (and OSes) or possibly different file system watch strategies, but…\r\n\r\nIf by \"Python containers\" you mean \"Django runserver\", it will be polling if `pyinotify` isn't installed.\r\n\r\nYou can check which file watch method your `runserver` is using by running\r\n```python\r\nimport pyinotify\r\n```\r\nin a python process inside your container. Here's the Django source code for how `USE_INOTIFY` is set: https://github.com/django/django/blob/master/django/utils/autoreload.py#L56-L66."}}
{"actor":{"display_login":"joar"}}