tags 538174 + patch
thanks

This patch should solve the issue.  A better way might be to get
readahead-watch to use less inotify entries, or to dynamically
increase the limit when needed.

diff -ur ../readahead-list-1.20060421.1016/debian/readahead.init 
../readahead-list-1.20060421.1016-pere/debian/readahead.init
--- ../readahead-list-1.20060421.1016/debian/readahead.init      2009-09-23 
17:02:48.000000000 +0200
+++ ../readahead-list-1.20060421.1016-pere/debian/readahead.init 2009-09-23 
17:04:22.000000000 +0200
@@ -57,6 +57,9 @@
                 fi
             fi
         else
+            # Try to make sure enough inotify entries are available
+            echo 65535 > /proc/sys/fs/inotify/max_user_watches
+
             log_begin_msg "Preparing to profile boot sequence..."
             if /sbin/start-stop-daemon --start --quiet \
                 --pidfile /var/run/readahead-watch.bogus \

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to