• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Fix Failing Server on WordPress Post Publish

By Abhishek Ghosh July 28, 2014 5:58 pm Updated on July 28, 2014

Fix Failing Server on WordPress Post Publish

Advertisement

It is common to get 99% CPU usage on Post Update or Post Publication with WordPress Blog with huge number of posts. Errors are related to Server. If one goes to WordPress official forum, the likely answer will be disable plugins and revert to default theme. If you need to do soft reboot or even a hard reboot due to the hanging event, it is most likely that at there are indicative stuffs in the errors.log file. mpm-prefork, memcache and memcached(daemon) are notorious for creating conflicts. The example setup we are talking about is a cloud server with 2 GB RAM, 2 virtual cores, database server is different, is hosted on Rackspace with Infrastructure level support only, the setup is for only one domain, we are using Ubuntu 14.04 LTS and Latest Apache. Since Ubuntu 13.10 and Apache 2.4.x there are difference with previous versions. Possibly you did an update and/or upgrade, may be you have done apparently nothing. But, this guide will help you in such helpless situation. At least you can go to StackOverflow or Quora and tell some minimum stuffs to the others.

 

Fix Failing Server on WordPress Post Publish

 

It is usually not Plugin, but some Plugin can help WordPress to do the wrong. Indeed, in past; only WordPress Permalink used to simulate the situation :

 

Vim
1
http://digwp.com/2011/06/dont-use-postname/

 

That issue has been fixed but there can be hundreds of unknown bugs. We will discourage to ask in WordPress Official forum, instead ask on StackOverflow or Quoraor somewhere you’ll find server side experts. If you ask in WordPress Official forum, there is more chance to get in the wrong direction. Removing a Plugin might temporarily fix an issue, but you should know what actually happened to make you reboot.

Advertisement

---

I have a friend who has a WordPress installation with a database which probably none can repair. He always login to server before hitting the Publish button. After clicking the Publish button, the server expectedly hangs and he type rebootand hit Enter key on SSH. As he uses one server to host all – database server, web server – it is practically quite time consuming to reach towards the diagnosis. Practically as he do not write blog on regular basis or professionally, this trick works, but obviously this is not the right way.

By default, the Apache related error file will be located at :

 

Vim
1
/var/log/apache2/error.log

If its location is changed, check the php.ini file :

Vim
1
/etc/php5/apache2/php.ini

You can open the file either via SFTP or with nano on Shell. Like :

Vim
1
cd /var/log/apache2/error.log && nano error.log

You might see something like this :

Fix Failing Server on WordPress Post Publish

Obviously, depending on the error, you should fix it either by asking somewhere or just searching a bit on Web Search. For this particular situation, we might want to try to disable :

Vim
1
2
3
4
5
6
# disables a module of Apache2
sudo a2dismod module_name
# enables a module of Apache2
sudo a2enmod module_name
# both requires Apache to restart
service apache2 restart

For centos/ fedora and others, things work differently than in Ubuntu/ Debian.
There can be conflict due to a declaration in Apache ini file itself. Which can throw this type of error on restart :

Vim
1
2
3
4
5
6
* Restarting web server apache2                                                                                                                                                                     [fail]
* The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 99 of /etc/apache2/apache2.conf:
Invalid command 'ThisExampleRequest', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.

Apache2, unfortunately has lot of peculiar problems, on version update; they can show colors.

This Article Has Been Shared 322 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Fix Failing Server on WordPress Post Publish

  • Cloud Computing : Are the users becoming more dependent?

    Cloud Computing already offering us various scopes and opportunities.It may be important to check whether we are becoming too much dependent on Cloud Computing.

  • Ubuntu Cloud Guest Instance : Our Test Drive

    Ubuntu Cloud Guest Instance is actually hosted on Amazon EC2 and a kind of ready made solution as PaaS is provided by Canonical for free of cost to test.

  • Installing an Advanced Pastebin on Rackspace Cloud Sites

    Installing an Advanced Pastebin on Rackspace Cloud Sites can be done with Stikked, adding Twitter Bootstrap like interface to make it more attracting, light.

  • Elliptical Cryptography (ECC) and Software Defined

    The Encryption by Elliptical Cryptography (ECC) encryption could ensure safety and performance for Software Defined without much computing power.

  • Apache to Nginx on Cloud : Checklist

    Here is a checklist for those who want to unlock speed by migrating from Apache to Nginx on Cloud Server but have lesser technical knowledge. Nginx initially will appear scary but actually it is easy to use.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Fix Failing Server on WordPress Post Publish," in The Customize Windows, July 28, 2014, January 30, 2023, https://thecustomizewindows.com/2014/07/fix-failing-server-wordpress-post-publish/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT