{"action":"created","issue":{"url":"https://api.github.com/repos/haiwen/seafile/issues/1640","repository_url":"https://api.github.com/repos/haiwen/seafile","labels_url":"https://api.github.com/repos/haiwen/seafile/issues/1640/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/seafile/issues/1640/comments","events_url":"https://api.github.com/repos/haiwen/seafile/issues/1640/events","html_url":"https://github.com/haiwen/seafile/issues/1640","id":154543223,"number":1640,"title":"seafile uses too many inotify watches (Ubuntu 16.04)","user":{"login":"untom","id":3627551,"avatar_url":"https://avatars.githubusercontent.com/u/3627551?v=3","gravatar_id":"","url":"https://api.github.com/users/untom","html_url":"https://github.com/untom","followers_url":"https://api.github.com/users/untom/followers","following_url":"https://api.github.com/users/untom/following{/other_user}","gists_url":"https://api.github.com/users/untom/gists{/gist_id}","starred_url":"https://api.github.com/users/untom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untom/subscriptions","organizations_url":"https://api.github.com/users/untom/orgs","repos_url":"https://api.github.com/users/untom/repos","events_url":"https://api.github.com/users/untom/events{/privacy}","received_events_url":"https://api.github.com/users/untom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-12T17:55:31Z","updated_at":"2016-05-30T07:53:15Z","closed_at":"2016-05-19T06:45:52Z","body":"I use seafile 5.1.1 on Ubuntu 16.04. The seafile applet starts automatically at startup, but it appears to use too many inotify watches. Meaning that all other processes that use inotify (e.g. pulseaudio, or also a simple `tail -f`) do not work properly while seafile is running.\r\n\r\nFor example, when seafile is running, `tail -f` will produce the following error:\r\n\r\n    $ tail -f /dev/null\r\n    tail: inotify resources exhausted\r\n    tail: inotify cannot be used, reverting to polling\r\n\r\nAlso, pulseaudio will not start up properly, and there are most probably a lot of other processes that do not work as expected. If I stop the seafile applet, everything works fine, as expected.\r\n\r\nIncreasing the default number of watches to 65536 (from Ubuntu's default of 8192) alleviates the problem. However, I do not remember this being necessary on Ubuntu 15.10 (I was using seafile 4.3.x at the time if I recall correctly), even though the number of files being synched hasn't really changed since then. "},"comment":{"url":"https://api.github.com/repos/haiwen/seafile/issues/comments/222434018","html_url":"https://github.com/haiwen/seafile/issues/1640#issuecomment-222434018","issue_url":"https://api.github.com/repos/haiwen/seafile/issues/1640","id":222434018,"user":{"login":"shoeper","id":5340585,"avatar_url":"https://avatars.githubusercontent.com/u/5340585?v=3","gravatar_id":"","url":"https://api.github.com/users/shoeper","html_url":"https://github.com/shoeper","followers_url":"https://api.github.com/users/shoeper/followers","following_url":"https://api.github.com/users/shoeper/following{/other_user}","gists_url":"https://api.github.com/users/shoeper/gists{/gist_id}","starred_url":"https://api.github.com/users/shoeper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shoeper/subscriptions","organizations_url":"https://api.github.com/users/shoeper/orgs","repos_url":"https://api.github.com/users/shoeper/repos","events_url":"https://api.github.com/users/shoeper/events{/privacy}","received_events_url":"https://api.github.com/users/shoeper/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T07:53:15Z","updated_at":"2016-05-30T07:53:15Z","body":"Did not have any problems on Fedora 23 so far.\r\n\r\nHow much data / files do you synchronize?\r\n\r\nWhat's your limit of watches?"}}
{"actor":{"display_login":"shoeper"}}