Skip to content

RQD fails to collect frame stats #1307

@lithorus

Description

@lithorus

Describe the bug
While the frame is rendering it RQD fails to collect proc stats

To Reproduce
Steps to reproduce the behavior:

  1. Submit job
  2. Look on proc stats
  3. See that is stays on 0K

Expected behavior
Procs should update with stats

RQD Trace log

Exception in thread Thread-31:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 1378, in run
    self.function(*self.args, **self.kwargs)
  File "/opencue-0.22.14/lib/python3.10/site-packages/rqd-0.22.14-py3.10.egg/rqd/rqcore.py", line 713, in updateRss
    self.machine.rssUpdate(self.__cache)
  File "/opencue-0.22.14/lib/python3.10/site-packages/rqd-0.22.14-py3.10.egg/rqd/rqmachine.py", line 284, in rssUpdate
    if re.search(r"\d+", child_statm_fields[0]) else -1
  File "/usr/lib/python3.10/re.py", line 200, in search
    return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object

Version Number
0.22.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions