• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Tasks in progress bug.

Desarrollo LIV

New Pleskian
Hello!

When I execute a task in the plesk panel, appears a popup with the following:

101e6ef590.png


But I can't remove it, I have that popup 2 weeks and I don't know how to disable it.

Please, I need help with it.

Thanks in advance.
 
Hello,

I have the same problem, and despite many various manipulation (process stops, many restarts), the problem persists

Anyone has had this problem?

Thanks !
 
Hi Maxime Carrillo,

pls. consider to investigate the current pid - file for the task and kill the pid with the command "kill -9 PID-NUMBER" over your command line. Afterwards, pls. logout from your current Plesk Control Panel session and login again to see, if the issue/problem still exists.

Another way could be to restart psa ( "service psa restart" ) over the command line, or as last "fast and dirty" tip, you could consider to restart your server.
 
Hi and thank you for your reply
How to find the pid number for the tasks ?
With ps -x but how to recognize which one is good ? I have 5 tasks in progress and all are kept at 0 %
Thanks you
 
Hi Maxime Carrillo,

have a look at the example image on the first post... you actually can see parts of the commands over your Plesk Control Panel. Use "ps aux | grep PART_OF_THE_COMMAND" to identify the pid(s) which have to be killed.
 
Hi Mr,
After many psa restart and hard reboot for my dedicated server, I still have the same sh*t :

WbkHpbs.png


If I do ps aux, I have this :
Code:
1         Ss     1:16 /sbin/init
    2         S      0:00 [kthreadd]
    3         S      0:17 [ksoftirqd/0]
    5         S<     0:00 [kworker/0:0H]
    7         S     20:40 [rcu_sched]
    8         S      0:00 [rcu_bh]
    9         S      0:00 [migration/0]
   10         S      0:00 [migration/1]
   11         S      0:13 [ksoftirqd/1]
   13         S<     0:00 [kworker/1:0H]
   14         S      0:00 [migration/2]
   15         S      0:13 [ksoftirqd/2]
   17         S<     0:00 [kworker/2:0H]
   18         S      0:00 [migration/3]
   19         S      0:13 [ksoftirqd/3]
   21         S<     0:00 [kworker/3:0H]
   22         S      0:06 [migration/4]
   23         S      0:44 [ksoftirqd/4]
   25         S<     0:00 [kworker/4:0H]
   26         S      0:05 [migration/5]
   27         S      0:40 [ksoftirqd/5]
   29         S<     0:00 [kworker/5:0H]
   30         S      0:04 [migration/6]
   31         S      0:25 [ksoftirqd/6]
   33         S<     0:00 [kworker/6:0H]
   34         S      0:04 [migration/7]
   35         S      0:31 [ksoftirqd/7]
   37         S<     0:00 [kworker/7:0H]
   38         S<     0:00 [khelper]
   39         S      0:00 [kdevtmpfs]
   40         S<     0:00 [netns]
   41         S<     0:00 [writeback]
   42         SN     0:00 [ksmd]
   43         S<     0:00 [kintegrityd]
   44         S<     0:00 [bioset]
   45         S<     0:00 [crypto]
   46         S<     0:00 [kblockd]
   48         S<     0:00 [ata_sff]
   49         S      0:00 [khubd]
   50         S<     0:00 [md]
   51         S<     0:00 [edac-poller]
   52         S<     0:00 [rpciod]
   54         S<     0:00 [kvm-irqfd-clean]
  130         S      0:07 [kswapd0]
  131         S      0:00 [fsnotify_mark]
  132         S<     0:00 [nfsiod]
  133         S<     0:00 [cifsiod]
  134         S      0:00 [jfsIO]
  135         S      0:00 [jfsCommit]
  136         S      0:00 [jfsCommit]
  137         S      0:00 [jfsCommit]
  138         S      0:00 [jfsCommit]
  139         S      0:00 [jfsCommit]
  140         S      0:00 [jfsCommit]
  141         S      0:00 [jfsCommit]
  142         S      0:00 [jfsCommit]
  143         S      0:00 [jfsSync]
  144         S<     0:00 [xfsalloc]
  145         S<     0:00 [xfs_mru_cache]
  146         S<     0:00 [xfslogd]
  147         S<     0:00 [ocfs2_wq]
  148         S<     0:00 [user_dlm]
  149         S<     0:00 [glock_workqueue]
  150         S<     0:00 [delete_workqueu]
  151         S<     0:00 [gfs_recovery]
  182         S<     0:00 [kthrotld]
  188         S      0:41 [nvme]
  189         S<     0:00 [nvme]
  190         S<     0:00 [bioset]
  191         S<     0:00 [drbd-reissue]
  194         S<     0:00 [iscsi_eh]
  195         S      0:00 [scsi_eh_0]
  196         S<     0:00 [scsi_tmf_0]
  197         S<     0:00 [fw_event0]
  200         S<     0:00 [poll_0_status]
  202         S      0:00 [scsi_eh_1]
  203         S<     0:00 [scsi_tmf_1]
  204         S      0:00 [scsi_eh_2]
  205         S<     0:00 [scsi_tmf_2]
  206         S      0:00 [scsi_eh_3]
  207         S<     0:00 [scsi_tmf_3]
  208         S      0:00 [scsi_eh_4]
  209         S<     0:00 [scsi_tmf_4]
  210         S      0:00 [scsi_eh_5]
  211         S<     0:00 [scsi_tmf_5]
  212         S      0:00 [scsi_eh_6]
  213         S<     0:00 [scsi_tmf_6]
  217         S<     0:00 [bond0]
  218         S<     0:00 [bnx2x]
  219         S<     0:00 [ixgbe]
  220         S<     0:00 [mlx4]
  221         S<     0:00 [vfio-irqfd-clea]
  222         S<     0:00 [kpsmoused]
  224         S<     0:00 [raid5wq]
  225         S<     0:00 [bcache]
  226         S<     0:00 [bch_btree_io]
  227         S<     0:00 [dm_bufio_cache]
  228         S<     0:00 [kmpathd]
  229         S<     0:00 [kmpath_handlerd]
  230         S<     0:00 [ipv6_addrconf]
  231         S<     0:00 [ceph-msgr]
  232         S<     0:00 [bioset]
  233         S<     0:00 [deferwq]
  234         S<     0:00 [bioset]
  235         S      1:03 [md2_raid1]
  236         S<     0:44 [kworker/4:1H]
  237         S<     0:00 [bioset]
  238         S      5:17 [md1_raid1]
  239         S     11:27 [jbd2/md1-8]
  240         S<     0:00 [ext4-rsv-conver]
  347         S      0:00 upstart-udev-bridge --daemon
  352         Ss     0:00 /lib/systemd/systemd-udevd --daemon
  639         S<     0:00 [kworker/2:1H]
  656         S      0:32 [jbd2/md2-8]
  657         S<     0:00 [ext4-rsv-conver]
  834         Ss     0:00 dbus-daemon --system --fork
  863         Ss     0:01 /lib/systemd/systemd-logind
  908         Ssl   13:15 rsyslogd
  918         S      0:00 upstart-file-bridge --daemon
  926         S      0:00 upstart-socket-bridge --daemon
