• Since WP 6.0 server has been hitting resource limits quite frequently, partial fix was obtained by dealing with the Heartbeat issue, extending the time interval in the ajax.php function.

    One problem remains which suggests another problem, when editing the search function often drives the server into resource limit. When applying a link, entering an item to search in the box, the circle often does not appear, but a message to create the url shows up in the results box. Then the server hits limits, nothing works.

    Interestingly, searching from home page of blog is fine, does not cause server hang ups or resource limits, searching in media library, often slow, but rarely causes a problem.

    Something is wrong in with the search box in applying link in editor [block editor].

    • This topic was modified 2 years, 12 months ago by t-p.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    WordPress documentation has some general recommendations for you at https://wordpress.org/support/article/optimization/

    Thread Starter willburpig

    (@willburpig)

    This is not an optimization issue for website performance. This is specific to internals of WP in the editing function, where the search function in the link box fails to operate correctly often locking up the editor and hitting resource limit, CPU.

    What limits are set on the hosting that you are concerned about? Is it not possible to increase these limits?

    Thread Starter willburpig

    (@willburpig)

    the host is not the problem. the cpu gets overwhelmed, faults, signals resource limit. set the ajax (heartbeat) timer out to 300, dropped the load on the cpu without any performance issues.

    only issue is while editing, everything is fine until using the add link function, then then things go nuts. really looks like a search/database/sql problem, but nothing shows up in the server logs to identify it. Obviously WP software issue.

    Symptoms are highlighting text, click on add link, type in search box, rotating circle fails to appear or appears then disappears, then + create url message … then lock up, resource limit, wait a bit, or close out, then come back in later, little cpu storm is over, things back to normal….might eve work correctly a few times, then blows up.

    You mean the CPU of the system you are working on, i.e. where your browser is running? I don’t experience what you describe on any of my WordPress installations, which is why I find it a bit strange.

    Thread Starter willburpig

    (@willburpig)

    the host server cpu exceeds resource limit, faults. the issue is always associated with a search function from within wp editor, usually the link function.

    yes, very strange. why would the little disk thing not show up and spin on searching for another blog post.

    Thread Starter willburpig

    (@willburpig)

    my host has determined that the block editor issues a large number of process requests which hit the Entry Process limit. The search function in the link box is pretty slow, piling up the requests, triggering resource limit. Suggestion is to change the editor … block back to classic seems the only option. Other option is to pay for greater server resources, which is pointless as the server is fine for hosting, it just can’t handle the editor processing for some strange reason that only started after WP 6.0 update.

    Comments welcome.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Link Search – resource limit’ is closed to new replies.