From a log file on a retracer:
2016-05-31 23:35:54,068:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Processing.
2016-05-31 23:35:54,268:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Decompressing to /tmp/tmpklv_4u-swift.b3b81708-2779-11e6-9984-fa163ebeb28a.oopsid.core
2016-05-31 23:35:55,884:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Retracing b3b81708-2779-11e6-9984-fa163ebeb28a:swift
2016-05-31 23:38:40,957:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Removing /srv/daisy.ubuntu.com/production/cache/Ubuntu 16.04/cache-k7C7iv/sandbox
2016-05-31 23:38:41,023:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Apport's return code was 1.
2016-05-31 23:38:41,023:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Installing extra package korganizer to get ExecutablePath
2016-05-31 23:38:41,023:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Traceback (most recent call last):
2016-05-31 23:38:41,023:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/srv/daisy.ubuntu.com/production/apport/bin/apport-retrace", line 301, in <module>
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: options.dynamic_origins)
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/srv/daisy.ubuntu.com/production/apport/apport/sandboxutils.py", line 228, in make_sandbox
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: architecture=report.get('Architecture'), origins=origins)
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/srv/daisy.ubuntu.com/production/apport/apport/packaging_impl.py", line 1020, in install_packages
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: out = subprocess.check_output(['dpkg-deb', '--show', i.destfile]).decode()
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/usr/lib/python3.2/subprocess.py", line 515, in check_output
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: process = Popen(*popenargs, stdout=PIPE, **kwargs)
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/usr/lib/python3.2/subprocess.py", line 745, in __init__
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: restore_signals, start_new_session)
2016-05-31 23:38:41,024:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/usr/lib/python3.2/subprocess.py", line 1197, in _execute_child
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: restore_signals, start_new_session, preexec_fn)
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:OSError: [Errno 12] Cannot allocate memory
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Installing extra package korganizer to get ExecutablePath
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Traceback (most recent call last):
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/srv/daisy.ubuntu.com/production/apport/bin/apport-retrace", line 301, in <module>
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: options.dynamic_origins)
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/srv/daisy.ubuntu.com/production/apport/apport/sandboxutils.py", line 228, in make_sandbox
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: architecture=report.get('Architecture'), origins=origins)
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/srv/daisy.ubuntu.com/production/apport/apport/packaging_impl.py", line 1020, in install_packages
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: out = subprocess.check_output(['dpkg-deb', '--show', i.destfile]).decode()
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/usr/lib/python3.2/subprocess.py", line 515, in check_output
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: process = Popen(*popenargs, stdout=PIPE, **kwargs)
2016-05-31 23:38:41,025:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/usr/lib/python3.2/subprocess.py", line 745, in __init__
2016-05-31 23:38:41,026:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: restore_signals, start_new_session)
2016-05-31 23:38:41,026:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: File "/usr/lib/python3.2/subprocess.py", line 1197, in _execute_child
2016-05-31 23:38:41,026:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift: restore_signals, start_new_session, preexec_fn)
2016-05-31 23:38:41,026:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:OSError: [Errno 12] Cannot allocate memory
2016-05-31 23:38:41,032:20177:139696962541312:INFO:root:b3b81708-2779-11e6-9984-fa163ebeb28a:swift:Retrace failed (1), moving to failed queue.
2016-05-31 23:38:41,113:20177:139696962541312:INFO:root:Shutting down.
2016-05-31 23:38:41,616:3172:140530383775488:INFO:root:Running revision number: 708 with sandbox_dir /srv/daisy.ubuntu.com/production/cache, gdb 7.10.90.20160215-0ubuntu3~~0.IS.12.04.0.
Traceback (most recent call last):
File "/srv/daisy.ubuntu.com/production/daisy/daisy/retracer.py", line 1354, in <module>
main()
File "/srv/daisy.ubuntu.com/production/daisy/daisy/retracer.py", line 1339, in main
failed=options.failed)
File "/srv/daisy.ubuntu.com/production/daisy/daisy/retracer.py", line 143, in __init__
universal_newlines=True)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1143, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
2016-05-31 23:38:42,863:3172:140530383775488:INFO:root:Shutting down.
Traceback (most recent call last):
File "/srv/daisy.ubuntu.com/production/daisy/daisy/retracer.py", line 1354, in <module>
main()
File "/srv/daisy.ubuntu.com/production/daisy/daisy/retracer.py", line 1332, in main
msg += ", gdb %s." % check_output(["dpkg-query", "--show", "-f${Version}", "gdb"]).decode()
File "/usr/lib/python2.7/subprocess.py", line 537, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1143, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
2016-05-31 23:38:43,368:3178:139663877138176:INFO:root:Shutting down.
I discovered multiple retracers that were down this morning and their log files eneded with ImpotErrors and allocating memory after the OSErrors. An example:
Traceback (most recent call last): ubuntu. com/production/ daisy/daisy/ retracer. py", line 1354, in <module> ubuntu. com/production/ daisy/daisy/ retracer. py", line 1319, in main oops_cfg = oops_dictconfig .config_ from_dict( config. oops_config) pymodules/ python2. 7/oops_ dictconfig/ dictconfig. py", line 98, in config_from_dict factory( publisher_ defn) pymodules/ python2. 7/oops_ dictconfig/ dictconfig. py", line 45, in _datedir_ repo_from_ defn python2. 7/dist- packages/ oops_datedir_ repo/__ init__. py", line 34, in <module> repo.repository import DateDirRepo python2. 7/dist- packages/ oops_datedir_ repo/repository .py", line 35, in <module> python2. 7/dist- packages/ oops_datedir_ repo/serializer .py", line 36, in <module> python2. 7/lib-dynload/ bz2.so: failed to map segment from shared object: Cannot allocate memory 068:11939: 140016601495296 :INFO:root: Shutting down.
File "/srv/daisy.
main()
File "/srv/daisy.
retracer_
File "/usr/lib/
publish_method = publisher_
File "/usr/lib/
from oops_datedir_repo import DateDirRepo
File "/usr/lib/
from oops_datedir_
File "/usr/lib/
import serializer
File "/usr/lib/
import bz2
ImportError: /usr/lib/
2016-05-31 18:57:22,