OpenCue icon indicating copy to clipboard operation
OpenCue copied to clipboard

RQD fails to collect frame stats

Open lithorus opened this issue 2 years ago • 1 comments

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

lithorus avatar Jul 21 '23 22:07 lithorus

It looks like this is issue is a duplicate of this : #1188 and with a separate pull request (although it fixes other things as well) : #1296

lithorus avatar Aug 01 '23 06:08 lithorus