• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question plesk-task-manager use 100% CPU all time

MariuszB

Basic Pleskian
Server operating system version
AlmaLinux 9.4
Plesk version and microupdate number
18.0.63 #4
Plesk task manager takes 100% all the time. I wonder how can I find why it's do that?

psaadm 3358139 111 0.2 3083652 177736 ? Ssl 10:44 4:55 /usr/libexec/plesk-task-manager --config /usr/local/psa/admin/conf/task-manager.yml --data /var/lib/plesk/task-manager

In longtask table I have no any stucked tasks. In panel.log I didn't find something interesting.
 
Task manager control all Plesk tasks and the high usage can be caused by quite a lot of reasons, such as improper configuration, excessive number of tasks running, stuck processes, etc. Could you please check /var/log/plesk/task-manager.log and provide the latest entries and errors if present?
 
No errors in this log file. Today task manager have lower load about 50%. Maybe something big was to do.

INFO 2024/09/09 17:01:01 task=441865 process=335295 trace=1461322:66df0dad4f207 Starting as 'run-plesk-task-335295.service' systemd unit with command: [/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/DailyMaintainance/task-script.php ReportProductAgreement --period=hourly]
INFO 2024/09/09 17:01:01 task=441864 process=335294 Finished with exit code 0 and 'success' status in 755.588111ms, unit finished in 256.467ms
INFO 2024/09/09 17:01:02 task=441866 process=335296 trace=1461322:66df0dad4f207 Starting as 'run-plesk-task-335296.service' systemd unit with command: [/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/DailyMaintainance/task-script.php AutoresponderEndDate --period=hourly]
INFO 2024/09/09 17:01:02 task=441865 process=335295 Finished with exit code 0 and 'success' status in 1.10934176s, unit finished in 237.726ms
INFO 2024/09/09 17:01:02 task=441867 process=335297 trace=1461322:66df0dad4f207 Starting as 'run-plesk-task-335297.service' systemd unit with command: [/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/DailyMaintainance/task-script.php UpgradePanel --period=hourly]
INFO 2024/09/09 17:01:02 task=441866 process=335296 Finished with exit code 0 and 'success' status in 463.054714ms, unit finished in 262.347ms
INFO 2024/09/09 17:01:02 task=441868 process=335298 trace=1461322:66df0dad4f207 Starting as 'run-plesk-task-335298.service' systemd unit with command: [/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/DailyMaintainance/task-script.php LoadCustomizations --period=hourly]
INFO 2024/09/09 17:01:02 task=441867 process=335297 Finished with exit code 0 and 'success' status in 826.612191ms, unit finished in 276.944ms
INFO 2024/09/09 17:01:03 task=441868 process=335298 Finished with exit code 0 and 'success' status in 1.135831949s, unit finished in 226.337ms
INFO 2024/09/09 17:17:02 task=441869 process=335299 trace=1467729:66df116e5d91c Starting as 'run-plesk-task-335299.service' systemd unit with command: [/usr/local/psa/admin/bin/php /usr/local/psa/admin/plib/scripts/task-async-executor.php -task-id 22241]
INFO 2024/09/09 17:17:34 task=441869 process=335299 Finished with exit code 0 and 'success' status in 32.485228248s, unit finished in 31.965174s
 
Back
Top