Theme's ajax causes huge load to our server and error 500

Posted in: Newspaper
Post count: 2

Hello,

I installed Newspaper theme to our web server like month ago. We started facing a lot of ajax-load afterwards and our whole server crashed last week. After the crash our site started working again when hosting company restarted some services. After few days problems started again and we are facing Error 500 pages frequently. Hosting company’s support checked error logs and here is part of their reply. Do you know why this is happening?

“The 500+ errors are caused by server load spikes. Basically, the server runs out of free resources and our monitoring system starts killing processes in order to maintain the server’s stability. Example:

Sep 08 00:41:46 xxxxxx: High load (33.15) reached!
Sep 08 00:41:46 xxxxxx: Critical load (33.15) reached! Killing all php,ftp,smtp,mailnull,archivers procs!

Current time:
Tue Sep 8 00:57:59 CDT 2020

I carefully checked the access logs from the time the load spiked and the requests towards the website were a lot. Specifically, there were a lot of admin-ajax.php requests running for the 2 minutes when the load was spiking. The requested URLs are:

1 /wp-admin/admin-ajax.php?action=oembed-cache&post=5949318&_fs_blog_admin=true
1 /wp-admin/admin-ajax.php?action=oembed-cache&post=5949334&_fs_blog_admin=true
2 /wp-admin/admin-ajax.php
[b] 219 /wp-admin/admin-ajax.php?_fs_blog_admin=true
1240 /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=10.3.6.1[/b]

I recommend checking on this either with the theme’ developers or a professional WordPress developer.”

I can give you more details privately if needed. Thanks.

Post count: 132
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.