Raise a Service's Open-Files Limit

easy 10 XP ~4 minHands-on lab

notifier runs as the user notifier and crashes under load with Too many open files. Its account is stuck at the default limit of 1024.

Task

In a new file /etc/security/limits.d/90-notifier.conf, set for user notifier only:

  • open files (nofile): soft limit 16384, hard limit twice that
  • processes (nproc): hard limit 4096

Do not change limits for anyone else, and do not edit /etc/security/limits.conf.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

TerminalNot started

Your machine is ready to start

Create a free account to open a machine and get graded.