Scan starts and freezes after 5-7 seconds
-
I try to scan, but it freezes the browser tab after 5-7 seconds and never recovers. The Cleaner log has nothing, and there is nothing in our PHP error log. I’ve tried reducing the buffer sizes in the settings, even down to 1 and increasing delay time to 500ms. Not sure what is happening that is causing this issue.
-
Hey @implemagician! ??
If your PHP logs appear empty, please check your developer console and your network inspector to ensure there are no issues at that level first.
This could be due to how your WordPress installation is handling API requests. Make sure your WordPress REST API is enabled and running. Also, verify that its endpoint is set to /wp-json/ as this is essential for the plugin to work correctly.
I don’t see any errors in the console, but I do get the following error in Tools->Site Health:
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
When testing the REST API, an error was encountered:
REST API Endpoint: https://blueearthcountyhistory.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (http_request_failed) cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes receivedhttps://blueearthcountyhistory.com/wp-json/wp/v2/posts – this works
I wonder if the freezing might be due to wp_postmeta having so many records (almost 7 million, 435MB data size, 539MB index size), wp_posts has 354k records, 134MB data size, 58.20 MB index size). The site is pretty bloated.
Here is the Site Health Info:
` wp-core version: 6.4.3 site_language: en_US user_language: en_US timezone: America/Chicago permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 8 dotorg_communication: true wp-paths-sizes wordpress_path: /home/bechs/public_html/2084 wordpress_size: 13.99 GB (15021388263 bytes) uploads_path: /home/bechs/public_html/2084/wp-content/uploads uploads_size: 3.07 GB (3291588481 bytes) themes_path: /home/bechs/public_html/2084/wp-content/themes themes_size: 31.99 MB (33548116 bytes) plugins_path: /home/bechs/public_html/2084/wp-content/plugins plugins_size: 405.96 MB (425680527 bytes) database_size: 1.73 GB (1858453504 bytes) total_size: 19.21 GB (20630658891 bytes) wp-active-theme name: Avada Child (avada-child) version: 1.0.0 author: ThemeFusion author_website: https://theme-fusion.com parent_theme: Avada (Avada) theme_features: core-block-patterns, fusion-builder-options, widgets-block-editor, post-thumbnails, title-tag, automatic-feed-links, custom-header, custom-background, woocommerce, wc-product-gallery-zoom, wc-product-gallery-slider, wc-product-gallery-lightbox, post-formats, fusion-builder-demos, menus, align-wide, wp-block-styles, editor-styles, editor-font-sizes, editor-color-palette, widgets, editor-style theme_path: /home/bechs/public_html/2084/wp-content/themes/avada-child auto_update: Disabled wp-parent-theme name: Avada (Avada) version: 7.11.7 author: ThemeFusion author_website: https://themeforest.net/user/ThemeFusion theme_path: /home/bechs/public_html/2084/wp-content/themes/Avada auto_update: Disabled wp-themes-inactive (1) Twenty Twenty-Four: version: 1.1, author: the WordPress team, Auto-updates enabled wp-mu-plugins (2) InfiniteWP - Client Loader: version: 1.0.1, author: Revmakx WP Migrate Lite Compatibility: version: 1.3, author: Delicious Brains wp-plugins-active (44) Advanced Woo Search: version: 3.02, author: ILLID (latest version: 3.04), Auto-updates disabled Akismet Anti-spam: Spam Protection: version: 5.3.2, author: Automattic - Anti-spam Team, Auto-updates enabled Avada Builder: version: 3.11.7, author: ThemeFusion, Auto-updates enabled Avada Core: version: 5.11.7, author: ThemeFusion, Auto-updates enabled Avada Custom Branding: version: 1.2, author: ThemeFusion, Auto-updates disabled CAPTCHA 4WP: version: 7.5.0, author: Melapress, Auto-updates disabled Contact Form 7: version: 5.9.3, author: Takayuki Miyoshi, Auto-updates disabled Contact Form 7 Captcha: version: 0.1.4, author: 247wd, Auto-updates disabled Disable Email Notification for auto-updates: version: 1.0.0, author: ideasToCode, Auto-updates enabled Document Library Pro: version: 1.13.5, author: Barn2 Plugins (latest version: 1.13.6), Auto-updates disabled Donation Thermometer: version: 2.2.5, author: Henry Patton, Auto-updates disabled Email Address Encoder: version: 1.0.23, author: Till Krüss, Auto-updates disabled Export Order Items for WooCommerce: version: 1.0.15, author: WP Zone, Auto-updates disabled FareHarbor for WordPress: version: 3.6.9, author: FareHarbor, Auto-updates disabled FileBird Lite: version: 5.6.3, author: Ninja Team (latest version: 5.6.4), Auto-updates disabled Flamingo: version: 2.5, author: Takayuki Miyoshi, Auto-updates disabled Flexible Shipping: version: 4.24.17, author: Octolize (latest version: 4.24.19), Auto-updates disabled GTM4WP - A Google Tag Manager (GTM) plugin for WordPress: version: 1.20, author: Thomas Geiger (latest version: 1.20.2), Auto-updates disabled InfiniteWP - Client: version: 1.12.5, author: Revmakx, Auto-updates enabled InternetConnections Hosting: version: 0.1, author: Joe Robertson, Auto-updates disabled Jetpack: version: 13.3, author: Automattic, Auto-updates enabled Media Cleaner: version: 6.7.3, author: Jordy Meow, Auto-updates disabled Popup Maker: version: 1.18.5, author: Popup Maker, Auto-updates disabled Redirection: version: 5.4.2, author: John Godley, Auto-updates enabled Remove SKU From Product detail page: version: 1.4.2, author: Prem Tiwari, Auto-updates disabled Simple Banner: version: 2.17.0, author: Ryan Petersen, Auto-updates enabled Simple History: version: 4.13.0, author: P?r Thernstr?m, Auto-updates enabled Site Kit by Google: version: 1.123.1, author: Google, Auto-updates disabled Slider Revolution: version: 6.6.20, author: ThemePunch, Auto-updates disabled Social Media and Share Icons (Ultimate Social Media): version: 2.8.9, author: Inisev, Auto-updates disabled Terminal for Stripe and WooCommerce: version: 2.2.3, author: Arcane Strategies, Auto-updates disabled The Events Calendar: version: 6.3.5, author: The Events Calendar, Auto-updates disabled UpdraftPlus - Backup/Restore: version: 1.24.1, author: UpdraftPlus.Com, DavidAnderson (latest version: 1.24.2), Auto-updates disabled Virtual Robots.txt: version: 1.10, author: Marios Alexandrou, Auto-updates enabled Webba Booking: version: 5.0.35, author: WebbaPlugins (latest version: 5.0.38), Auto-updates disabled WooCommerce: version: 8.7.0, author: Automattic, Auto-updates disabled WooCommerce Product Table: version: 3.1.3, author: Barn2 Plugins, Auto-updates disabled WooCommerce Shipping & Tax: version: 2.5.3, author: WooCommerce (latest version: 2.5.4), Auto-updates disabled WooCommerce Stripe Gateway: version: 8.0.1, author: WooCommerce (latest version: 8.1.1), Auto-updates disabled Wordfence Security: version: 7.11.5, author: Wordfence, Auto-updates enabled WP-Optimize - Clean, Compress, Cache: version: 3.3.1, author: David Anderson, Ruhani Rabin, Team Updraft, Auto-updates enabled WPCode Lite: version: 2.1.10, author: WPCode (latest version: 2.1.11), Auto-updates disabled WP Migrate Lite: version: 2.6.10, author: WP Engine, Auto-updates disabled Yoast SEO: version: 22.4, author: Team Yoast, Auto-updates enabled wp-plugins-inactive (3) bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled Blue Earth County Historical Society: version: 2021.02.12, author: danelleerickson, Auto-updates disabled WooCommerce Blocks: version: 11.7.0, author: Automattic, Auto-updates disabled wp-media image_editor: WP_Image_Editor_Imagick imagick_module_version: 1691 imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org imagick_version: 3.4.4 file_uploads: 1 post_max_size: 100M upload_max_filesize: 100M max_effective_size: 100 MB max_file_uploads: 50 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 6144 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 1 imagick::RESOURCETYPE_TIME: 9.2233720368548E+18 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: 2.3.0 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.53.3 the-events-calendar wp-server server_architecture: Linux 5.10.0-28-cloud-amd64 x86_64 httpd_software: Apache php_version: 7.4.33 64bit php_sapi: cgi-fcgi max_input_variables: 5000 time_limit: 900 memory_limit: 512M max_input_time: 900 upload_max_filesize: 100M php_post_max_size: 100M curl_version: 7.74.0 OpenSSL/1.1.1w suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true current: 2024-04-08T16:24:42+00:00 utc-time: Monday, 08-Apr-24 16:24:42 UTC server-time: 2024-04-08T11:24:33-05:00 wp-database extension: mysqli server_version: 10.5.23-MariaDB-0+deb11u1 client_version: mysqlnd 7.4.33 max_allowed_packet: 16777216 max_connections: 151 wp-constants WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/bechs/public_html/2084/wp-content WP_PLUGIN_DIR: /home/bechs/public_html/2084/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable jetpack site_id: 188826330 ssl_cert: No time_diff: undefined version_option: 13.3:1712169062 old_version: 13.2.2:1711146939 public: Public master_user: #4 danelleerickson is_offline_mode: off is_offline_mode_constant: off current_user: #1 icadmin tokens_set: Blog blog_token: 8Mp@!Z&oHWGijDJ39C)x)6Q8iL4E3aYC user_token: Not set. version: 13.3 jp_plugin_dir: /home/bechs/public_html/2084/wp-content/plugins/jetpack/ plan: free protect_header: false full_sync: {"started":"Tue, 02 Feb 2021 15:41:21 +0000","finished":"Tue, 02 Feb 2021 15:41:41 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"4"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[4],"network_options":true}} sync_size: 1 sync_lag: 5 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/blueearthcountyhistory.com","siteurl":"https:\/\/blueearthcountyhistory.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. google-site-kit version: 1.123.1 php_version: 7.4.33 wp_version: 6.4.3 reference_url: https://blueearthcountyhistory.com amp_mode: no site_status: connected-site user_status: authenticated verification_status: verified-file connected_user_count: 2 active_modules: site-verification, search-console, analytics-4, pagespeed-insights recoverable_modules: none required_scopes: openid: ? https://www.googleapis.com/auth/userinfo.profile: ? https://www.googleapis.com/auth/userinfo.email: ? https://www.googleapis.com/auth/siteverification: ? https://www.googleapis.com/auth/webmasters: ? https://www.googleapis.com/auth/analytics.readonly: ? https://www.googleapis.com/auth/tagmanager.readonly: ? capabilities: googlesitekit_authenticate: ? googlesitekit_setup: ? googlesitekit_view_posts_insights: ? googlesitekit_view_dashboard: ? googlesitekit_manage_options: ? googlesitekit_update_plugins: ? googlesitekit_view_splash: ? googlesitekit_view_authenticated_dashboard: ? googlesitekit_view_wp_dashboard_widget: ? googlesitekit_view_admin_bar_menu: ? googlesitekit_view_shared_dashboard: ? googlesitekit_read_shared_module_data::["search-console"]: ? googlesitekit_read_shared_module_data::["analytics-4"]: ? googlesitekit_read_shared_module_data::["pagespeed-insights"]: ? googlesitekit_manage_module_sharing_options::["search-console"]: ? googlesitekit_manage_module_sharing_options::["analytics-4"]: ? googlesitekit_manage_module_sharing_options::["pagespeed-insights"]: ? googlesitekit_delegate_module_sharing_management::["search-console"]: ? googlesitekit_delegate_module_sharing_management::["analytics-4"]: ? googlesitekit_delegate_module_sharing_management::["pagespeed-insights"]: ? enabled_features: adsModule: ? audienceSegmentation: ? conversionInfra: ? ga4AdSenseIntegration: ? gm3Components: ? search-console_shared_roles: none search-console_management: owner analytics-4_shared_roles: none analytics-4_management: owner pagespeed-insights_shared_roles: none pagespeed-insights_management: all_admins search_console_property: https://blueearthcountyhistory.com/ analytics_4_account_id: 1334????? analytics_4_ads_conversion_id: none analytics_4_property_id: 3617489?? analytics_4_web_data_stream_id: 4814?????? analytics_4_measurement_id: G-QW???????? analytics_4_use_snippet: yes analytics_4_available_custom_dimensions: none
I wonder if the freezing might be due to wp_postmeta having so many records (almost 7 million, 435MB data size, 539MB index size), wp_posts has 354k records, 134MB data size, 58.20 MB index size). The site is pretty bloated.
I should have phrased this better. Is it possible that if the databases for the images are so large that the scan will not work? Would increasing the servers resource even fix this, being so large?
Hey @implemagician! ??
The number of images shouldn’t be a problem as the scan isn’t a single process; it’s done through multiple batches. You can change the settings in the plugin for each of these batches to scan fewer media at once.
Checking your console might not be sufficient; check the network traffic to see what you receive from each request and determine which one is causing an issue.
- The topic ‘Scan starts and freezes after 5-7 seconds’ is closed to new replies.