Link to home
Start Free TrialLog in
Avatar of Barb
BarbFlag for United States of America

asked on

Website is running slow!

I am having problems with my website as it seems to be working very slow.  Can someone tell me how to speed up the website? It is a wp website.  I called the hosting company where they state that I am having wp problems. Can someone help me?

www.essmen.com
ASKER CERTIFIED SOLUTION
Avatar of Martyn Spencer
Martyn Spencer
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Barb

ASKER

I had a permalink error that was fixed. No updates that I can recall.
Avatar of Barb

ASKER

How do I get access to my server logs?
Do you have any form of control panel? You may not have this, depending on the type of hosting that you have. Which Hostgator package are you using?
Avatar of Barb

ASKER

I have the baby package. I cannot believe that I would have that kind of traffic where my website is not support for this package. I only saw about 110 visitor in 7 days. I deleted some post on my website about 6000. Now I only have 500. Yes, the error log appears to show internal errors.

I just set this site up. I am getting a few visitor. Just a little confused.
Avatar of Barb

ASKER

Hostgator states that I may have some corrupt files on my website.  They cannot go any further with any assistance. There are the errors in the log:

400 (Bad request)
401 (Authorization required)
402 (Payment required)
403 (Forbidden)
404 (Not found)
405 (Method not allowed)
406 (Not acceptable)
407 (Proxy authentication required)
408 (Request timeout)
409 (Conflict)
410 (Gone)
411 (Length required)
412 (Precondition failed)
413 (Request entity too large)
414 (Request URI too large)
415 (Unsupported media type)
416 (Request range not satisfiable)
417 (Expectation failed)
422 (Unprocessable entity)
423 (Locked)
424 (Failed dependency)
500 (Internal server error)
501 (Not Implemented)
502 (Bad gateway)
503 (Service unavailable)
504 (Gateway timeout)
505 (HTTP version not supported)
506 (Variant also negotiates)
507 (Insufficient storage)
510 (Not extended)
If your site has not been changed at all (removing posts does not really apply here - I am talking about updating Wordpress or some other components) and you have suddenly started to see errors, it points towards someone or something else changing something.

