16000+ Past Due
-
HI all. im going crazy so anuually i do a purge of products by creating a CSV stock file with all the SKU’s and set the stock to Zero and the price to null (blank) so that it will update that SKU to null so once i update stocks that are available it will show me what has still is null is basically end of life and i can then mark them off this method is just easier than checking 1 by 1 14 thousand times.
Now the problem is action schedual has pass due crons so its doing them very slowly but more so its causing MySql to use a LOT of CPU power causing everything to slow down.
Server is a VPS with 8cores 12gb ram and 500gb ssd
I have modified via WHM the inoodb cache to match what the Physical Ram has (2/3rds) so instead of taking 700% cpu and 5% memory its doing less CPU and more memory (now like 15-25%) so back end is a little moveable than before.
My only thought is that the crons are taking waaay too much resource
on WP Control i noticed this
“wt_iew_do_cron_import” shows on Recurrence
This interval is less than theWP_CRON_LOCK_TIMEOUT
constant which is set to 60 seconds. Events that use it may not run on time.and on Scheduled Actions shows this
“Action Scheduler migration in progress. The list of scheduled actions may be incomplete.”whats showing is the following
- All (4198082)
- Complete (661567)
- Pending (16733)
- Failed (3519764)
- Canceled (18)
- Past-due (16733)
Search hook, args and claim ID: Select bulk action
16,733 items? ? Current Page of 1,674 Next page? Last page?
This is records for 3 years mind you it was nearly 18k past-due 2-3 days ago I have put the site on maintanance mode and stop the imports of products and de-activated google ads/facebook/mailchimp hopefully causing it to skip but its still busy going slowly and eating CPU
Under logs on the top (oldest) past due is- 2024-01-03 01:58:30 +0000
action created - 2024-01-04 09:06:36 +0000
action reset - 2024-01-04 09:42:49 +0000
action reset - 2024-01-04 11:13:18 +0000
action reset - 2024-01-04 11:58:25 +0000
action reset - 2024-01-04 12:16:32 +0000
action reset - 2024-01-04 12:25:41 +0000
action reset - 2024-01-04 12:29:38 +0000
action reset - 2024-01-04 12:42:57 +0000
action reset - 2024-01-04 12:57:40 +0000
action reset - 2024-01-04 13:14:09 +0000
action reset - 2024-01-04 13:19:05 +0000
action reset - 2024-01-04 13:31:27 +0000
action reset - 2024-01-04 13:43:50 +0000
action reset
I really need help here I dont know how WP CLI works i have access to WHM and CPanel etc i can modify the config files if have to etc i just need to know what to do.
or do i delete all past due what would happen cause the front page they look right.
- The topic ‘16000+ Past Due’ is closed to new replies.