{"id":872,"date":"2013-05-03T21:58:09","date_gmt":"2013-05-03T19:58:09","guid":{"rendered":"http:\/\/blog.techmedia.pl\/?p=872"},"modified":"2017-12-21T21:14:15","modified_gmt":"2017-12-21T20:14:15","slug":"minidlna","status":"publish","type":"post","link":"https:\/\/www.techmedia.pl\/blog\/minidlna\/","title":{"rendered":"MiniDLNA &#8211; Inotify max_user_watches [16384]"},"content":{"rendered":"<p>Je\u015bli serwer MiniDLNA nie chce si\u0119 uruchomi\u0107, a w logach serwera macie poni\u017cszy b\u0142\u0105d:<\/p>\n<pre>WARNING: Inotify max_user_watches [16384] is low or close to the number of used watches [5] and I do not have permission to increase this limit.\u00a0 Please do so manually by writing a higher value into \/proc\/sys\/fs\/inotify\/max_user_watches.<\/pre>\n<p>musicie zwi\u0119kszy\u0107 warto\u015b\u0107 <strong><em>inotify<\/em><\/strong> za pomoc\u0105 <em><strong>sysctl<\/strong><\/em> (warto\u015b\u0107 100000 powinna by\u0107 wystarczaj\u0105ca dla wi\u0119kszo\u015bci u\u017cytkownik\u00f3w):<\/p>\n<pre>root@server: <strong>sysctl fs.inotify.max_user_watches=100000<\/strong><\/pre>\n<p>Aby po uruchomienia serwera zwi\u0119kszona warto\u015b\u0107 <em><strong>inotify<\/strong><\/em> nie uleg\u0142a zmianie, dodajcie do pliku <code>\/etc\/sysctl.conf<\/code> poni\u017cszy wpis lub zmie\u0144cie warto\u015b\u0107 ju\u017c istniej\u0105c\u0105 na 100000.<\/p>\n<pre># Increase inotify max watchs per user for local minidlna\r\nfs.inotify.max_user_watches = 100000<\/pre>\n<p>Po zmianach mo\u017cna spokojnie uruchomi\u0107 serwer MiniDLNA:<\/p>\n<pre>root@server: <strong>\/etc\/init.d\/minidlna start<\/strong><\/pre>\n<p>lub \u0142adniej<\/p>\n<pre>root@server: <strong>service minidlna start<\/strong><\/pre>\n<p>Po dodaniu plik\u00f3w do serwera warto prze\u0142adowa\u0107 konfiguracj\u0119:<\/p>\n<pre>root@server: <strong>\/etc\/init.d\/minidlna force-reload<\/strong><\/pre>\n<p>lub \u0142adniej<\/p>\n<pre>root@server: <strong>service minidlna force-reload<\/strong><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Je\u015bli serwer MiniDLNA nie chce si\u0119 uruchomi\u0107, a w logach serwera macie poni\u017cszy b\u0142\u0105d: WARNING: Inotify max_user_watches [16384] is low or close to the number of used watches [5] and I do not have permission to increase this limit.\u00a0 Please do so manually by writing a higher value into \/proc\/sys\/fs\/inotify\/max_user_watches. musicie zwi\u0119kszy\u0107 warto\u015b\u0107 inotify za [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[124],"tags":[120,48,75,98],"yst_prominent_words":[],"_links":{"self":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/872"}],"collection":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/comments?post=872"}],"version-history":[{"count":4,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/872\/revisions"}],"predecessor-version":[{"id":2283,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/872\/revisions\/2283"}],"wp:attachment":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/media?parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/categories?post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/tags?post=872"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}