Moderator
t-p
(@t-p)
WordPress documentation has some general recommendations for you at https://wordpress.org/support/article/optimization/
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?
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.
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.
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.