Hey folks, I added a couple of drives and started a balance last Friday. I noticed that it was proceeding slowly so I shutdown the rockons service and just let it run.
Last night (Sunday), I noticed that I was receiving lots of errors just trying to navigate the Web UI, and that one CPU core was maxed at 100%, and when I was eventually able to load the status page, it showed only 9% complete!
So, I poked around on here and found Balance is really disruptive - running the command quoted there to disable quotas helped the CPU load and greatly sped up the balance - this morning it had gone from 9% to > 50% complete.
However, but I’m still experiencing a lot of issues while just trying to navigate the web UI. Different commands and urls lead to the issues, but they basically all boil down to either “[Errno 24] Too many open files” or else nondescript “unknown internal errors.” (Presumably those are also be due to too many files errors.)
Here’s a couple of examples:
Houston, we’ve had a problem.
Exception while running command([‘/usr/bin/hostnamectl’, ‘–static’]): [Errno 24] Too many open filesTraceback (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 760, in gethostname o, e, rc = run_command([HOSTNAMECTL, '--static']) File "/opt/rockstor/src/rockstor/system/osi.py", line 107, in run_command raise Exception(msg) Exception: Exception while running command(['/usr/bin/hostnamectl', '--static']): [Errno 24] Too many open files
or
Houston, we’ve had a problem.
Unknown internal error doing a GET to /api/shares?page=1&format=json&page_size=5000&count=&sortby=name
Lots of different commands and URLs get one of those errors, but it seems pretty consistent - like 4/5 refreshes get an error rather than actually displaying the page I want.
Is this a common / known issue, or is it something specific to my server?