This occurs because fork/vfork/clone system calls numbers are aliased on
this system, so these slipped through the detection of these and we get
fork bombing.  I've added forking limitation rlimits and CPU limiting as
well as more intelligent fork/vfork/clone system call detection before
system call time and also detection of child generations post-system
call to avoid these fork bomb conditions.

Two fixes were required and have been pushed to the repo:

http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=94d7b0a34e5208cc9b0d5287c6e2f5349694f176
http://kernel.ubuntu.com/git/cking/stress-ng.git/commit/?id=d01abd84f03f65e5303746eee7b318675c04827c

I've tested these and they seem to address this issue.  Do you mind
testing this and then we can close this bug.


** Changed in: stress-ng (Ubuntu)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753705

Title:
  stress-ng will make an Ubuntu on LPAR s390x Bionic system become very
  slow

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1753705/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to