1001 tty4     Ss+    0:00 /sbin/getty -8 38400 tty4
1004 tty5     Ss+    0:00 /sbin/getty -8 38400 tty5
1014 tty2     Ss+    0:00 /sbin/getty -8 38400 tty2
1015 tty3     Ss+    0:00 /sbin/getty -8 38400 tty3
1017 tty6     Ss+    0:00 /sbin/getty -8 38400 tty6
1031         Ss     0:01 /usr/sbin/xinetd -dontfork -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
1040         Ss     0:09 cron
1042         Ss     0:00 atd
1068         Ss     3:53 /usr/sbin/irqbalance
1146         Ss     0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
1148         Ssl   49:13 /usr/sbin/named -t /var/named/run-root -c /etc/named.conf -u bind -n 2
1183         Ss     0:01 /usr/sbin/dovecot -c /etc/dovecot/dovecot.conf
1198         S      0:00 dovecot/anvil
1199         S      0:00 dovecot/log
2733         Ss     0:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
2788 tty1     Ss+    0:00 /sbin/getty -8 38400 tty1
2840         Ss     0:02 /usr/sbin/sshd -D
2940         S<     0:24 [kworker/6:1H]
3091         S      0:18 sw-engine-fpm: pool plesk                                                                           
3917         Sl     2:16 /usr/sbin/apache2 -k start
4219         S<     0:31 [kworker/7:1H]
4668         S<     0:38 [kworker/5:1H]
4830         Ss     0:00 sshd: root@pts/2   
4849         S      0:17 sw-engine-fpm: pool plesk                                                                           
4961 pts/2    Ss     0:00 -bash
5183         S      0:00 /usr/bin/python -Estt /opt/psa/admin/sbin/pmmcli_daemon
5324         S      0:15 sw-engine-fpm: pool plesk                                                                           
6018         S      0:03 [kworker/3:1]
6245         S      0:00 pickup -l -t fifo -u -c
7108         S      0:12 [kworker/1:1]
7342         S      0:00 [kworker/u16:1]
7621         S      0:00 smtp -n plesk-XXX.XXX.XXX.XXX- -t unix -o smtp_bind_address=XXX.XXX.XXX.XXX -o smtp_bind_address6= -o smtp_address_preference=ipv4
7721         S      0:00 bounce -z -n defer -t unix -u -c
7722         S      0:00 php-fpm: pool XXXXXXX.com                                              
7723         S      0:00 php-fpm: pool YYYYYYYY.com                                  
7724 pts/2    R+     0:00 ps ax
7725 pts/2    S+     0:00 awk -v p=COMMAND|PID|USER NR==1 {n=index($0, p); next} {print substr($0, n)}
7897         S      0:00 [kworker/7:1]
7947         Ss     0:45 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)                   
8648         S      0:07 [kworker/6:0]
12184         S      0:00 /bin/sh /usr/bin/mysqld_safe
12226         S      0:01 [kworker/5:1]
12554         Sl     4:03 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
13255         S      0:00 nginx: master process /usr/sbin/nginx
13257         S      0:06 nginx: worker process
15791         S      0:01 /usr/sbin/apache2 -k start
15795         Sl     1:58 /usr/sbin/apache2 -k start
15796         Sl     2:12 /usr/sbin/apache2 -k start
16900         S      0:06 [kworker/3:2]
17226         S      0:06 [kworker/4:0]
17450         Ss     0:00 sw-cp-server: master process /usr/sbin/sw-cp-serverd
17451         S      0:00 sw-cp-server: worker process
17457         S      0:24 [kworker/7:2]
18302         Ss     0:00 sw-engine-fpm: master process (/etc/sw-engine/sw-engine-fpm.conf)                                   
19021         S      0:01 [kworker/4:2]
19313         S      0:12 [kworker/6:2]
20706         S      0:01 [kworker/0:1]
21356         S      0:05 [kworker/2:2]
22438         Ssl    0:40 /usr/lib/plesk-9.0/psa-pc-remote -p inet:[email protected] -P /run/psa-pc-remote.pid -u postfix -g popuser
23743         S      0:00 dovecot/config
23745         S      0:00 dovecot/auth
23746         S      0:00 dovecot/ssl-params
26534         Ss     6:20 /usr/lib/postfix/master
26536         S     35:35 qmgr -l -t fifo -u
26822         Ss     0:11 /usr/sbin/apache2 -k start
27300         S      0:09 tlsmgr -l -t unix -u -c
29344         S<     0:00 [kworker/3:1H]
29568         S<     0:00 [kworker/1:1H]
29574         S<     0:00 [kworker/0:1H]
31170         S      0:01 [kworker/0:2]
31288         S      0:01 [kworker/2:1]
31723         S      0:01 [kworker/1:0]
31877         S      0:05 [kworker/5:2]
32564         S      0:00 [kworker/u16:2]

