MarcelC
Forum Replies Created
-
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckDonβt close the issue as your team is still working on it!
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuck4 months later and still no optimized query?
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuck@wpmudevsupport12 @wpmudev-support8
Had your hosting increased the buffer size for a test?
Itβs self hosting, I added the buffer size and indeed it all works now. However the setting is not persistent (docker) and none of the many applications using this MySQL needed it before.
I guess the real solution is to optimize the query.
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuck@wpmudevsupport12 and @wpmudev-support8 any update on this?
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckHi @wpmudevsupport12 I contacted the developers of the platform we use, this is their answer:
I haven’t seen this error or mysql variable before. Reading through some other project issues like https://github.com/mozilla/addons-server/issues/15970 , it seems this happens when one tries to order by a field which is not index. In the query above, I guess last_check_attempt is not indexed. Can you ask the dev to maybe make an index. I think otherwise, the fix is to order with the primary key or some other indexed key.
It seems your config of the query and table/index could fix it and then you’ll make more of your users/customers happy!
- This reply was modified 5 years, 3 months ago by MarcelC.
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckAlthough it is still running, the first error appears in the debug log and it seems related:
[redacted]
[09-Apr-2021 07:42:38 UTC] PHP Warning: mysqli_query(): (HY001/1038): Out of sort memory, consider increasing server sort buffer size in /***/***/public/wp-includes/wp-db.php on line 2056 [09-Apr-2021 07:42:38 UTC] WordPress databasefout Out of sort memory, consider increasing server sort buffer size bij query SELECT DISTINCT links.* FROM wp_blc_links AS links INNER JOIN wp_blc_instances AS instances USING(link_id) WHERE ( ( last_check_attempt < '2021-03-30 07:42:38' ) OR ( (broken = 1 OR being_checked = 1) AND may_recheck = 1 AND check_count < 3 AND last_check_attempt < '2021-04-09 07:12:38' ) ) AND ( instances.container_type IN ('comment', 'post', 'page', 'dummy') ) AND ( instances.parser_type IN ('link', 'image', 'metadata', 'url_field', 'acf') ) ORDER BY last_check_attempt ASC LIMIT 30 gemaakt door include('phar:///***/***/wp/php/boot-phar.php'), include('phar:///***/***/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Cron_Event_Command->run, Cron_Event_Command::run_event, do_action_ref_array('blc_cron_check_links'), WP_Hook->do_action, WP_Hook->apply_filters, wsBrokenLinkChecker->cron_check_links, wsBrokenLinkChecker->work, wsBrokenLinkChecker->get_links_to_checkForum: Plugins
In reply to: [Broken Link Checker] Link check gets stuck@wpmudev-support8 thanks for your advice.
I just switched on DEBUG and restarted the link check.
I do have a kind of Firewall: Wordfence. However on the other site I tested is also Wordfence but again there where only 51 posts instead of 18k+ π
Will update in a few hours.
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckWP_MEMORY_LIMIT 1024M
WP_MAX_MEMORY_LIMIT 1024MForum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckImmediately after your response 15 hours ago I changed the setting, this is the result after 15 hours:
1 niet-werkende link gevonden
2975 URL’s in de wachtrij
4781 unieke URL’s in 6681 links gevonden.So my conclusion is, and also based on https://wordpress.org/support/topic/how-long-does-it-take-to-work-2/ that the plug-in doesn’t work on a website with 18k+ posts. @mttindustries-1 and @memt-network are your issues in above link solved?
Settings:
Check each link: 240 hours
Timeout: 120 seconds
Link monitor: only Run hourly in the background
Max. execution time: 600 seconds
Server load limit: 1.00 (average load is 0.5 on a 10 Core AMD Epic!!!!)
Target resource usage: 12%WP: 5.7
Your plug-in is too useful to just uninstall, so please have a close look.
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckAgain 9 hours later:
1 niet-werkende link gevonden
2967 URL’s in de wachtrij
4773 unieke URL’s in 6673 links gevonden.Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuck17 hours later and this is the result:
1 niet-werkende link gevonden
2964 URL’s in de wachtrij
4770 unieke URL’s in 6670 links gevonden.I think we have the same issue as: https://wordpress.org/support/topic/how-long-does-it-take-to-work-2/
It takes too long, even stops working on sites with lots of posts/links?!
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckHi Adam,
thanks for your response!!
I don’t think load is the issue, the site is on a 10 Core AMD Epic server with 64GB memory π
Though I followed your advice, let’s see.
On a separate site/server I installed this plug-in and everything went perfect, the only thing is there are one 51 posts π
Kind regards,
Marcel.
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckAfter almost 11 hours:
Geen niet-werkende links gevonden.
4758 URL’s in de wachtrij
4764 unieke URL’s in 6660 links gevonden.So even worse
Forum: Plugins
In reply to: [Broken Link Checker] Link check gets stuckHi Kasia,
yes, indeed, Run continuously while the Dashboard is open and Run hourly in the background are both enabled.
Check each link: I switched that yesterday evening indeed to a much shorter time and still it got stuck after restart. I’ll try it tonight to set it to 24 hours and let you know.
kind regards,
Marcel
Forum: Plugins
In reply to: [WP REST Cache] No clear cache after new postUpdate performed and looks like all is working as expected!
Thanks again!