Univention Bugzilla – Bug 42784
AppCenter: OSError: [Errno 12] Cannot allocate memory
Last modified: 2021-06-21 13:28:28 CEST
Version: 4.1-3 errata318 (Vahr) Execution of command 'appcenter/query' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 283, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 189, in query if not self._test_for_docker_service(): File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 206, in _test_for_docker_service if not docker_is_running(): File "%PY2.7%/univention/appcenter/utils.py", line 94, in docker_is_running return call_process(['invoke-rc.d', 'docker', 'status']).returncode == 0 File "%PY2.7%/univention/appcenter/utils.py", line 166, in call_process process = Popen(args, stdout=PIPE, stderr=PIPE, bufsize=1, close_fds=True, env=env) File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1153, in _execute_child self.pid = os.fork() OSError: [Errno 12] No se pudo asignar memoria OSError: [Errno 12] Cannot allocate memory
Version: 4.1-4 errata389 (Vahr) Execution of command 'appcenter/query' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 281, in execute function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 189, in query self.update_applications() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 216, in update_applications update.call_safe() File "%PY2.7%/univention/appcenter/actions/__init__.py", line 177, in call_safe return cls.call(**kwargs) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 185, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 191, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/update.py", line 79, in main json_apps = self._load_index_json() File "%PY2.7%/univention/appcenter/actions/update.py", line 347, in _load_index_json (rc, gpg_error) = gpg_verify(index_json_gz_filename, detached_sig_path) File "%PY2.7%/univention/appcenter/utils.py", line 381, in gpg_verify p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE, close_fds=True) File "/usr/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1153, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory
Version: 4.1-4 errata406 (Vahr) Traceback(d96d0c2a9f96a0607a471c57b694b9c8): Traceback (most recent call last): File "%PY2.7%/univention/management/console/protocol/modserver.py", line 271, in handle self.__handler.init() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 153, in init self.uu = UniventionUpdater(False) File "%PY2.7%/univention/updater/tools.py", line 578, in __init__ self.architectures = [os.popen('dpkg --print-architecture 2>/dev/null').readline()[:-1]] OSError: [Errno 12] Cannot allocate memory
Reported again, 4.2-1 errata99 (Lesum) Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 249, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 196, in query if not self._test_for_docker_service(): File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 231, in _test_for_docker_service if not docker_is_running(): File "%PY2.7%/univention/appcenter/utils.py", line 118, in docker_is_running return call_process(['invoke-rc.d', 'docker', 'status']).returncode == 0 File "%PY2.7%/univention/appcenter/utils.py", line 221, in call_process process = Popen(args, stdout=PIPE, stderr=PIPE, bufsize=1, close_fds=True, env=env) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child self.pid = os.fork() OSError: [Errno 12] Nicht genügend Hauptspeicher verfügbar
Reported again, 4.2-1 errata131 (Lesum)
External feedback: UCS Version: 4.2-3 errata311 (Lesum) Interner Server-Fehler in "appcenter/query". Request: appcenter/query Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 197, in query if not self._test_for_docker_service(): File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 232, in _test_for_docker_service if not docker_is_running(): File "/usr/lib/pymodules/python2.7/univention/appcenter/utils.py", line 118, in docker_is_running return call_process(['invoke-rc.d', 'docker', 'status']).returncode == 0 File "/usr/lib/pymodules/python2.7/univention/appcenter/utils.py", line 223, in call_process process = Popen(args, stdout=PIPE, stderr=PIPE, bufsize=1, close_fds=True, env=env) File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child self.pid = os.fork() OSError: [Errno 12] Nicht genügend Hauptspeicher verfügbar
Reported again: Version: 4.3-2 errata291 (Neustadt) Internal server error during "appcenter/components/query". Request: appcenter/components/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 1020, in components_query self.get_updater().ucr_reinit() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 182, in get_updater self._uu = UniventionUpdater(False) File "%PY2.7%/univention/updater/tools.py", line 721, in __init__ self.architectures = [os.popen('dpkg --print-architecture 2>/dev/null').readline()[:-1]] OSError: [Errno 12] Cannot allocate memory Role: domaincontroller_master
Reported again: Version: 4.3-2 errata287 (Neustadt) Internal server error during "appcenter/query". Request: appcenter/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 212, in query if not self._test_for_docker_service(): File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 246, in _test_for_docker_service if not docker_is_running(): File "%PY2.7%/univention/appcenter/utils.py", line 118, in docker_is_running return call_process(['invoke-rc.d', 'docker', 'status']).returncode == 0 File "%PY2.7%/univention/appcenter/utils.py", line 226, in call_process process = Popen(args, stdout=PIPE, stderr=PIPE, bufsize=1, close_fds=True, env=env) File "/usr/lib/python2.7/subprocess.py", line 390, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 916, in _execute_child self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory Role: domaincontroller_master
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
reported again: Version: 4.4-1 errata241 (Blumenthal) Traceback(469ffe32b8c9b6fca03962901400e8ba): Interner Server-Fehler in "appcenter/components/query". Request: appcenter/components/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 260, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 1041, in components_query self.get_updater().ucr_reinit() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 182, in get_updater self._uu = UniventionUpdater(False) File "%PY2.7%/univention/updater/tools.py", line 838, in __init__ self.architectures = [os.popen('dpkg --print-architecture 2>/dev/null').readline()[:-1]] OSError: [Errno 12] Nicht genügend Hauptspeicher verfügbar Role: domaincontroller_master
Version: 4.4-8 errata992 (Blumenthal) Error: Internal server error during "appcenter/components/query". Request: appcenter/components/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling six.reraise(etype, exc, etraceback) File "%PY2.7%/univention/management/console/base.py", line 262, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 1095, in components_query self.get_updater().ucr_reinit() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 183, in get_updater self._uu = UniventionUpdater(False) File "%PY2.7%/univention/updater/tools.py", line 901, in __init__ self.architectures = [os.popen('dpkg --print-architecture 2>/dev/null').readline()[:-1]] OSError: [Errno 12] Cannot allocate memory Role: domaincontroller_master