Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Slow access from outside subnet

Discussion in 'Misc WordPress Requests' started by roncville, Dec 16, 2017.

  1. roncville


    Slow access from outside subnet, by roncville

    I’ve just setup the beginnings of my first wordpress site, using the ‘twenty sixteen’ theme. It has minimal content, with 4 posts, each with a sentence or two, and one small graphic. The server is on a Ubuntu 16.04 workstation, which handles all server roles including apache, mysql, php, and wordpress.

    When accessing the wordpress page from within the server’s subnet (I.E. browser client and wordpress server are each on my 192.168…. subnet), the page resolves very quickly, under a second.

    But, accessing the page from outside the subnet, using my WAN IP address, and going through my Comcast router with port 80 forwarded to my server, the page starts resolving immediately but then appears hung. After a minute or so, most of the page shows up, but even after 5 minutes I still don’t see the graphic. I’ve tried this with 3 different browsing devices, none of which work properly. During the time when I’m waiting for the page to appear, my server cpu and memory load never rise above a few per cent.

    This is such a blatant problem, there must be an obvious cause and hopefully a simple resolution. I’ve scanned this forum, and although I saw many other ‘slowness’ postings, I saw nothing that looked to me like the same problem.

    I have two questions:

    1) What is the likely cause, and hopefully the resolution, of this problem?

    2) How do I enable and find logs that might provide clues as to the problem? I enabled logging to wp-content/debug.log and php-errors.log, but nothing shows up there, so I can’t be sure they’re set up properly. As a last resort I can look at wireshark traffic, but that gets me in deeper than I’d like to get, and hopefully can avoid.


    Slow access from outside subnet

Share This Page

Monarch Social Sharing Plugin