When I attempt to add a sender email account I receive the following error.
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception
File "/opt/rockstor/src/rockstor/storageadmin/views/email_client.py", line 175, in post
File "/opt/rockstor/src/rockstor/system/services.py", line 64, in systemctl
return run_command([SYSTEMCTL_BIN, switch, service_name])
File "/opt/rockstor/src/rockstor/system/osi.py", line 107, in run_command
Exception: Exception while running command(['/usr/bin/systemctl', 'restart', 'postfix']): [Errno 24] Too many open files
@djevo1 Hello again.
So all we see here is a “Too many open files” on a harmless, and possibly unrelated, restart of postfix. Could it be your system disk is suffering from inode or file descriptor exhaustion?
Also there is
(list open files) to see if something is hogging a tone of the file handlers:
and for file descriptor limit
We have also had the following observation, but only by a single contributor:
If you could add anything, ie via confirming the same finding etc, to that bug report then please do.
The reporter assumed our front end was PHP but the finding looks sound, just not sure just yet of what causes the open file count ‘leak’.
Sorry this is a bit vague but I’ve only come across this myself once before and I think that was inode related and was way before Rockstor. Probably a file handler leak in your case though.