I'm unable to find the good process, I tried so many

Thanks you !
 
Try to find these tasks in the output of

mysql> select * from longtasks;

and remove them from this table.
 
Hi Igor thanks you for your reply, It worked fine !
But when I want to export the dump of a database again, It's always stuck at 0% :(
The number of tables and size are calculated : Tables: 305 Size: 245 MB, but each tasks in progress doesn't work
Do you have an idea ?

Thanks again
 
Try to do it through phpmyadmin instead of "Import Dump" in Plesk interface.
 
Hi there,
I have quite the same problem with Maximme. I have clicked the "check and repair" button, just for test what will happen in my database. But now I have three tasks that are running for two weeks. I have already tried to restart the server, plesk, or to find something typing ps aux. Can anyone help me?
I uploaded also a screenshot. Thanks a lot...!
 

Attachments

  • screen.jpg
    screen.jpg
    72.3 KB · Views: 13
Hi,
You can remove the task by finding it on Plesk database : mysql> select * from long tasks;
But if you start one again, they still not working and looping forever…
 
You can't even start it ?
Sometimes I have Error 504 from nginx, but I don't know why and tried every possible solution from Google, never succeed…
You have an error ?
 
Yes all tasks are run in looping without error.

I must to stop tasks which are running manually.

I think that the better is to reinstall plesk !

Sorry for my bad english !
 
Back
Top