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

Bug 77123

Summary: It would be nice to be able to limit resources consumed by emerge
Product: Community Relations Reporter: Frédéric Souchon <fraifrai>
Component: Developer RelationsAssignee: Gentoo Community Relations Team <comrel>
Status: VERIFIED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frédéric Souchon 2005-01-08 03:48:39 UTC
While using gentoo as workstation it is uncomfortable when emerge uses 100% CPU ans 100% memory.

Could an option be included to allow the end user to limit CPU and memory dedicated to emerge?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-01-08 03:55:00 UTC
Use PORTAGE_NICENESS in /etc/make.conf.
Comment 2 Frédéric Souchon 2005-01-08 04:00:42 UTC
Ok, this should limit CPU resource consumption but what about memory alloction which is the greatest problem :)
Comment 3 Frédéric Souchon 2005-01-08 04:08:59 UTC
I reopen the bug (I forgot to do so): It would be nice to enable to limit the ammount of memory usable by portage. 
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-01-08 04:12:26 UTC
Merge daemontools and use the softlimit command if you need to limit memory.
Comment 5 Frédéric Souchon 2005-01-08 04:15:46 UTC
Thanks