KSA
Well-known member
We have noticed lately that there is high cpu usage and after digging up here and there we found that xf_job could be the source of this issue. we keep getting There are manual rebuild jobs awaiting completion in the ACP and the site is very slow, posts are being duplicated.
Is it ok to empty/truncate the table? also when running the rebuild though ACP it starts the process by "deleting user..1" and start deleting users! is that something we should worry about? I have no idea what users are being deleted and why!
mysqladmin processlist
Code:
mysqladmin processlist
+----------+--------------+-----------+--------------+---------+------+--------------------------+------------------------------------------------------------------------------------------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+----------+--------------+-----------+--------------+---------+------+--------------------------+------------------------------------------------------------------------------------------------------+----------+
| 1 | system user | | | Daemon | | InnoDB purge coordinator | | 0.000 |
| 2 | system user | | | Daemon | | InnoDB purge worker | | 0.000 |
| 3 | system user | | | Daemon | | InnoDB purge worker | | 0.000 |
| 4 | system user | | | Daemon | | InnoDB purge worker | | 0.000 |
| 5 | system user | | | Daemon | | InnoDB shutdown handler | | 0.000 |
| 10641893 | database_name | localhost | database_name | Execute | 15 | query end | UPDATE `xf_job` SET `trigger_date` = ?, `last_run_date` = ? WHERE job_id = ? AND trigger_date = ? | 0.000 |
| 10641917 | database_name | localhost | database_name | Execute | 8 | update | INSERT INTO `xf_thread_read` (`thread_id`, `user_id`, `thread_read_date`) VALUES (?, ?, ?) ON DUPLI | 0.000 |
| 10641956 | root | localhost | | Query | 0 | init | show processlist | 0.000 |
+----------+--------------+-----------+--------------+---------+------+--------------------------+------------------------------------------------------------------------------------------------------+----------+
Is it ok to empty/truncate the table? also when running the rebuild though ACP it starts the process by "deleting user..1" and start deleting users! is that something we should worry about? I have no idea what users are being deleted and why!