Pageview count showing wrong, even after ajax view count is on

Posted in: Newsmag
Post count: 30

my website is showing all wrong view count, even after ajax view count is enabled in my website:
http://www.unbelievable-facts.com/2015/02/these-6-living-creatures-are-almost-immortal.html

i cleared all cache before turning it on, as mentioned in it’s description.

please guide me!

Post count: 60

What cache plugin do you use?

Post count: 30

w3 total cache

Post count: 7909

Hi,

I have checked your site and found that you have errors in console: http://screencast.com/t/r0tlqnpO9dit

admin-ajax seems to be blocked, please contact your server administrator and explain the situation.

Thanks!

Post count: 30

@alin Thanks for replying, i contacted my host provider, i am using dedicated server from 24shells.net.
they says when ever huge traffic come to my website, for example 7k people online at 1 time, it create an multiple requests on server and hence create a load on server by increasing cpu usage and server goes down!

so he says, this is the reason we block admin-ajax for other to access using htaccess file.
he send me that links that explain better:
http://www.webhostinghub.com/help/learn/wordpress/heartbeat-admin-ajax-usage

he also says, all wordpress sites with high traffic have this problem, this is some kind of “wordpress issue” not from their server side..

can you please help me out with this? i am sure there must be a solution of it, as million of people using wordpress!

Post count: 1291

Hi,

You can only try to reduce the number of queries by using fewer blocks on page, using cache, optimizing image size (reduces traffic), use fewer plugins (only the really important ones). Also consider cleaning and optimizing database, maybe use a firewall (you may have unwanted traffic which kills your resources).
The view counter increments the count on each page visit, if you have a lot of visitors at one time this can be a problem. If nothing works you may have to consider switching to a better host.

Thank you, Emil G.

Post count: 30

actually i drive traffic from my facebook page, sometimes i get 8k people online at one time, i have done all optimizations what i could, how can hosting company affect it?

Post count: 322

The hosting company affects the situation by blocking the file to protect their server, otherwise the usage wouldn’t necessarily cause a server to go down. They also affect it by the limitations of their hardware (CPUs and storage, etc.). However, admin-ajax.php is an issue with WordPress due to the Heartbeat API since about WP 3.5 or so.

Search the plugin repository for a plugin called Heartbeat Control and install it. It’s a very simple and lightweight plugin. Once you install and active it, go to your settings menu to find the settings for the plugin. It only has two settings. I’d recommend setting it to allow only on post/page edit screens and 60 second intervals.

That plugin will reduce the majority of your requests, allowing you to unblock admin-ajax.php and still server traffic, even at 8k visitors at once. I’ve used it on VPS and shared hosting to reduce the number of queries. You don’t need Heartbeat API doing anything outside of the post edit pages in 99% of cases.

Good luck.

Post count: 30

@slug bite

i appreciate your reply, i have just installed ‘Heartbeat Control’ plugin. i have 1 more question, this is my hosting plan on 24shells.net:

Processor: Intel Xeon E3-1230v2
CPU Speed: 3.3GHz/core
Hard drive: 1TB RE4 / 120GB SSD
RAM: 8GB DDR3
Bandwidth: 10TB
IP: 5
Monthly Price: $149.99
https://www.24shells.net/fully-managed-dedicated-servers.html

i chose this server because it was better than any dedicated server by hostgator in terms of configuration.
1 question always comes in my mind why they are offering servers in cheap as compare to hostgator?
http://www.hostgator.in/dedicated-servers.php#features

did i make a mistake choosing their server and not going with hostgator?

Post count: 322

Can’t say for sure as I’ve never used 24shells before. I have used Host Gator and my review won’t be all that helpful. They were awesome until 3 years ago when the company was sold, then they began a campaign sucking the life out of their customers through technical issues, bad support, and bad customer service. But that’s just my experience with them; to each his own.

Post count: 9544

That’s a decent hosting plan. I have dedicated server with SoftLayer but some of their pricing has gone up since IBM bought them. And of course it’s bare metal, meaning they don’t provide support for apps or any software, only the hardware.

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newsmag’ is closed to new topics and replies.