10/46
Sign inSign up free

384. 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.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.