DeepSea node runs out of memory and / or root filesystem disk space
This document (7022654) is provided subject to the disclaimer at the end of this document.
SUSE Enterprise Storage 5
2018-01-15 15:20:51,512 [salt.utils.process][ERROR ] An un-handled exception from the multiprocessing process 'Maintenance-18' was caught:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/salt/utils/process.py", line 647, in _run
File "/usr/lib/python2.7/site-packages/salt/master.py", line 240, in run
File "/usr/lib/python2.7/site-packages/salt/daemons/masterapi.py", line 193, in clean_old_jobs
File "/usr/lib/python2.7/site-packages/salt/returners/local_cache.py", line 430, in clean_old_jobs
File "/usr/lib64/python2.7/shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "/usr/lib64/python2.7/shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "/usr/lib64/python2.7/shutil.py", line 250, in rmtree
OSError: [Errno 13] Permission denied: '/var/cache/salt/master/jobs/6d/431cfbd8dccac414c625deb28178aed3c7625fdc5765849dda1897e039c114/jid'
/usr/bin/find /var/cache/salt/master/jobs/ -type f -mtime +1 -delete 2>&1 | logger -t salt-jobs
/usr/bin/find /var/cache/salt/master/jobs/ -type f -mtime +1 | xargs /usr/bin/rm 2>&1 | logger -t salt-jobs
The above will find all files older than one day and remove them, logging any errors to "/var/log/messages" with a "salt-jobs" entry.
StatusReported to Engineering
chown -R salt:salt /var/cache/salt/master/jobs/*
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7022654
- Creation Date:12-FEB-18
- Modified Date:12-FEB-18
- NovellSUSE Enterprise Storage
Did this document solve your problem? Provide Feedback