Add a New Comment Rich Markup
Naming: Should the options be called --limit-X instead: --limit-cpu (alias --limit-load) --limit-net --limit-mem (alias --limit-ram) --limit-net All with alias: --l-X This way the will be close in the man page.
Computations are allowed: 5/2k = 2500 100/3% = 33% If using % it must be the last char.
Negative values: -5 means: Compute what 100% means. Subtract 5 from that. E.g. --memlimit -5G means keep 5GBytes free. Default values: You can leave out values for a,b,c,d,e. No a = disable stop spawning jobs No b = disable suspending jobs No c = ? No d = disable killing jobs No e = ? So this is valid: --memlimit :-10G:-5G:: meaning: Start suspending at 10GB free RAM. All but one suspended at 5GB free RAM. Which is the same as --memsuspend 5G. So this is valid: --memlimit -10G:::-10G:-5G meaning: Don't start new processes at 10GB free RAM. Start killing at 10GB free RAM. All but one killed at 5GB free RAM. Which is the same as --memfree 10G.
--loadlimit a:b:c:d:e --memlimit a:b:c:d:e --netlimit a:b:c:d:e --iolimit a:b:c:d:e a = stop spawning new jobs b = start suspending jobs c = all but one job suspended d = start killing jobs e = all but one job killed Numbers can be given as actual numbers or percent. Load is calculated similar to –jobs: 100% means a load average of one per CPU thread. 10 means a load average of 10. Mem is calculated as bytes or as percentage of physical ram: 5G means 5GBytes, 70% means 70% of memory used. IO is calculated as bytes/sec or as percentage business: 90% means busy 90% of the time, 10M means 10Mbytes I/O per second Net is calculated as bytes/sec or as percentage of bandwidth: 90% means 90% of the bandwidth, 10M means 10Mbits/s per second Net needs to know the total bandwidth. It can be done by --netlimit config=10M to set the total bandwidth to 10Mbits/s. --netlimit config=auto will try to autodetect the bandwidth using speedtest, fast, wget. https://phoenixnap.com/kb/linux-network-speed-test
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Copyright © 2024 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Page source code
Powered by Savane 3.13-02a9.Corresponding source code