The Saga Continues
WordPressWordPress was borne of initial idea seeding via B2 (Cafelog) in 2001, which was launched by Michael Valdrighi. In 2003, cofounders Matt Mullenweg and Mike Little forked B2 and created WordPress, an Open Source blogging and now content management system estimated to power the largest number of websites of any individual product (20%). Through the largest thriving community of any website management system, WordPress has grown to include theme designers, plugin developers, webmasters and site developers. With the power of participants, WP now can power anything from small individual blogs to large multi-user social communities to business websites. Core contributing developers include Ryan Boren, Mark Jaquith, Matt Mullenweg, Andrew Ozz, Peter Westwood and Andrew Nacin. WordPress has just recently celebrated its 10 year anniversary.
WPCommunityWPCommunity.com was started as an extension of Web Developer Tom Ford who found WordPress in the early days looking for a solution to power a group of large websites that had outgrown their flat HTML infrastructure. Needing more features, WordPress was chosen based on another user who was kind enough to put together a comparison chart of several platforms, with detailed information. The way this individual was able to present this side by side comparison using WordPress ultimately led to giving it a shot...which led to massive experimentation to the different things it could do. The heavy and growing demand for assistance led to offering such, bringing us to today. Tom Ford has contributed to various other development agencies including TC Websites, WPMU.org and WPML. (as well as solving countless technical issues and working through many full website builds).
- RECENT WORDPRESS NEWS ON THE WEB
In order to debug the issue you can try a plugin such which provides a means of monitoring outgoing HTTP requests (as long as
Can you make sure you're testing on RC 2? http://wordpress.org/wordpress-4.1-RC2.zip
is it the RC that causes the issues!? Did they work under 4.0.1 stable?
- DEC 18, 2014
WPTAVERN: INTERGALACTIC: A BOLD FREE WORDPRESS THEME FROM AUTOMATTIC
Despite a global decrease in public funding for space programs, humans are still reaching for the last frontier through film, music, and even design. Automattic’s latest free theme release on WordPress.org is a bold new take on the space motif.
Intergalactic features strong typography with post titles overlaying full-width featured images. The one-column layout is well-suited to a personal blog and the theme has support for all the standard post formats.
Intergalactic also includes support for custom headers, custom backgrounds, and a social links menu. The theme keeps navigation out of sight via a high-contrast slideout menu. The sidebar is 530px wide with plenty of space for longer page titles and wider widgets.
The theme also has built-in styles for right-aligned, left-aligned, and centered pullquotes, which can be easily set in the text editor.
<blockquote class="alignleft"> This is a left-aligned blockquote. </blockquote>
Intergalactic’s bold design takes you back to the glory days when space photography was brand new and manned missions put explorers on the moon. It’s been more than 40 years since the Apollo 17 astronauts’ last visit to the lunar surface in 1972, but the idea of space travel remains firmly stuck in the public imagination.
If you need a new look for your blog and you’re ready to publish at the speed of light in 2015, the Intergalactic theme is a powerful motivator. Check out the live demo on WordPress.com to see it in action. Intergalactic is now available to download for free from the WordPress.org Themes Directory.DEC 18, 2014
WPTAVERN: HOW TO TAKE CONTROL OF THE WORDPRESS HEARTBEAT APIphoto credit: osseous – cc
The WordPress Heartbeat API, introduced in WordPress 3.6, simulates a pulse and is responsible for revision tracking, session management, and more. The pulse is around 98 Bytes in size, but it can cause performance issues in certain situations.
If you’ve been notified by your webhost that your account is using too many resources and cite
POST /wp-admin/admin-ajax.phpas the cause, it’s likely due to the Heartbeat API.
How The Heartbeat API Works
Inmotion Hosting has an excellent article that explains how the Heartbeat API works. If you monitor server requests while in the post editor, you’ll see
POST /wp-admin/admin-ajax.php "http://example.com/wp-admin/index.phpappear every 15 seconds. This is the pulse generated by the API.
The pulse makes sure you have a persistent connection to the web server and provides a way for developers to trigger events. For example, if the pulse takes 30 seconds or longer to process, WordPress displays a connection error and attempts to reconnect to the server.
The ProblemExecution Time
There are several situations in which a pulse is generated either automatically, or by a user. Most of the time pulses are harmless and don’t do anything.
Each pulse (POST request) executes a PHP script equating to CPU time on the server. In an experiment, InMotion Hosting left the dashboard open for a half hour and noticed 25 PHP script executions that used 5.77 CPU seconds. The small amount of CPU time was used to do nothing.
The problem is compounded by the fact that each user who has access to the backend of WordPress generates a pulse. As the number of users navigating the WordPress backend simultaneously increases, so does the number of pulses generated from the API.
If a webhosting provider has strict limits on the number of processes or resources used, you could easily go over the limit.
How to Control The Heartbeat API
Heartbeat Control, developed by Jeff Matson, is a new plugin that enables you to control the interval of pulses. After activating the plugin, you’ll find the settings located in Tools>Heartbeat Control.Heartbeat Control Settings
You can choose to disable the API entirely, only on the dashboard page, or allow it only on the post editing screen. You can also choose the interval when pulses are sent. The choices range from 15-60 seconds with 5 second intervals in between.
By changing the interval to 60 seconds, pulses are less likely to impact server performance. Several HostGator customers who use the plugin report they no longer experience suspensions for using too many resources.
Why InMotion Hosting Doesn’t Throttle The API by Default
If increasing the pulse interval from 15 to 60 seconds increases server performance, why doesn’t InMotion Hosting throttle the API on every webhosting server?
Matson, who works for InMotion Hosting, says a one size fits all approach doesn’t work. “The reason we don’t do that is because there are some users that require it at the default rate or an even higher frequency. When making server-wide changes, you have to be extremely careful that you do not impact a customer’s site.”
Matson goes on to say that, “As a host, the number one goal is making customers happy and restricting the normal operation of a user’s site is unacceptable.”
How HostGator Almost Deleted WP Tavern
I sympathize with those who use HostGator as they have a strict CPU resource restriction. If pulses from the Heartbeat API cause the CPU to become busy or cause a backup in processes, using 25% of the CPU longer than 90 seconds is easy to do.
HostGator’s policy for using too many resources is to suspend the account. This makes it impossible to troubleshoot the problem. If you exceed the resource allotment more than five times, the site is removed from the server and your account is banned.HostGator Resource Policy
In late 2013, when WP Tavern used HostGator, I experienced first-hand what it’s like to have a website suspended. When I upgraded the Tavern to WordPress 3.6, which introduced the Heartbeat API, I started to experience problems. The site would routinely lock up and when I viewed the processes tab in cPanel, it looked like a simple process repeated itself, leading to a denial of service.
I can’t confirm if the Heartbeat API was the culprit but it’s high on my list of suspicions. After suspending the Tavern twice, HostGator informed me that if the site was suspended again, it would be removed from the server without giving me a chance to back it up. Needless to say, I switched hosts immediately.
Don’t End Up in a Similar Situation
If you’re using a webhosting service with strict resource limits, consider installing Heartbeat Control to limit the number of pulses. Not only will it mean fewer calls to the server, but it may lead to a performance increase as well. Keep a close eye on the resources used and if you come close to maxing out, it’s a sign you need to upgrade to a better plan. Don’t end up in a position where you may lose your site!