{"id":1888,"date":"2015-04-29T15:30:48","date_gmt":"2015-04-29T13:30:48","guid":{"rendered":"http:\/\/blog.techmedia.pl\/?p=1888"},"modified":"2016-01-31T16:01:48","modified_gmt":"2016-01-31T15:01:48","slug":"dovecot-inotify-instance-limit-for-user-exceeded-disabling-erro","status":"publish","type":"post","link":"https:\/\/www.techmedia.pl\/blog\/dovecot-inotify-instance-limit-for-user-exceeded-disabling-erro\/","title":{"rendered":"Dovecot: Inotify instance limit for user exceeded, disabling &#8211; erro"},"content":{"rendered":"<p>Je\u015bli w pliku mail.log pojawiaj\u0105 nam si\u0119 ostrze\u017cenia: <span style=\"color: #ff0000;\">Warning: Inotify instance limit for user xxxx (UID vmail) exceeded, disabling. Increase \/proc\/sys\/fs\/inotify\/max_user_instances <\/span>nale\u017cy zwi\u0119kszy\u0107 warto\u015b\u0107 parametru <span style=\"color: #ff0000;\">max_user_instances<\/span>.<\/p>\n<p>Wy\u015bwietlenie aktualnie u\u017cywanych parametr\u00f3w:<\/p>\n<pre>root@server:\/# <strong>sysctl -a | grep inotyfi.max<\/strong><\/pre>\n<p>Zmiana warto\u015bci domy\u015blnej. Edytujemy plik <span style=\"color: #ff0000;\">\/etc\/sysctl.conf<\/span>:<!--more--><\/p>\n<pre>root@server:\/# <strong>vim \/etc\/sysctl.conf<\/strong><\/pre>\n<p>i dodajemy na jego ko\u0144cu poni\u017csz\u0105 lini\u0119, ustawiaj\u0105c warto\u015b\u0107 parametru odpowiednio do potrzeb:<\/p>\n<pre><code>fs.inotify.max_user_watches=10000<\/code><\/pre>\n<p>Uruchamiamy demona <span style=\"color: #ff0000;\">sysctl<\/span>:<\/p>\n<pre>root@server:\/# <strong>sysctl -p<\/strong><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Je\u015bli w pliku mail.log pojawiaj\u0105 nam si\u0119 ostrze\u017cenia: Warning: Inotify instance limit for user xxxx (UID vmail) exceeded, disabling. Increase \/proc\/sys\/fs\/inotify\/max_user_instances nale\u017cy zwi\u0119kszy\u0107 warto\u015b\u0107 parametru max_user_instances. Wy\u015bwietlenie aktualnie u\u017cywanych parametr\u00f3w: root@server:\/# sysctl -a | grep inotyfi.max Zmiana warto\u015bci domy\u015blnej. Edytujemy plik \/etc\/sysctl.conf:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[86,161,106],"yst_prominent_words":[],"_links":{"self":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/1888"}],"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=1888"}],"version-history":[{"count":3,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/1888\/revisions"}],"predecessor-version":[{"id":1892,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/1888\/revisions\/1892"}],"wp:attachment":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/media?parent=1888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/categories?post=1888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/tags?post=1888"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=1888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}