• 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 840 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • What You Can Control with a Smartwatch and ESP32 February 23, 2021
  • What Does Data Cleansing Mean? February 21, 2021
  • How to Find the Right Software for Your Company February 20, 2021
  • What is Code Refactoring? February 19, 2021
  • Smartphones With Best Audio Quality (2020-2021) February 17, 2021

 

About This Article

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

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

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

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

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