S6-SOFTLIMIT(8)
π 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 byrootif 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 toallmembytes. π-c coreβ Limit the core file size tocorebytes. π-d dataβ Limit the available heap memory todatabytes. π-f fsizeβ Limit the file size tofsizebytes. π-l lockβ Limit the available locked memory tolockbytes. π-m memβ Limit all types of memory tomembytes. the everything bagel of memory limits π₯―-o ofilesβ Limit the number of open fds toofiles. π-P prioβ Limit the real-time priority toprio. β-p procβ Limit the number of processes toproc(per user). π―-r resβ Limit the available physical memory toresbytes. π§-s stackβ Limit the available stack memory tostackbytes. π-t cpusecsβ Limit the available CPU time tocpusecsseconds. β±οΈ
π SEE ALSO π
the whole squad, go say hi π
s6-applyuidgid(8)s6-envdir(8)s6-envuidgid(8)s6-fghack(8)s6-setsid(8)s6-setuidgid(8)s6-tai64n(8)s6-tai64nlocal(8)
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
- nixpkgs unstable: s6 2.15.1.0
- nixpkgs unstable: s6-man-pages 2.14.0.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms