The tag has no wiki summary.

learn more… | top users | synonyms

11
votes
1answer
194 views

Are WordPress Heartbeat API 'beats' staggered or do they occur simultaneously for all users?

The WordPress Heartbeat API uses admin-ajax.php to run AJAX calls. If User X leaves their browser open, many calls will be made to the server, with each call happening when there is a 'beat'. Now if ...
10
votes
4answers
2k views

Profiling a WordPress Website for Deployment on Shared Hosting?

I am having a problem with CPU usage on my website, and am looking for a way to detect (and fix) what is causing it. A topic not covered in this question. Following on Hakre answer here, I now ...
7
votes
1answer
3k views

Restricting a Plugin to Only Load its CSS and JS on Selected Pages?

I'd like to cause a plugin to restrict its loading of CSS stylesheets and JavaScript JS files to only those pages for which they are needed. An example for my question is the plugin Contact Form 7 ...
5
votes
4answers
329 views

How to implement a 'fail whale' to graciously limit server load (Solutions for system capacity governing)

With our website, we want to make it so that if the site is about to go down, it instead displays a custom 503 (based on a server load limit set by us). Is there something that can handle this that is ...
3
votes
2answers
448 views

Stress testing WordPress

We are going to launch a community site with 100K posts, 100K comments, 10K terms, 5 users ( all admin/editorial), and approx 500K recs in the wp_postmeta. Site may grow with a larger author base and ...
3
votes
1answer
103 views

Using Global Variables Expensive for PHP

I am writing some functions to display Custom Fields across multiple templates. Rather than getting each CF like so: $var = get_post_meta($post->ID, 'my_cf_key', true); and then checking if the ...
3
votes
1answer
2k views

High CPU & Memory Spikes?

I randomly get high spikes in CPU and Memory. I have deactivated nearly all plugins trying to find the culprit. I have been turning on a few at a time then waiting 30 minutes to see how if the server ...
2
votes
2answers
976 views

What is the expected limit for acceptable performance of WordPress without any adjustments?

In your experience, when is the time one needs to start thinking about scaling up? What is the expected performance of a common WordPress installation on a standard Apache web server, without any ...
2
votes
1answer
435 views

Meta_query with relation 'OR' killing server CPU

function get_nb_offres( $typeOffre ) { global $type_bien_correspondances; $args = array( 'post_type' => 'annonces', 'meta_query' => array( 'relation' => ...
1
vote
3answers
2k views

How do I add indexes to Wordpress Database?

I got a message from Hostgator about my account being suspended because of the load it put on their servers. This is about the fifth time this has happened. I am on a shared server. And they said it ...
1
vote
1answer
101 views

How to Better Control WordPress Cron Jobs?

I have a bunch of standalone WordPress sites, and WordPress Multisite Network of Sites on my server. There are times where there are too many sites all running cron jobs too soon in proximity. I am ...
1
vote
1answer
43 views

What is the best way to count and display the number of posts?

I have a section in my site where I display the 10 most popular posts. Now, I want to display a number, from 1 to 10, besides each post. Like this: Top 10 posts post a post b post c and so on... ...
1
vote
3answers
459 views

server load. $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_HOST'] [closed]

while writing new code and testing it, I incorporate it into my site by testing for the remote IP address as follows; i.e., I'm the only one who will see the new code: in /functions.php: // to hide ...
1
vote
1answer
1k views

Many POST requests to /xmlrpc.php from GoogleBot taking down server?

I have several hosted wordpress blogs, and I've been trying to visit them and they are really slow. I looked at my server logs and I found this stanfordflipside.com:80 188.138.33.149 - - ...
1
vote
2answers
80 views

Does loading of sub pages in menu cause load to the server?

I am working on a wp site where I need to manage 500s of child pages for a single page such as About menu can have more child pages need to manage those child pages as sub menu and I have more than 5 ...
1
vote
3answers
817 views

Load testing for WordPress functionality

Does anyone know of (or have) any scripts / processes they use for testing performance under load - especially of WordPress specific behaviours, like posting many comments nearly simultaneously, while ...
1
vote
1answer
323 views

What's the best way to implement AJAX in WordPress?

WordPress has a framework in place for handling AJAX which is well documented here: http://codex.wordpress.org/AJAX_in_Plugins My concern with this is that every time you execute an AJAX query, (even ...
1
vote
1answer
304 views

image in my post disappeared after I upload website to remote server

Before I upload my website to server, I created post with images which are uploaded to media, their url are, for example: http://localhost:40952/wp-content/uploads/2011/09/study_in-En.gif After I ...
1
vote
1answer
134 views

When to use wp_schedule_single_event for async / non-blocking processes?

I have noticed this pattern in some plugins lately: <?php function MY_CRON(){ wp_schedule_single_event(time(), 'MY_ACTION'); } add_action('save_post', 'MY_CRON'); function MY_FUNCTION(){ // ...
1
vote
3answers
489 views

Site running slow on new server?

I recently uploaded a website to a new 123-reg server on a single WP installation (www.moseleycoachsales.co.uk). I had developed the site on my own hosted multisite environment ...
1
vote
1answer
315 views

How to optimize 'select found_rows()' query? Several 'high load average' alerts daily

I have 5,000 regular posts, 6,000 posts in one post type and 2,000 posts in another post type. Needless to say, that has made the wp_posts table quite large. Not to mention, I have custom taxonomies ...
1
vote
1answer
250 views

Too many posts cause slow load when paginating

I have about 10k posts and I made a page that lists all posts but it is paginated every 54posts. It gives 131 queries in 6.730 seconds which is pretty slow to load. Is there a way to make it load ...
1
vote
1answer
146 views

Organize WordPress site, so it can maintain with huge database

Intro: Hello, I am making coupon website and I need an advise. So, the structure at the moment is like this: Coupons ( posts ) Categories of coupons ( categories ) Shops ( tags ) In the near ...
0
votes
1answer
182 views

Loading scripts on specific page

I tend to place my wp_enqueue_scripts hooks on my functions.php but this ends up piling up scripts across my site. Which makes more sense? 1: function load_slider(){ global $post; ...
0
votes
1answer
332 views

Large Number of Wordpress Posts

I am in process of setting up a catalog website and it has some 1.5 Lac products. I will write some script to import all the products but I am not sure whether WordPress will be able to handle such a ...
0
votes
2answers
88 views

How effective are cacheing plugins for dynamic pages?

The majority of pages of one of my sites can only be accessed by registered users. While these pages do share some common, static content (headers, etc) most of the information on the page is ...
0
votes
1answer
190 views

High CPU load when loading images in media library

I notice it uses high cpu when I load images from my media library. I have about over 1 million images uploaded and they are organized into folders by Post ID. Any tips to reducing CPU?
0
votes
2answers
1k views

Why does my site flash white every time it changes page? [closed]

Any ideas? I've never had this problem before. Here is the site.
0
votes
2answers
289 views

What is a reasonable memory limit for Wordpress

Although the accounts on my server generally have a lower memory limit, I've configured my Wordpress user accounts with a memory limit of 32Mb using the php.ini file and memory_limit = 32M ...
0
votes
1answer
120 views

High traffic management in WP

I have to develop a site in Wordpress similar to an already existing site in JSP which handles approx.50K users a day and 200 users at a time. And in load testing i get that wordpress can handle only ...
0
votes
3answers
2k views

Is there a way to measure server resource (CPU) usage by WP plugins?

I have a website who is having a high CPU usage. The only way I know of it, is the information I get from the support people of the hosting company. Is there any other way for me to become informed ...
0
votes
1answer
44 views

How much resources are good enough for 3.9.2

I have the following specification: memory_limit(maximal 128 MB), max_execution_time(max 60 sec) same PHP-Prozesse(max 10) Is this good enough for wordpress? I am having a small site with around ...
0
votes
1answer
122 views

Slow WP Site, theme.php not caching? Up to 25 second load time! [closed]

I have two WP subdirectories off of a Joomla domain. The Joomla load time is ok. However, the WPs are so so sooooo slow. The back end is slow too. I have w3 cache installed on both and I've copied the ...
0
votes
1answer
219 views

Load-Testing a Wordpress Site

Can anyone recommend a load-testing solution for WordPress? I'm expecting about 500,000 page hits a month and wanted to do some stress testing on the WP framework & server stack. I would ...
0
votes
1answer
245 views

Handling large N data in WordPress

I realize that this also pertains to PHP and MySQL in general, but the context and operation is within WordPress. Introduction I am currently developing a plugin that creates and saves data about ...
0
votes
1answer
382 views

How to reduce Apache connections caused by plugins?

I've been having an increasing lack of performance in my server (slowness, stalling on page loads, largely backend issues where I spend most of my time) over the past month or two on what is primarily ...
0
votes
2answers
691 views

Exclude Random Redirect from caching?

I have just deployed the W3 Total Cache plugin on my dedicated server (moillusions.com), but am not sure if it works already (server load still high). I have a very important random link generator: ...
0
votes
1answer
160 views

problem with wp theme uploading to server..?

Please help me out.. I had uploaded new theme(child theme) in clients server.Theme folder has twenty ten and child theme now.But when i activated the theme in admin side ,the twenty ten shows the ...
0
votes
0answers
14 views

How to update plugins in a distributed wordpress scenario?

I have wordpress running with nginx behind a load balancer. Everything is running well. However, given that I have multiple sets of files, what's the best way to update them all? Ansible? Looking for ...
0
votes
1answer
28 views

Getting two versions of CSS

I was using WP Super Cache plugin to apply style.css file changes that I am doing all the time. But I found the following code which working much better: <link rel="stylesheet" href="<?php ...
0
votes
0answers
37 views

Incomplete attachment page

I am using the twenty-thirteen theme and my attachment page chops off the footer & image. Have a look at my screenshot. You can see that it shows the title but it doesn't show the image and the ...
0
votes
1answer
55 views

Does having multiple random posts add up to server load and page load times?

I have 8 post types in wordpress and have the following query in functions.php file 8 times So will it put load on mysql and decrease load times? // random jokes function randJokes($rJokes){ ...
0
votes
1answer
378 views

Site not responding error - taking long to load

I have a wordpress website which gets around 20K visits a days and with around 7pages/visit and 62 hits per visit. My server is : 8 processors --> Intel(R) Xeon(R) CPU E5405 @ 2.00GHz 8 GB ...
0
votes
1answer
75 views

Automatically load Wordpress page on server every XX hours

I have a page in my Wordpress site that calculates post popularity and updates several meta fields on the posts and calls a few functions as well. This page is set to "Private" so that only myself and ...
0
votes
1answer
184 views

Would Amazon AWS Services be a good alternative to my current hosting provider?

My WP sites keep crashing my server because I have huge amounts of load in a short amount of time. The server has to be rebooted every few minutes. We have tried everything but nothing seems to ...
0
votes
3answers
87 views

Wordpress article with 50 000 words loading slow - 100% cpu

I have a wordpress article with 50 000 words. After a debug I realised that the CPU is 100% when I read the post / open the category page. I have a quad core server with 8gb ram (the ram level is ...
-1
votes
1answer
188 views

Wordpress very high load when click “Publish”

My site is currently having 70000 posts, and generate about 1.4 million views per month. Specs are Quad-core Xeon, 8GB RAM, FCGI Plugins: W3 Total Cache, Jetpack, WP Page Navi, Contact Form 7, ...