Package: readahead
Version: 1:1.20060421.1016-6
Severity: normal

I was having problems profiling my boot. I would get a bunch of "no
space left on device" messages when udev was starting up (in spite of
the fact that I don't have any full devices) and most importantly, it
would somehow screw up the new hal/xorg rediculousness so that my mouse
and keyboard didn't work once I got to the login screen.

I determined that the problem was that I was exceeding my maximum number
of inotify watches (8192 by default I believe). I got things working again 
by adding 

echo 65535 > /proc/sys/fs/inotify/max_user_watches

at the beginning of the profiling if clause in
/etc/init.d/readahead. I'm sure there's a less hackish way to do this,
but it would probably be a good idea to increase the max user watches
during profile.

Kevin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3.017 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages readahead depends on:
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  libc6                         2.9-21     GNU C Library: Shared libraries

readahead recommends no packages.

readahead suggests no packages.

-- debconf information:
  readahead/profile-once: false



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to