very slow response
dustypulver
Joined: 2013-11-17
Posts: 10 |
Posted: Sun, 2014-07-06 23:31 |
I run Gallery 3 on my SME 8.1 server at www.staubig.com and it runs very slowly. |
|
dustypulver
Joined: 2013-11-17
Posts: 10 |
Posted: Sun, 2014-07-06 23:31 |
I run Gallery 3 on my SME 8.1 server at www.staubig.com and it runs very slowly. |
|
Posts: 27300
Seems to be reasonably responsive to me.
What if you remove the Google Analytics code? and disable the nav carousel module?
the nav carousel items are not even showing up so I don't know why the code is still there in the source.
Even viewing items directly (items in the gallery3/var) seems to be a bit slow but not that bad. I’m no server expert but if the images directly from the file-system (gallery3/var) & (no DB or php involved) are slow then the rest will be slow as the browser has to wait to render those images.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 1857
It seems okay for me.
A few pages are a bit slower than expected, but I think it's because you're hosted in a different country (UK) than I'm in. (That's to be expected when the website data has to travel back and forth over along distance.)
Having said that, your site's TTFB seems to be much longer than normal. That could be because of your server's setup. There's no easy way for me to assist with that from here, but searching the internet for "TTFB" or "time to first byte" may give you some ideas.
(Also, note that some people think TTFB doesn't matter; others think it's really important. All relative, I guess.)
Posts: 10
I have disabled both the Google Analytics and NAV carousel code and restarted the server, but it has not improved the response at all. NAV carousel was enabled for historical reasons.
Thanks for your help,
- Dusty
Posts: 10
The TTFB response is somewhat strange as www.staubig.com is a subset of www.pulver.co.uk (www.pulver.co.uk/gallery) and runs on the same server with an identical route to it.
However, the TTFB to pulver.co.uk is MUCH faster - I can only blame the code of Gallery3 itself.
I'm going to increase the memory available to PHP and report back.
- Dusty
Posts: 120
Been reading this out of interest.
Just a suggestion if you are doing some diagnosing on your two domains. Maybe you should try place a static html page on two sites to compare your TTFB. If they are about the same, then maybe you should put a very basic "Hello World" php page or phpinfo page.
I'm thinking this might help you to show whether the problem is Apache, PHP or Gallery.
Posts: 1857
Echo @spags' recommendations.
This is NOT a G3 thing.
(FWIW: I have several G3 sites that all blow the socks off of either of your site's TTFB. It's unlikely that it's G3.)
Posts: 10
I doubled PHP memory limit to 1024Mb and it increased the TTFB from 6 secs to 7.2secs.
I suspect that this is a problem in my distro - SME server 8.1.
Will head over to the SME forums and try there.
Note that although SME does things in strange ways and is quite well locked down (so no PHP tweaks) it's a brilliant out of the box solution for small businesses, with web server, email server including webmail, backup etc.
I've been using it for fifteen years and this is the first problem I've encountered.
Posts: 1857
@dustypulver: Just checking in. Did you find that it was, in fact, SME? If not, did you try what @spags suggested (above)?
Posts: 10
Haven't had time to check out whether it's SME and due to my unusual network setup, can't check out @spags suggestion.
Will report back when I get time. Before that I need to upgrade to SME 9.0