Hello, I have Rockstor stable version 3.9.2-51 (subscriber to Stable updates) running several shares all with scheduled BTRFS snapshots (hourly).
Brief description of the problem
Before some time, task scheduler started to report “errors” for the scheduled BTRFS snapshot tasks. This was solved by Rockstor restart. But recently another problem arised: After login, I always receive this error:
<strong>Houston, we've had a problem.</strong>
Exception while running command(['/usr/bin/hostnamectl', '--static']): [Errno 24] Too many open files
Detailed step by step instructions to reproduce the problem
After restart, when I deactivate all scheduled tasks, everythink seems to be OK, but when I re-enable then and wait several days, then this error occurs.
Web-UI screenshot
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/appliances.py", line 41, in get_queryset
self._update_hostname()
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/decorators.py", line 145, in inner
return func(*args, **kwargs)
File "/opt/rockstor/src/rockstor/storageadmin/views/appliances.py", line 48, in _update_hostname
cur_hostname = gethostname()
File "/opt/rockstor/src/rockstor/system/osi.py", line 778, in gethostname
o, e, rc = run_command([HOSTNAMECTL, '--static'])
File "/opt/rockstor/src/rockstor/system/osi.py", line 112, in run_command
'Exception while running command({}): {}'.format(cmd, e))
Exception: Exception while running command(['/usr/bin/hostnamectl', '--static']): [Errno 24] Too many open files