celery.beat Removing corrupted schedule file

Posted on

Hi I'm having the following error in the tower log file in /var/log/tower

2019-12-05 13:33:44,606 WARNING awx.main.dispatch scaling up worker pid:38169
2019-12-05 13:33:44,608 ERROR celery.beat Removing corrupted schedule file '/var/lib/awx/beat.db': error(11, 'Resource temporarily unavailable')
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/celery/beat.py", line 485, in setup_schedule
self._store = self._open_schedule()
File "/var/lib/awx/venv/awx/lib64/python3.6/site-packages/celery/beat.py", line 475, in _open_schedule
return self.persistence.open(self.schedule_filename, writeback=True)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/shelve.py", line 243, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/shelve.py", line 227, in init
Shelf.init(self, dbm.open(filename, flag), protocol, writeback)
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/dbm/init.py", line 94, in open
return mod.open(file, flag, mode)
_gdbm.error: [Errno 11] Resource temporarily unavailable

So as per the known issues resolution defined in the documentation of ansible tower, I delete the /var/lib/awx/beat.db manually and removed restart the service. But still it's there. I believe due to this my ansible tower is not working. I'm receiving a bad request error and I have set up the ansible tower behind NGINX.

What can cause this issue ??