Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563216 - dev-util/ninja-1.6.0: ^z does not suspend child processes
Summary: dev-util/ninja-1.6.0: ^z does not suspend child processes
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-16 10:24 UTC by Michał Górny
Modified: 2017-05-24 16:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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