Date: Wed, 08 Jun 2022 08:43:02 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264532] sysutils/py-salt: OSError: [Errno 12] Cannot allocate memory (originated from sysctlbyname('vfs.bufspace')) Message-ID: <bug-264532-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264532 Bug ID: 264532 Summary: sysutils/py-salt: OSError: [Errno 12] Cannot allocate memory (originated from sysctlbyname('vfs.bufspace')) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: krion@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(krion@FreeBSD.org) Assignee: krion@FreeBSD.org Host is running CURRENT (FreeBSD 14.0-CURRENT #10 master-n256043-ce2525c810= 8: Wed Jun 8 10:07:29 CEST 2022 amd64), the jail in question is hosted on this box and also running the very same OS basis. A jail is operatin as salt-master and salt-master, based upon standard pyth= on 3.8, is failing to start with the error shown beelow. The incident happened= a couple of days ago and out of the blue. Version of salstack: py38-salt-3004.1_1 sysutils/py-salt The hosts's vfs.bufspace: ist set to=20 vfs.bufspace: 28229632 I have no idea whether this is an error/bug related to lang/python38 or sysutils/py-salt, or soemthing to be adapted due to changes in the underlyi= ng OS (CURRENT). I left the settings of the main OS to its default value so far and hope someone could give a hint how to fix this. Thanks, oh [...] Starting salt_master. Traceback (most recent call last): File "/usr/local/bin/salt-master", line 33, in <module> sys.exit(load_entry_point('salt=3D=3D3004.1', 'console_scripts', 'salt-master')()) File "/usr/local/lib/python3.8/site-packages/salt/scripts.py", line 79, in salt_master import salt.cli.daemons File "/usr/local/lib/python3.8/site-packages/salt/cli/daemons.py", line 5= 0, in <module> import salt.utils.parsers File "/usr/local/lib/python3.8/site-packages/salt/utils/parsers.py", line= 24, in <module> import salt.config as config File "/usr/local/lib/python3.8/site-packages/salt/config/__init__.py", li= ne 101, in <module> _DFLT_IPC_WBUFFER =3D _gather_buffer_space() * 0.5 File "/usr/local/lib/python3.8/site-packages/salt/config/__init__.py", li= ne 85, in _gather_buffer_space total_mem =3D psutil.virtual_memory().total File "/usr/local/lib/python3.8/site-packages/psutil/__init__.py", line 19= 68, in virtual_memory ret =3D _psplatform.virtual_memory() File "/usr/local/lib/python3.8/site-packages/psutil/_psbsd.py", line 181,= in virtual_memory mem =3D cext.virtual_mem() OSError: [Errno 12] Cannot allocate memory (originated from sysctlbyname('vfs.bufspace')) /usr/local/etc/rc.d/salt_master: WARNING: failed to start salt_master --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264532-7788>