changeset 7504:31e1382b315f HEAD

If inotify instance limit is reached, give a hint about max_user_instances file that can be increased.
author Timo Sirainen <tss@iki.fi>
date Mon, 05 May 2008 18:39:56 +0300
parents 0a80134510b1
children 3c0dd5c29aca
files src/lib/ioloop-notify-inotify.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/ioloop-notify-inotify.c	Mon May 05 01:01:22 2008 +0300
+++ b/src/lib/ioloop-notify-inotify.c	Mon May 05 18:39:56 2008 +0300
@@ -153,7 +153,8 @@
 			i_error("inotify_init() failed: %m");
 		else {
 			i_warning("Inotify instance limit for user exceeded, "
-				  "disabling.");
+				  "disabling. Increase "
+				  "/proc/sys/fs/inotify/max_user_instances");
 		}
 		ctx->disabled = TRUE;
 	} else {