Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2022 05:25:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264701] sysutils/py-salt: OSError: [Errno 12] Cannot allocate memory (originated from sysctlbyname('vfs.bufspace'))
Message-ID:  <bug-264701-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264701

            Bug ID: 264701
           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
          Assignee: krion@FreeBSD.org
             Flags: maintainer-feedback?(krion@FreeBSD.org)

Main host is running FreeBSD 14.0-CURRENT #11 master-n256063-e50e40684aa: F=
ri
Jun 10 11:15:24 CEST 2022 amd64. sysutils/py-salt is hosted by a jail on th=
at
specific host with the very same OS version. sysutils/py-salt is run with
standard flavour, so Python 3.8 is in effect.

Since a couple of days for now, I'm bugged by the following error preventing
saltstack to work:

[...]
# salt '*' pkg.upgrade
Traceback (most recent call last):
  File "/usr/local/bin/salt", line 33, in <module>
    sys.exit(load_entry_point('salt=3D=3D3004.1', 'console_scripts', 'salt'=
)())
  File "/usr/local/lib/python3.8/site-packages/salt/scripts.py", line 515, =
in
salt_main
    import salt.cli.salt
  File "/usr/local/lib/python3.8/site-packages/salt/cli/salt.py", line 6, in
<module>
    import salt.utils.job
  File "/usr/local/lib/python3.8/site-packages/salt/utils/job.py", line 8, =
in
<module>
    import salt.minion
  File "/usr/local/lib/python3.8/site-packages/salt/minion.py", line 21, in
<module>
    import salt.beacons
  File "/usr/local/lib/python3.8/site-packages/salt/beacons/__init__.py", l=
ine
10, in <module>
    import salt.loader
  File "/usr/local/lib/python3.8/site-packages/salt/loader/__init__.py", li=
ne
14, in <module>
    import salt.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'))
[...]

and checking vfs.bufspace reveals nothing abnormal

root@saltstack:/usr/local/etc/salt # sysctl vfs.bufspace
vfs.bufspace: 1626828800

--=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-264701-7788>