Linux Labs

Inside the system: resources, kernel, processes / Stage 4 of 12

ulimit and sysctl: system ceilings

Not running Starting usually ~20 s
Leave the lesson

Step 7 of 10 · on a machine · 3 min

More watches

Programs follow changes to files through inotify: the kernel tells them about every write to a file they watch. Together, the log shipper and the file sync on this machine need 65536 watches per user.

Exercise · do it

Make a kernel parameter stick

Raise fs.inotify.max_user_watches to 65536: right now, and so that the value survives a reboot of the machine.

Sign in and start The machine is available after signing in

Goals · 0 of 2

  • Raise the value now not done yet
  • Keep the value for the next boot not done yet

Step goals

0 of 2
  • Raise the value now — not done yet
  • Keep the value for the next boot — not done yet
Ubuntu 24.04

Step goals

0 of 2
  • Raise the value now — not done yet
  • Keep the value for the next boot — not done yet
Loading…