Server goes down when editing with cornerstone

Hey,
I have a big issue which I cannot get solved:
Everytime when I start editing a page with cornerstone, the server goes down.
The first few changes are shown in the live preview. The next ones not. The console gives me these error messages:
POST https://mydomain.com/cornerstone-endpoint 500
POST https://mydomain.com/wp-admin/admin-ajax.php 503

I already cleared my cache, disabled caching plugins but nothing helped yet… Any idea what this could be?

I just found the issue. It was the caching.

Just exclude “cornerstone-endpoint” from the caching and all works fine. Still needs lot of server resources but it is stable again.

I am still facing issues with cornerstone…
There is fired one request to “cornerstone-endpoint” everytime I press a key. So if I enter text, there are lot of requests which causes high load on my server. Can I somehow limit the requests or send one after x seconds of not pressing a key?

Hi There @BigMike85

Thanks for writing in! Could you please try following our general troubleshooting guidelines below and see if you can isolate the issue. Most possible causes are due to caching or plugin conflicts. Also check your PHP version and memory limit.

  1. Ensure everything is up to date according to our version compatibility list here. Please follow the best practices when updating your theme and plugins. Click here for more information.
  2. Go to X > Settings and click on the Clear Style Cache button.
  3. If you’re using a CDN, please clear the CDN’s cache and disable optimization services.
  4. Test for a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
  5. Remove custom CSS and Javascript from the Theme Options or Child Theme and test the case.
  6. Reset your htaccess file by renaming it to .htaccess-bak. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.

If you still have problems kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Let us know how it goes.
Thank you.

I tried all your points and checked the ressources. Looks all fine.
In the meanwhile I checked more ressources and found this post: https://theme.co/apex/forums/topic/urgent-cornerstone-breaking-the-servers/

I increased the time of the filter cornerstone_render_debounce. But it seems like this one is ignored completely. If I set it to 1000, cornerstone still fires one request on every single keypress immediatelly.

Are there any other filters I can change to limit the requests of cornerstone-endpoint or admin-ajax.php?

Hello Mike,

Thanks for updating the thread.

Can you please share the login details in secure note, I would like to take a closer look at the server to see what’s actually going on?

Please share WordPress admin user name, password and FTP credentials for us to investigate the problem.

Thanks.

Hey @BigMike85,

The thread you followed will not work anymore. This is a currently known issue. Please see the latest response from our lead developer in this thread: https://theme.co/apex/forum/t/major-performance-issue-with-admin-ajax-php/45589/9?u=christian_y

Please stay tuned for updates.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.