Forum
Pech runway site https://www.reisbijbel.nl extreem slow
Hi,
My site. https://www.reisbijbel.nl runs on perch Runway but it is very slow.
I test it with (https://tools.pingdom.com/#!/dffMeP/https://www.reisbijbel.nl) and the site is waiting for 5 sec before reviving any data.
Sometimes the load time is arround 20 sec. I hope some can help me, it is not the server because is it the only site that is running on it.
Perch Runway: 3.0.13, PHP: 7.2.1, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $, with PDO
Server OS: Linux, apache2handler
Installed apps: content (3.0.13), assets (3.0.13), categories (3.0.13), perch_blog (5.6.1), perch_kraken (1.1), my_sample (2.1), perch_varnish (1.0), chirp_seo (1.1)
App runtimes: <?php $apps_list = ['perch_blog','chirp_seo' ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/reisbijb/domains/reisbijbel.nl/public_html/perch
PERCH_CORE: /home/reisbijb/domains/reisbijbel.nl/public_html/perch/core
PERCH_RESFILEPATH: /home/reisbijb/domains/reisbijbel.nl/public_html/perch/resources
Image manipulation: GD
PHP limits: Max upload 64M, Max POST 64M, Memory: 128M, Total max file upload: 64M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: www.reisbijbel.nl
DOCUMENT_ROOT: /home/reisbijb/domains/reisbijbel.nl/public_html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
What are you doing on the page that is running slowly? You are going to need to give us more information to help.
Thx Rachel,
I give some more information and hope you can help me. I really don't now why the page is so slow. I looks like i use a wrong way to get the info at the site.
Page template
Javascript form the page
Debug info from page https://www.reisbijbel.nl/reisvideos/toegangspoort-tot-de-ganges
And
Hello Fleur,
This doesn't necessarily mean the server is performing well.
In the past, I had a slow load time on a certain page and after discussing the issue with the host, the cause turned out to be the MySQL settings on the server. So it might be a good idea to speak to your host about this.
By the way, analysing the website on Google's PageSpeed Insights suggests you still have a lot of optimisation you can do (currently scoring 14/100 for desktop).
If you set
define('PERCH_PRODUCTION_MODE', PERCH_DEVELOPMENT);
in yourconfig.php
file, you should get timing output in the page debug. That will help you see where things are slow. It could be that there's a particular table that needs repairing, or something like that.Having 4277 pages and routes initially looks a bit alarming, but that's the same for the fast request too, so it's not likely to be a problem.
Provided you've not turned off progressive flushing in your config file, the output should start right after the analytics region at the start of your
<head>
, so TTFB should be very quick. The page should start being sent to the browser even if things further down are slow. I'm seeing multiple second TTFBs on your site, so that doesn't add up.So the other thing is you're using Varnish (according to the headers) which should mask any slowness, but you're getting cache misses on pages that should be cached. Have you checked your Varnish config to make sure you're explicitly excluding the Google Analytics cookies from the request?
If you can get Varnish working correctly it will initially mask the slowness, buying you time to find and fix the cause. The site shouldn't be this slow.
Thx Drew and Hussein,
I change the mysql settings and the site is now faster. Thx Hussein for the tip
@Drew a set define('PERCH_PRODUCTION_MODE', PERCH_DEVELOPMENT); in config.php and this is the output. To time mark red and slow. see https://joepkolijn.nl/marokko and https://joepkolijn.nl
It is the perch3_blog_index the tabel is big.
87.526 InnoDB utf8_general_ci 153,4 MiB
and growing. Is there something i can do?
Have you tried repairing that table? 87k rows isn't big.
Yes i repair the table. I wondering is 153,4 MB for the table not big?
No, I have a table here of 2.8GB.
Oke, good to now what is normal.
This is de code what's delay the site. Is there a better way to get the info?
Thx
There is no reason that should be causing things to be slow, all indications are that your server is causing the issue here.
That is good to now. Thx for the support. I looking in to my server.