Yesterday I updated to 3.9.1-15, and right after that was done, the next update appeared. Installed that as well, of course. Since then, I’m getting errors all over the web UI, most seem to be caused by the same problem:
[23/Oct/2017 07:57:43] ERROR [storageadmin.middleware:32] Exception occured while processing a request. Path: /api/commands/refresh-share-state method: POST
[23/Oct/2017 07:57:43] ERROR [storageadmin.middleware:33] Exception while running command(['/sbin/btrfs', 'subvolume', 'list', '-s', '/mnt2/pool1']): [Errno 24] Too many open files
Traceback (most recent call last):
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/views.py", line 452, in dispatch
response = self.handle_exception(exc)
File "/opt/rockstor/eggs/djangorestframework-3.1.1-py2.7.egg/rest_framework/views.py", line 449, in dispatch
response = handler(request, *args, **kwargs)
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/command.py", line 318, in post
import_shares(p, request)
File "/opt/rockstor/src/rockstor/storageadmin/views/share_helpers.py", line 80, in import_shares
shares_in_pool = shares_info(pool)
File "/opt/rockstor/src/rockstor/fs/btrfs.py", line 431, in shares_info
raise
File "/opt/rockstor/src/rockstor/system/osi.py", line 113, in run_command
'Exception while running command({}): {}'.format(cmd, e))
Exception: Exception while running command(['/sbin/btrfs', 'subvolume', 'list', '-s', '/mnt2/pool1']): [Errno 24] Too many open files
Apart from that, everything works just fine, file shares are active, Docker containers humming along, etc. Any idea what might cause this and more importantly, how I’m getting rid of it?
Edit: formatting.