Victor Sudakov wrote: > > This assumes you're using bash as your shell. > > I am, as you see above. I expect stress-ng to be killed when it tries to > allocate 2G of memory but it's not happening. Can you reproduce your > advice?
Even as root, there is no "Operation not permitted" message, but there is no working limit either: # ulimit -m 1048576 ; stress-ng --vm 1 --vm-bytes 8G stress-ng: info: [10961] defaulting to a 86400 second (1 day, 0.00 secs) run per stressor stress-ng: info: [10961] dispatching hogs: 1 vm stress-ng is not killed. Swap is not enabled on this test host. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet
signature.asc
Description: PGP signature