[opensuse-buildservice] Way to define minimal requirement (ram) for builder
As I'm getting more and more build error due to out of memory condition see osc remotebuildlog home:bruno_friedmann:mapserver64 sfcgal openSUSE_Factory i586 | less I'm looking for a way to define a minimal requirement for the builder (when the build is done on vm started with -m 3000 it finish correctly) Is that kind of definition exist, if yes, where can I setup it (repo,package level?) -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Bruno, In your log, there is [ 95s] + make VERBOSE=1 -j4 If you try to run make -j1, your build may be finished successfully. I know it is not an answer to your question but it is possible workaround. When you use -j4 it means that four gcc (or linker) instances run simultaneously and need four times more ram than single one. 27.12.2013 13:28, Bruno Friedmann пишет:
osc remotebuildlog home:bruno_friedmann:mapserver64 sfcgal openSUSE_Factory i586 | less
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 27 December 2013 18.26:22 Matwey V. Kornilov wrote:
Hi Bruno,
In your log, there is
[ 95s] + make VERBOSE=1 -j4
If you try to run make -j1, your build may be finished successfully. I know it is not an answer to your question but it is possible workaround.
When you use -j4 it means that four gcc (or linker) instances run simultaneously and need four times more ram than single one.
27.12.2013 13:28, Bruno Friedmann пишет:
osc remotebuildlog home:bruno_friedmann:mapserver64 sfcgal openSUSE_Factory i586 | less
yeah could be one things, but then 4 more times to compile. I believe a review of what builder have as default could be another wise smart starting x86_64 with 4vcpu and 1Gb ram sound at least strange. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
27.12.2013 18:40, Bruno Friedmann пишет:
yeah could be one things, but then 4 more times to compile. I believe a review of what builder have as default could be another wise smart
starting x86_64 with 4vcpu and 1Gb ram sound at least strange.
Unfortunately, I don't know whether it possible to configure OMM-killer in such way that it will somehow suspend process instead of killing it? And resume when the memory is below waterline. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
"Matwey V. Kornilov" <matwey.kornilov@gmail.com> writes:
Unfortunately, I don't know whether it possible to configure OMM-killer in such way that it will somehow suspend process instead of killing it? And resume when the memory is below waterline.
That wouldn't help in OOM situations, since suspending doesn't free any resources. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
27.12.2013 18:58, Andreas Schwab пишет:
That wouldn't help in OOM situations, since suspending doesn't free any resources.
The problem is that we can not forecast resources needed by compiler/linker process... Actually, CRIU (Checkpoint/Restore In Userspace) of problematic process would save memory dump to the disk and will free memory this way. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello. _constraints file is that you may like. http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_j... https://build.opensuse.org/package/view_file/openSUSE:Factory/boost/_constra... -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 27 December 2013 18.10:39 Dmitriy Perlow wrote:
Hello. _constraints file is that you may like.
http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_j... https://build.opensuse.org/package/view_file/openSUSE:Factory/boost/_constra...
Dimitri a big thanks, was exactly what I was looking for. -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch openSUSE Member GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Andreas Schwab
-
Bruno Friedmann
-
Dmitriy Perlow
-
Matwey V. Kornilov