[Bug 801396] New: frequently running into Out of memory while building ceph
https://bugzilla.novell.com/show_bug.cgi?id=801396 https://bugzilla.novell.com/show_bug.cgi?id=801396#c0 Summary: frequently running into Out of memory while building ceph Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dalgaaf@suse.com QAContact: adrian@suse.com Found By: --- Blocker: --- I run frequently into "Out of memory" while building ceph on different distributions in the openSUSE buildservice (e.g. home:dalgaaf:ceph/ceph). Message e.g. from openSUSE Factory: [...] [ 7731s] CXX libosd_a-Ager.o [ 7737s] CXX libosd_a-OSD.o [ 7801s] CXX libosd_a-OSDCap.o [ 7908s] [ 7887.157027] Out of memory: Kill process 21582 (cc1plus) score 302 or sacrifice child [ 7908s] [ 7887.160479] Killed process 21582 (cc1plus) total-vm:976420kB, anon-rss:817296kB, file-rss:488kB [ 7910s] g++: internal compiler error: Killed (program cc1plus) [ 7910s] Please submit a full bug report, [ 7910s] with preprocessed source if appropriate. [ 7910s] See <http://bugs.opensuse.org/> for instructions. Message e.g. from Fedora 16: [ 4620s] #source='osd/OSD.cc' object='libosd_a-OSD.o' libtool=no [ 4621s] g++ -DHAVE_CONFIG_H -I. -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include/nss3 -I/usr/include/nspr4 -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE -rdynamic -Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith -fno-strict-aliasing -DCEPH_LIBDIR=\"/usr/lib64\" -Wnon-virtual-dtor -Wno-invalid-offsetof -Wstrict-null-sentinel -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o libosd_a-OSD.o `test -f 'osd/OSD.cc' || echo './'`osd/OSD.cc [23923s] [23884.140839] Out of memory: Kill process 16496 (cc1plus) score 257 or sacrifice child [23923s] [23884.141715] Killed process 16496 (cc1plus) total-vm:814048kB, anon-rss:174272kB, file-rss:104kB [23959s] {standard input}: Assembler messages: [23959s] {standard input}:506095: Warning: end of file in string; '"' inserted [24299s] g++: internal compiler error: Killed (program cc1plus) [24299s] Please submit a full bug report, [24299s] with preprocessed source if appropriate. [24299s] See <http://bugzilla.redhat.com/bugzilla> for instructions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801396 https://bugzilla.novell.com/show_bug.cgi?id=801396#c1 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Adrian Schröter <adrian@suse.com> 2013-01-31 08:24:23 UTC --- You can configure a minimum required memory via a _constraints file. You can also see how much memory the build job needed on last successful build in the _statistics file as part of the build results. Please see the docu on www.openbuildservice.org about this. In any case not an OBS bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801396 https://bugzilla.novell.com/show_bug.cgi?id=801396#c2 --- Comment #2 from Danny Al-Gaaf <dalgaaf@suse.com> 2013-01-31 08:44:33 UTC --- If this isn't a bug, then please provide a hint about _constraints ff the process was killed due to OOM. I guess OBS would be able to parse the build log and provide an hint to solve the issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801396 https://bugzilla.novell.com/show_bug.cgi?id=801396#c3 Danny Al-Gaaf <dalgaaf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #3 from Danny Al-Gaaf <dalgaaf@suse.com> 2013-02-02 17:27:01 UTC --- I've added a _constraints file to the package, but it seems as if it's not working. I still get build errors due to OOM. This is the _constraints file content: <constraints> <hardware> <memory> <size unit="G">3</size> </memory> </hardware> </constraints> This is what _statistics show for the failing build host: CentOS-6 (x86_64): -------- [...] <memory> <usage> <size unit="M">2818</size> </usage> </memory> -------- Looks to me as if the VM didn't get the requested 3 GByte memory? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=801396 https://bugzilla.novell.com/show_bug.cgi?id=801396#c4 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #4 from Adrian Schröter <adrian@suse.com> 2013-02-25 13:40:20 UTC --- the constraints ensure that the VM has 3GB. But the kernel needs also memory, so, 2.8 GB sounds reasonable. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com