The list that you have given is just a list of error codes and their descriptions; it is not a log file. Do you have CPanel access to your server? Do you have shell access (can you connect to the server's "command prompt")? Are you able to see the file /usr/local/apache/logs/error_log?

Are you able to paste the actual errors that show in the log, since these will certainly assist in troubleshooting? Be careful about pasting the logs publicly without sanitising them first (masking IP addresses and any other sensitive data). If you want a way of sending them to me privately and I can sanitise and post the relevant parts for you (so that this question contains all the relevant data), send me a private message.
Avatar of Barb

ASKER

No, I do not have permission to connect to the server. According to Hostgator, the problem is theirs.  They are working on it right now.
My next comment would have been that since you don't have permission to connect to the server, it was most likely going to be their problem (since it would be hard for you to corrupt your Wordpress installation without having such access, or someone else having found a way to access it).

Good to hear that they are sorting it out for you.
Avatar of Barb

ASKER

I updated WP. There was no updates. I just created the website about two weeks ago.  Problems, Problems. Thanks so far.
That's OK. If you are responsible for performing WP updates, it may be a good idea to take a look at something like https://updraftplus.com as it allows you to take a pre-update backup and to restore the site if the update ever causes problems.

As a general rule of thumb with hosting providers, don't let them persuade you that a problem is yours until they have gone through all of the options themselves. In most shared hosting situations (and yours is a type of shared hosting), the problem is often with the hosting provider having carried out an update for you or having changed something in their infrastructure.

None of my clients ever finds themselves in a situation where I tell them that their hosted site is their problem. By my way of thinking it is my problem to take care of it until I identify the cause of the problem and if it's something they have done, I either fix it for them, or advise them how to fix it.
Avatar of Barb

ASKER

Thank you.  

Hostgator states that I have exceeded my memory on my website. Can you explain to me how this could happen when I just have two blog entries and about 100 or so visitors?

I guess the best case scenario would be that I have a large amount of people trying to access my website. haha
Avatar of Barb

ASKER

You are absolutely correct. I have a 500 internal server error.
It looks as though you have 4GB of RAM available. That should be plenty for your web site. They say that your plan has unlimited storage so what exactly are they saying you have exceeded?
Avatar of Barb

ASKER

I learned a neat trick today. Instead of using my wifi connection to connect to my website. I am using my phone where I am seeing the error message.

Any way, I have 256M authorize but the message state that the memory is at 268435456.
When I look at the plan that you are on, it says that you have unmetered storage and 4GB RAM. That is in the UK. Where you are is it different?

If you only have 256M of storage authorised, that is pretty low, in my opinion.
Avatar of Barb

ASKER

My website is working but very slow on the Wifi and connecting after a very long time. Where as the phone shows me the error message after the website times out.
Given that you may be out of storage space, it may be that on occasion the site works and on occasion it does not. This could be simply because the server is clearing down small amounts of log space and then as the logs fill it runs out of space again. The only way of resolving it, if storage space is the issue, is to have more storage. As I indicated in my other comment, though, your plan should have unlimited storage, so Hostgator need to explain this. I don't think that RAM is the issue here, if they have allocated 4GB.
Avatar of Barb

ASKER

The provider states that those numbers do not have anything to do with the plan. Therefore, I do not need to upgrade.  Right now, they are escalating the problem to higher.  

They seem to be dissecting the errors on the pages right now.  

One error seems to be my them.

I can upload another theme.

I do not think that is going to solve my problem.
Avatar of Barb

ASKER

OK.  I see the RAM is not the issue.
I would do nothing with your site until they have completed their work. It sounds to me as though they know there are problems and are resolving them. I am concerned by the fact that they blame a storage allowance then say it is nothing to do with your plan.

Hopefully it will be resolved soon for you.
Avatar of Barb

ASKER

https://gtmetrix.com/reports/essmen.com/XBVtxvxE

They ran this test.  These are the errors.
Avatar of Barb

ASKER

They took my website off the server along with the plugins. The website works just fine.  Now, I downloaded Smush plugin to optimize the images.
There are no "errors" visible, just recommendations. Did Hostgator honestly do this to diagnose and explain an internal error 500? Ask them to specifically show the web server errors that lead to the 500 response, not some report from a site optimisation system. The optimisations suggested would not cause the load times that we were seeing earlier.

I am able to connect to your site now, but the performance is exceedingly poor and I doubt if this is due to the reasons shown in the report that you linked.
Avatar of Barb

ASKER

I am optimizing the images now. Still the website is running poor.  

I have another theme that I am going to try. Hold tight.
The performance is less likely to be theme based. Naturally, one theme may be more complex to render, but I am seeing long delays when requesting data from your server. This is not likely to be bandwidth related, more web server/database related. Without access to the server itself, it is going to be quite difficult to diagnose performance issues. You are reliant upon your hosting provider to provide assistance. Performance on your site is definitely better than it was, but still it is unusable (for me, in the UK). I would monitor this closely.
You can use your browser dev tools to find what part of your site is slow (images, calls to external files etc ) and that is a good place to start.

https://developers.google.com/web/tools/chrome-devtools/

https://developer.mozilla.org/en-US/docs/Tools

https://msdn.microsoft.com/en-us/library/dd565628(v=vs.85).aspx

Right now your site is not up and I can not view it. One thing to check is to make sure all files such as css and javascript are minimized. Some of the larger themes have a plug in to do this for you.  

Smush is a good plug in to help compress images https://wordpress.org/plugins/wp-smushit/
minifying external files https://wordpress.org/plugins/autoptimize/
The site www.essmen.com shows a website coming soon message, which appears to be static content...

So no WP running on this site right now...
Avatar of Barb

ASKER

I removed the wp and uploaded the same theme.  It appears to be working a little better.
The site is certainly more responsive but you do still have link errors, but this is not necessarily the fault of the hosting provider. If you need further assistance with these, it's probably a good idea to raise a further question. Do keep an eye on your site performance and some of the tools mentioned above will help. Best wishes!
Avatar of Barb

ASKER

Thanks so much.