S6-SOFTLIMIT(8)

πŸ“¦ version 2.15.1.0, in nixpkgs unstable

πŸ’… s6-softlimit β€” like, the actual manual page

okay so bestie, welcome to s6-softlimit(8), straight out of the System Manager's Manual ✨ this one's a little drama queen of a tool: it messes with your process limits and then yeets itself into another program. iconic behavior tbh πŸŽ€


πŸ’– NAME πŸ’–

s6-softlimit β€” change process limits, then execute into another program πŸ¦‹

No cap, that's literally the whole personality.


✨ SYNOPSIS ✨

s6-softlimit [-H | -h] [-a allmem] [-c core] [-d data] [-f fsize]
             [-l lock] [-m mem] [-o ofiles] [-P prio] [-p proc] [-r res]
             [-s stack] [-t cpusecs] prog...

🌸 DESCRIPTION 🌸

So here's the vibe: s6-softlimit parses its options and sets process (soft) resource limits accordingly. That's it. That's the job. πŸ’…

And listen β€” a value of '=' for any option means "set that limit to the hard limit". Super handy shortcut, iykyk. 🫢

Real talk though: depending on your operating system, an option may do nothing. Not being shady, it's just how the OSes are. πŸ™ˆ

When s6-softlimit has modified all the limits successfully, it executes into prog.... Like, it becomes that program. main character energy literally. πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

πŸ’œ Hard limit options

  • -H β€” Set the hard limit (as well as the soft limit). This is only usable by root if you're raising the limit, and should generally not be used, except once at boot time. The "hard limit" should be a system-wide setting that is never touched after being set once. fr fr, leave it alone after that. ⚠️
  • -h β€” Set the hard limit, without touching the soft limit. But heads up bestie: if you're lowering the hard limit to a value that's lower than the current soft limit, the soft limit will be lowered to the new value of the hard limit. It just… comes with you. 😭

πŸ¦‹ Resource selection options

  • -a allmem β€” Limit the total available memory to allmem bytes. πŸ“
  • -c core β€” Limit the core file size to core bytes. πŸ’€
  • -d data β€” Limit the available heap memory to data bytes. 🌈
  • -f fsize β€” Limit the file size to fsize bytes. πŸ“
  • -l lock β€” Limit the available locked memory to lock bytes. πŸ”’
  • -m mem β€” Limit all types of memory to mem bytes. the everything bagel of memory limits πŸ₯―
  • -o ofiles β€” Limit the number of open fds to ofiles. πŸŽ€
  • -P prio β€” Limit the real-time priority to prio. ⭐
  • -p proc β€” Limit the number of processes to proc (per user). πŸ‘―
  • -r res β€” Limit the available physical memory to res bytes. 🧚
  • -s stack β€” Limit the available stack memory to stack bytes. πŸ“š
  • -t cpusecs β€” Limit the available CPU time to cpusecs seconds. ⏱️

🌟 SEE ALSO 🌟

the whole squad, go say hi πŸ‘‹

This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-softlimit.html β€” go read the source of truth if you want the full lore πŸ’–


πŸŽ€ AUTHORS πŸŽ€

  • Laurent Bercot
  • Alexis <flexibeast@gmail.com> (man page port)

giving credit where credit is due, periodt πŸ‘‘


mwah πŸ’‹ this page came to you from Debian, dated December 6, 2025 β€” that's the source/version and the date, bestie, noted for the record. now go set some limits and slay βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from