Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 563216

Summary: dev-util/ninja-1.6.0: ^z does not suspend child processes
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/martine/ninja/issues/1044
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-16 10:24:56 UTC
I guess upstream considers this a feature and there are cases when it is useful. Nevertheless, it is at least unexpected that ^z suspends only ninja process (i.e. preventing it from spawning more children) but keeps the existing children running.

A possible major problem is when my system goes to heavy swapping. Normally in that case I'd ^z emerge and look for a solution. However, if a process using Ninja is running, the compiler jobs won't be suspended until they finish...
Comment 1 Mike Gilbert gentoo-dev 2015-10-16 14:18:03 UTC
Can you submit an issue or pull request upstream? It looks like there is quite a backlog, but this really should be addressed there regardless.

https://github.com/martine/ninja
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-10-16 14:44:28 UTC
I will try to repro with -9999 first