• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

El buscador satura el admin-ajax

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › El buscador satura el admin-ajax

This topic is: not resolved

Tagged: Admin-ajax

  • This topic has 12 replies, 5 voices, and was last updated 5 years, 10 months ago by [email protected].
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • February 18, 2020 at 8:51 pm #496815
    Athemis
    Participant

    Hola,
    Utilizo la plantilla Metro Pro, y hace unas semanas le he puesto el buscador nativo de WordPress. Desde entonces, he excedido los recursos de la web y Google me ha penalizado por ello.
    Me acabo de dar cuenta de que era el buscador el que saturaba el admin-ajax. ¿Hay algún fragmento de código para evitar que esto ocurra?
    Gracias de antemano.
    Un saludo

    February 19, 2020 at 7:47 am #496823
    Victor Font
    Moderator

    I don't now what you mean when you say your site has exceeded the resources of the web. There is no such thing. If anything, you host has imposed limits on your site and your site has exceeded your host's limits. If your host will not increase your resource limits, move your site to a different host.

    Ahora no entiendo a qué te refieres cuando dices que tu sitio ha excedido los recursos de la web. No existe tal cosa. En todo caso, su host ha impuesto límites en su sitio y su sitio ha excedido los límites de su host. Si su host no aumentará sus límites de recursos, mueva su sitio a un host diferente.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 19, 2020 at 10:15 am #496829
    Athemis
    Participant

    Quizás no me expliqué bien. Quise decir que mi sitio ha excedido los límites de mi host, y eso me volvería a suceder aunque lo trasladara a otro host, ya que el problema lo tengo en el buscador que satura el admin-ajax.
    Cada vez que un usuario hace una búsqueda, el buscador realiza un exceso de peticiones. Por lo que no sé si alguien conoce alguna forma de evitarlo. Quizás se solucionaría poniendo un delay de unos segundos y que se resetee cada vez. ¿Pero cómo podría hacer esto último? Si alguien tiene una solución mejor o sabe la respuesta, lo agradecería mucho.

    February 19, 2020 at 12:50 pm #496831
    Victor Font
    Moderator

    Lo siento. Eso no es algo en lo que pueda ayudarlo. Es un problema de host que no tiene nada que ver con Genesis Framework o su tema StudioPress. ¡Buena suerte!


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    March 17, 2020 at 8:20 am #497379
    [email protected]
    Member

    I have same problem.
    I'm testing Navigation Pro.
    I have a site with an Themeforest template. I have no problem with CPU usage.

    I change my template, I set the Navigation Pro theme and after a while the CPU usage increase over the limit.

    Ok I use a shared server, but with Avada Template CPU usage is ok (under under 4000) with Navigation Pro is over over 4000s.

    Assistance Hosting suggest me to limit heartbeat (I do) and optimize database (I do). But But I still have this problem about CPU usage.

    Hosting said me the most executed script is this
    http://ideedituttounpo.it/wp-admin/admin-ajax.php

    Assistance said that "the script is executed from your website IP, which means that some feature of your website application executes it:
    POST /wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=2f8dac95de HTTP/1.0" 504 247 "https://www.ideedituttounpo.it/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=2f8dac95de" "WordPress/5.3.2; https://www.ideedituttounpo.it"

    Assistance say "the "action" string can possibly point out the feature that spawns those processes". So I'd like to know what can I have to correct bacause I can't find it.

    Today I restored my old Avada version, in desperation, but Id like to resolve the problem because I paid the template and I like navigation Pro

    March 17, 2020 at 4:15 pm #497390
    [email protected]
    Member

    Hi Athemis, on facebook group, Victor Font solved my problem. I paste here the solution:

    The as_async_request_queue_runner action is a WooCommerce action. There is only one place in Navigation Pro where any AJAX action is invoked. It is in the notice-update.js file that is part of the theme's WooCommerce support functions. I suggest commenting out the loading of the WooCommerce support files. The files are loaded in functions.php at lines 47, 50, and 53 respectively.
    // Adds WooCommerce support.
    require_once get_stylesheet_directory() . '/lib/woocommerce/woocommerce-setup.php';
    // Includes the Customizer CSS for the WooCommerce plugin.
    require_once get_stylesheet_directory() . '/lib/woocommerce/woocommerce-output.php';
    // Includes notice to install Genesis Connect for WooCommerce.
    require_once get_stylesheet_directory() . '/lib/woocommerce/woocommerce-notice.php'

    Thank you to Victor Font.

    March 18, 2020 at 5:46 am #497398
    Nick
    Participant

    If your sites are running WooCommerce, it sounds like the WooCommerce Action Scheduler is running tasks in the background (because of as_async_request_queue_runner in the admin-ajax URLs).

    Navigation Pro and other StudioPress themes do not use the WooCommerce Action Scheduler directly, but actions can be scheduled when you switch to a new theme (which triggers thumbnail regeneration if WooCommerce is active) or update WooCommerce. CPU usage should drop once the actions are complete.

    You can try to find out what actions are running or complete by visiting WooCommerce -> Status -> Scheduled Actions.

    It would also be worth contacting WooCommerce support for help investigating continued high CPU usage due to WooCommerce actions: https://woocommerce.com/contact-us/

    March 19, 2020 at 5:57 am #497413
    [email protected]
    Member

    After the solution suggested by Victor, problem came back.
    I don't have Woocommerce so I can't visiting Woocommerce status.

    I think it is inappropriate to contact support. What could I ask them? I don' have and i don't use Woocommerce.

    If template called Woocommerce could be a Navigation Pro template.
    Anyone has this problem or anyone use Navigation Pro with other hosting? (not Siteground)

    I'll try to contact StudioPress

    March 19, 2020 at 6:54 am #497415
    [email protected]
    Member

    I opened a ticket for StudioPress.
    I will let you know

    March 19, 2020 at 7:44 am #497416
    Nick
    Participant

    Thank you for the extra information about not running WooCommerce.

    Other plugins sometimes use the same “Action Scheduler” (https://actionscheduler.org/ ) feature that WooCommerce uses.

    If you installed any plugins since switching to Navigation Pro, those could be triggering the requests and high CPU load.

    You could work with your host to disable plugins one at a time to see which one is responsible for the high CPU load.

    March 20, 2020 at 6:17 am #497426
    [email protected]
    Member

    I found the problem.
    I used plugin "Query Monitor" who show me what was the plugin responsible for the high CPU load.

    Now I deactivated this plugin, I wrote to the plugin support but now my site run and the CPU load is normal from yesterday

    March 20, 2020 at 3:59 pm #497430
    AnitaC
    Keymaster

    Can you share which plugin it was?


    Need help with customization or troubleshooting? Reach out to me.

    March 21, 2020 at 4:20 am #497439
    [email protected]
    Member

    Hi Anita, yes, the plugin was WPform but plugin support told me will be all ok with next update.

    But they don't wrote when will release next update

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble