Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exceptional situation for CPUMonitor #301

Open
roscisz opened this issue Nov 3, 2020 · 0 comments
Open

Exceptional situation for CPUMonitor #301

roscisz opened this issue Nov 3, 2020 · 0 comments
Labels

Comments

@roscisz
Copy link
Owner

roscisz commented Nov 3, 2020

Exception in thread MonitoringService_Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/tensorhive/TensorHive/tensorhive/core/utils/StoppableThread.py", line 18, in run
    self.do_run()
  File "/home/tensorhive/TensorHive/tensorhive/core/services/MonitoringService.py", line 41, in do_run
    monitor.update(self.connection_manager.connections, self.infrastructure_manager)
  File "/home/tensorhive/TensorHive/tensorhive/core/monitors/CPUMonitor.py", line 23, in update
    metrics[uuid]['metrics']['utilization'] = {'unit': '%', 'value': float(stdout_lines[0])}
ValueError: could not convert string to float: 'Mem:         257868       45346       49578          24      162943      210254'
@roscisz roscisz added the bug label Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant