Posts: 1
Joined: Tue Mar 06, 2018 7:57 am

Raspverry Pi 3 web server takes long time to load

Tue Mar 06, 2018 8:34 am

Hello Everyone

I have setup and configured a LAMP server on an RPi3.
All software is installed with no errors. I have configured a basic Wordpress home page, however it takes 4 plus minutes to load.

I am running this from my home ADSL and I know my provider is not blocking any ports as I had confirmed that with them already. And when I try to open the webpage from a PC at work, I can see Chrome shows at the bottom waiting for which is my Pi's internal IP. I don't think this is DNS as Chrome shows the internal IP after a few seconds when using the FQDB and the same slowness is experienced when using public IP.

What I have done so far to solve the issue:
I have checked top while I had a mobile device access the website -no excess CPU or RAM being used.
Configured RPi to boot to CLI only (no auto login)
Reduced GPU memory to 128MB
Tested DNS which works fine
No errors in any error logs for RPi, Apache2, DNS etc.
Loads of free disk space as I am using a 64GB memory card

I am running Raspbian Linux 9
I can confirm that my upload speed is only 1 Mbps which I know is slow, but I still don't believe that a basic wordpress site with virtually no content on it should take over 4 minutes to load. Maybe a minute or slightly more at most.

I suspect it could be that my apache2 has not been configured optimally as I have been looking at the config files and the ones on my server are very limited compared to some on the internet.

Can anyone please help and advise what I can do to speed this up? I am happy to post whatever config files you need (Apache2, DNS etc.)

Thanks in advance

User avatar
Posts: 16
Joined: Tue Mar 06, 2018 6:26 am

Re: Raspverry Pi 3 web server takes long time to load

Wed Mar 14, 2018 6:30 pm

I am running a web server on an original Pi B without any performance issues.
Try replacing your Wordpress page with a minimal "Hello World" page. Something like

Code: Select all

<!DOCTYPE html>

            Hello World
        <h1>Hello World</h1>
If that loads quickly then the problem is most likely in what the wordpress page is doing, otherwise it may be your apache configuration, or perhaps a DNS issue.
Have Fun ...

Return to “Networking and servers”