concrete 5 site slow to load and edit

Asked by:
jmtree / 25 Points
Time:
2013-08-27 5:56 pm EST
Category:
Website Troubleshooting
Hits:
1,100
Hi,

http://Marijuana.Ca

is using concrete5.
It's been working quite well for the last couple of months up until today, Tues August 27.
Now, main page and other pages which are very light, are very slow to load. up to 20 seconds, or getting these errors:

In a browser:
Unable to connect to database.
A database error occurred while processing this request.
< Back to Home

when editing in concrete 5 main page:
An unexpected error occurred. Unable to get permission key for write< Back to Home

I'd like to fix this asap, if possible.

thanks in advance.

JM

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
12,339 Points
2013-08-27 6:53 pm EST
Hello jmtree,

Thank you for your question. I checked into your website, and the failed database connection seems to be related to a momentary spike in traffic.

In a shared server setting, other website's can affect the performance of the server, but our Systems Team actively monitors the servers 24/7. This means when they notice an issue, they will correct it, usually by suspending the account abusing the resources.

At this time your website is loading for me, I also performed a website speed test via Pingdom tools, and performed a performance scan of your website using GTMETRIX.

GTmetrix provides specific recommendations for optimizing your website, I recommend looking through the results.

Enabling caching in Concrete5 can help serve your site faster.

I also noticed there is a lot of javascripts loading on the main page specifically for youtube videos. Javascripts load from top to bottom of page: each time it hits a javascript, it stops loading the page until the javascript completes (it must fetch the video from youtube), then continues.

This can cause a delay in page loading.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

Thanks for the fast reply, John Paul.
I was seeing serious slowdown problems for at least a couple of hours on aug 27, 2013.
I'm still seeing intermittent very slow page loads, including on pages that have almost no content. Can you please check if other sites (not mine) on that server, are getting traffic spikes?

Tx for tip re main page javascripts.
Would that affect other pages that have very little content?

I think i have caching on. i'll double check.
What are the pros and cons of caching?
e.g. will users see the most updated content?
(I update daily on the main page.)

thanks!

jm
jmtree
25 Points

2013-08-29 2:52 pm EST
Hello jmtree,

At this time, I am not seeing any server problems (spikes, or heavy load), and no one else on the server is reporting a similar issue.

All the pages I checked loaded reasonably fast, except for the ones with a lot of youtube videos, or the javascript ads (http://static.getclicky.com/js).

The slow loading javascripts would only affect pages they are on, but I saw many javascripts on most of your pages.

I would be happy to look at the slow loading pages, can you provide a link to some specific pages that are loading slowly?

Here is some information on caching: In PHP when a visitor requests a page, it is generated at that time. Caching can help you by saving the commonly accessed pages so they are ready when a visitor to your site requests them.

This was taken from the article on caching I previously linked to. The article also explains how to set how often the cache rebuilds, in minutes.

For example you could set it to rebuild the cache every 240 minutes or every 4 hours.

Keep in mind you can always .clear cache manually in Concrete5, after an update.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
johnpaulb-whh2
12,339 Points
Staff
2013-08-29 9:19 pm EST
Thanks for your latest post on this, John-Paul.
I'll look into what you are talking about.
have a good weekend.

Josh
jmtree
25 Points

2013-08-30 6:47 pm EST
Wed sept 18, 9;30 am EST.

Hi John-Paul/support team,
experiencing slow loading on Marijuana.Ca
and mmmExplore.com
both are concrete 5 sites.

mmmExplore.com home page and rest of that site has almost no content, yet that home page takes up to 20 seconds to load.

can you check the server those sites are on to see what's up?

thanks!

jm
jmtree
25 Points

2013-09-18 4:34 pm EST
Hello JM,

I checked your server again, and I am not seeing any server problems (spikes, or heavy load), and no one else on the server is reporting a similar issue.

All these correspondences boil down to 2 things that need to be addressed: caching, and limiting javascripts.

I checked both of your Concrete5 websites, and enabling caching will absolutely help, especially for the website: mmmexplore.com. Here is a link to a Concrete5 guide I wrote on how to work with speed and cache settings.

The front page for http://Marijuana.Ca is extremely long, and "there are a lot of javascripts loading on the main page specifically for youtube videos (40 youtube videos load). Javascripts load from top to bottom of page: each time it hits a javascript, it stops loading the page until the javascript completes (it must fetch the video from youtube), then continues."

This absolutely causes a delay in page loading.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
johnpaulb-whh2
12,339 Points
Staff
2013-09-19 3:50 pm EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}