- Server operating system version
- CentOS Linux 7.9.2009 (Core)
- Plesk version and microupdate number
- 18.0.67 #1
Having strange problems with any operations that plesk queues , the task manager appears to be trying to run a task with an ID that does not exist in the longtasks table, furthermore, the config file the plesk-task-manager service is trying to use does not exist!
The result is that operations like deleting domains, saving domain settings etc all appear to be hanging.
What actually appears to be happening is that when a task is completed the plesk-task-manager service never gets the message and waits for the task to complete.
For example plesk-task-manager was hanging on a non existent task 31411 - no matching ID in the longtasks database
I deleted 2 subdomains, tasks 31412 & 31414 - they remained with a status of not_started
at which point the process list shows
I added a subdomain at this point and one of the domain delete tasks completed 31412
Now the plesk-task-manager service appears to be hanging on task on 31421 - which does not exist.
So:
- plesk-task-manager service appears to be hanging waiting for tasks to complete (I'm assuming the missing IDs are completed tasks that never notified the service)
- the config file
- the service seems to run some tasks while not others - since creating a subdomain works and leaves gaps in the longtasks id column
- restarting the plesk-task-manager service has no effect, it attempts to run the missing tasks again.
What is happening here and how does it get fixed?
The result is that operations like deleting domains, saving domain settings etc all appear to be hanging.
What actually appears to be happening is that when a task is completed the plesk-task-manager service never gets the message and waits for the task to complete.
For example plesk-task-manager was hanging on a non existent task 31411 - no matching ID in the longtasks database
I deleted 2 subdomains, tasks 31412 & 31414 - they remained with a status of not_started
at which point the process list shows
/usr/bin/sw-engine -c /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/plib/scripts/task-async-executor.php -task-id 31411
I added a subdomain at this point and one of the domain delete tasks completed 31412
Now the plesk-task-manager service appears to be hanging on task on 31421 - which does not exist.
So:
- plesk-task-manager service appears to be hanging waiting for tasks to complete (I'm assuming the missing IDs are completed tasks that never notified the service)
- the config file
/usr/local/psa/admin/conf/task-manager.yml
does not exist- the service seems to run some tasks while not others - since creating a subdomain works and leaves gaps in the longtasks id column
- restarting the plesk-task-manager service has no effect, it attempts to run the missing tasks again.
What is happening here and how does it get fixed?