Waiting For Webiste slow registering action php?
With user submitted posts, seems like the back-end is having trouble login in or sending info?
slow and says waiting for website.
any hints?
https://patpro.ca/wp/users-posts/
1 Reply
If you're concerned about slow PHP scripts, there are a few ways of troubleshooting. Since I can't see your internal configurations, I ran a couple commands from my end to see what I could find out.
First I sent a cURL:
time curl -sIL patpro.ca/wp/users-posts/
HTTP/1.1 301 Moved Permanently
Date: Thu, 23 Jan 2020 00:30:24 GMT
Server: Apache/2.4.38 (Ubuntu)
Location: https://patpro.ca/wp/users-posts/
Content-Type: text/html; charset=iso-8859-1HTTP/1.1 200 OK
Date: Thu, 23 Jan 2020 00:30:25 GMT
Server: Apache/2.4.38 (Ubuntu)
Last-Modified: Thu, 23 Jan 2020 00:21:04 GMT
ETag: "15a07-59cc39dd3ebef;59cc0a310d0b0"
Accept-Ranges: bytes
Content-Length: 88583
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8real 0m1.962s
user 0m0.020s
sys 0m0.009s
rgerke-C02WXP6QJG5H:~ rgerke$
There could be a few reasons for this, and I did some digging online and found what looks to be a pretty good resource on Stack Exchange, which I will link here:
PHP request sometimes very slow
One of the suggested solutions is to check out your Apache, and maybe do some tuning. This is my first go-to in situations like this, too. We have a great guide for tuning your Apache web server here:
I sent a ping to your website, and while it responded to that ping there was a bit of packet loss:
--- patpro.ca ping statistics ---
7 packets transmitted, 6 packets received, 14.3% packet loss
round-trip min/avg/max/stddev = 39.349/41.117/44.045/1.809 ms
If you think this might be a network issue, you can use MTRs to troubleshoot. I'll link you to our guide on those here:
Diagnosing Network Issues with MTR
These are just some suggestions to get you started. I hope it's helpful to you.