Multiple instances of WordPress index.php running? - wordpress

I seem to be dealing with DoS attacks or something and I'm not sure how to resolve this.
My server will start running slow, and when I look at the current processes running I see something like this...
Each of those is chewing up 4% of the CPU, and they keep piling on, and the CPU usage actually keeps growing.
Sometimes they will all go away again and things will run smoothly again after a few moments, but other times it ends up killing the server response and I have to restart the service.
I'm on the latest version of WordPress with only a few plugins installed like Google Analytics, WordPress SEO, Gravity Forms, WooCommerce, etc. Nothing that should be giving me any problems. All plugins are up-to-date.
My hosting company isn't being much help trying to figure out why this is happening. They just keep saying it's a WP problem.
Any information on how I can resolve this would be greatly appreciated. Thanks!

Related

Service Unavailable Server currently undergoing maintenance. Webmaster: please contact support. Error 503

I've been using Hostgator hosting for a while but suddenly Hostgator started to close some website with " Service Unavailable" and It's because CPU resources is high, so Hostgator provide me some steps to optmize my wordpress ( Updating my wordpress , reviewing my pluggins, also I Limit WebCrawlers and Bots with robot.txt, google and bing and I have a Super Cache and wp-optimize ). Well After that I told Hostgator to review them to take out the restriction they put them back up after 2 or 3 days Its very frustration I don't know what It could be .? any help will be appreciate it.
Also I just notice in my google console there are some errors and I trying to delete but I can't find it.
Thank you in Advance
google console results
how much visitors do you have per month? And did you look in your account on hostGator, there is a point that show the ressource usage. Look at it.
A good solution could it be, to install a caching plugin, like w3 Total Cache Plugin or WP Super Cache Plugin. That should help a lot by saving resources.
The point in your image is a list of elements that couldn´t be delivered. The server had to much to do with other stuff, so he wasn´t able to complete the requests, as result you see the 503 Error code.

Very Slow Wordpress Performance after moving to VPS?

We are struggling with the speed on our wordpress website. Have just moved to a VPS and this hasn't helped the speed at all.
Can anyone offer any recommendations on what needs to be done?
link to the website >> salon99.co.uk
You have some javascript errors, looks like not loading properly. How much ram your vps have, thats other issue might be. Avoid 404 on resources (images, css, js)
Check some tips from here
http://tecadmin.net/security-tips-for-lamp-stack-on-linux/
https://askubuntu.com/questions/60298/how-do-i-properly-set-up-and-secure-a-production-lamp-server
https://www.digitalocean.com/community/tutorials/building-for-production-web-applications-deploying
Provide more information on your setup.
Try install Google PageSpeed and test your site here
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fsalon99.co.uk%2F&tab=mobile
Running your site through Pingdom shows a 4 second time to first byte. This suggests you main issue is definitely server side. There's a couple of diagnosis plugins that you can install which will reveal which plugins may be slowing things down*, and which DB queries are expensive:
Query Monitor
Debug Bar
P3
Once you've worked out where the slow downs are coming from, you'll be in a better position to solve them. You might find you have one query in particular that is especially slow.
* I've always found WooCommerce to be on the sluggish side, but them's the breaks.

Why would an Apache Server timeout on first httpd request?

I have an odd issue with my Apache Server. Almost every single time the server gets a timeout on the httpd first request, and then I hit reload and the page loads right up. What could possibly cause this?
I looked into the server errors, there is nothing except that wdaemon is not running. I looked into top and everything looks fine. I checked on GTmetrix and it also gets timeout on first request! And when GTmetrix returns the stats nothing looks out of the ordinary.
The httpd requests a WordPress project, using a 3rd party plugin (P3 Plugin Profiler) I analyze the active plugin response and it also looks fine, average.
I appreciate any help!
Well, well, well... StackOverflow has some powerfull magic! Everytime I take the time to ask question, I seem to figure out the answer right after it. Feel free to delete this question, if any moderator feels like so.
Anyway, the problem indeed was internal, not server related. After analyzing with more caution I noticed a plugin was taking too long to load so I disabled it and it made all the difference. Funny thing about it, it is the only plugin I actually had to pay for.
Anyway, thanks SO!
Could be all sorts of things. WordPress can be a nightmare for performance - usually as a result of too many, badly written plugins. But the first place to check is your PHP opcode cache how you interest the data depends on which opcode cache you are using - APC is a very different beast from then zend cache. You didn't say which applies here, but even describing just one goes way beyond what's practical here. If you have any plugins, you should have listed them in your question. Try disabling them all and see if the problem persists. Then start adding them back one at a time till the problem recurs.
If you think you have sufficient understanding of the profiler to make a diagnosis why did you tell us about it? If your not an expert in profiling WordPress why didn't you include the output of the profiler in your question?

Long wait time before first byte is received

I have a website (currently running at www.subspace.cz), which I spent some time on optimizing. There's still some tasks to be done, like image optimization, but that's not the problem I'm solving now.
The problem is, that it almost constantly takes 1.6 seconds before the page starts loading, ie. before the webserver starts responding to the request.
I am certain this is not due to the hosting, since another website is also running at www.subspace.cz/trekken and is running fast. I also tried running this website on localhost on my i5 PC and the delay here is constantly 1.2 seconds.
I also ran WP-Optimizer on the database
I also tried switching the theme to Twenty Twelve and deactivated all plugins. The difference in the waiting time is insignificant, about 150ms.
It seems to me like the WP core has to be doing something that needs to be completed before the server starts responding... but over 1 second? Does any of you have a hint on what could be causing this?
Note: The admin section of the website is also affected by this waiting time.
Test the performance of installed plugins with P3 (Plugin Performance Profiler) that measures their impact on your site's load time. Badly written plugins can vastly increase the server response time ( for example, i was unpleasantly surprised when I discovered that only one plugin, which is only used for galleries, consumed 500ms of server time on each request,
regardless of whether it was even necessary for that request ).
The delay is usually because of the time spent by server on executing the code and once the code is executed, it then responds with the relavant html/css. Wordpress uses hooks, which means that everytime wordpress starts executing the code, it also has to execute all the code hooked into it, mostly by plugins. As Danijel mentioned, P3 Profiler can be used to check the performance of plugins.
Some plugins like woocommerce and acf are really heavy but you cant live without them, what you can do for this kind of situation is to use a plugin called "Plugin Organizer". By using this plugin you can organize your plugins for special pages. This way woocommerce will only be activated on product, cart and checkout pages and wont effect the performance of rest of the website.

Wordpress Running slowly

My wordpress site has suddenly started to run stupidly slowly and the only thing that has changed is the header of the site. I placed in a new photo slider and just moved the twitter feed. So i thought it would have something to do with this but the speed of the site is still slow when i disabled them both.
Which makes me think that it is a problem with wordpress or that i've taken something out of the header that i wasnt meant to.
link to the site: www.finderskeepersuk.com
Any help would be brilliant
Thanks
According to the Network tab on Chrome's inspector & Pingdom, the majority of your loading time is waiting for your server to respond. Could just be extra latency from accessing a UK host from the US, or your server might be overloaded with a zillion other sites.
Try tinkering around with the W3 Total Cache plugin, but if that doesn't help you might need to call your host, upgrade to a better server, or change hosts.
Also: You're loading jquery twice.

Resources