Website is dog slow
|
Author | Content |
---|---|
keithcu Jan 04, 2025 11:35 AM EDT |
Hi all! Something is wrong with the website. Every request takes many seconds. Maybe the database needs to be cleaned up or something? I built a simple / fast Linux homepage type website based on data sources like lxer.com: https://linuxreport.net/ However, every request which goes through lxer is slow! Regards, -Keith |
Scott_Ruecker Jan 06, 2025 3:01 PM EDT |
I have been on the site off and on all day and night for the last two days and it has been quick as all get out. I am in San Diego, connecting via WiFi, I've got 3 out of four bars in coverage. On my phone it is fast too. |
keithcu Jan 06, 2025 10:18 PM EDT |
Hmmm, I'm trying on my phone and laptop and it takes about 12 seconds to bring up the webpage. Also when I click on any story, it is also about 12 seconds (such as this one) https://lxer.com/module/newswire/view/34656/index.html. I also tried it on my girlfriend's laptop and it took the same. The ping times are reasonable, but the website seems to have a long pause before it shows anything. does anyone else notice this? |
keithcu Jan 06, 2025 10:35 PM EDT |
hmmm, i noticed it's fast to my computer through the mobile network, maybe there's something weird with my router or wifi config although I don't notice any issues on any other website...I'll try rebooting the router and playing around more. |
keithcu Jan 06, 2025 10:46 PM EDT |
I rebooted my router and it's still 10 seconds. Every other website is fast, maybe there's an issue routing packets? Does anyone else notice a problem? I do notice it's an issue with SSL only. When i do curl https://lxer.com, it takes 10 seconds to respond, but when I do a curl http://lxer.com, then it responds very quickly telling me to use SSL. curl -v https://lxer.com > lxer.txt % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Host lxer.com:443 was resolved. * IPv6: (none) * IPv4: 66.232.124.26 * Trying 66.232.124.26:443... * ALPN: curl offers h2,http/1.1 } [5 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * CAfile: C:/tools/msys64/clangarm64/etc/ssl/certs/ca-bundle.crt * CApath: none 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0{ [5 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [93 bytes data] * TLSv1.2 (IN), TLS handshake, Certificate (11): { [2555 bytes data] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): { [333 bytes data] * TLSv1.2 (IN), TLS handshake, Server finished (14): { [4 bytes data] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): } [70 bytes data] * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): } [1 bytes data] * TLSv1.2 (OUT), TLS handshake, Finished (20): } [16 bytes data] * TLSv1.2 (IN), TLS handshake, Finished (20): { [16 bytes data] * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp256r1 / rsaEncryption * ALPN: server did not agree on a protocol. Uses default. * Server certificate: * subject: CN=lxer.com * start date: Nov 26 23:44:24 2024 GMT * expire date: Feb 24 23:44:23 2025 GMT * subjectAltName: host "lxer.com" matched cert's "lxer.com" * issuer: C=US; O=Let's Encrypt; CN=R10 * SSL certificate verify ok. * Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption * Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption * Connected to lxer.com (66.232.124.26) port 443 * using HTTP/1.x } [5 bytes data] > GET / HTTP/1.1 > Host: lxer.com > User-Agent: curl/8.11.1 > Accept: */* > * Request completely sent off 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0{ [5 bytes data] < HTTP/1.1 200 OK < Date: Tue, 07 Jan 2025 02:57:32 GMT < Server: Apache/2.4.6 (CentOS) < X-Powered-By: PHP/5.4.16 < P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" < Set-Cookie: lasthomehit=1736218662; expires=Fri, 05-Jan-2035 02:57:42 GMT; path=/ < Set-Cookie: scifreturn=%2F; expires=Fri, 05-Jan-2035 02:57:42 GMT; path=/ < Set-Cookie: sciftitle=Linux%2BNews; expires=Fri, 05-Jan-2035 02:57:42 GMT; path=/ < Connection: close < Transfer-Encoding: chunked < Content-Type: text/html; charset=UTF-8 < { [5 bytes data] 100 49374 0 49374 0 0 4130 0 --:--:-- 0:00:11 --:--:-- 12647 * shutting down connection #0 } [5 bytes data] * TLSv1.2 (OUT), TLS alert, close notify (256): } [2 bytes data] |
bob Jan 09, 2025 12:16 PM EDT |
Hi Keith, I appreciate your report and would like to get a better understanding of the site performance issues you are seeing. You are the second person to report a "10 second issue." Let's see if we can get to the bottom of what you are seeing. After spending some time yesterday and today profiling our site performance I have measured our front page load times at between a minimum of 259ms and a maximum of 635ms. Additianally I've added a load time measurement to the bottom of the page (you can find it just to the right of the RSS link). This load time measurement represents the time between the arrival of a page request and the issuance of a response. It does not include the internet transit delays one would encounter as the response packets make their way between the LXer server and the client browser. Thanks, Bob Whitinger |
Scott_Ruecker Jan 10, 2025 4:48 PM EDT |
Just to check in on this.. I have been connecting nice and fast (0.310s) is just a random speed check that I picked to show for everyone. Every page I go too is super fast except the front page. On the front page I get something between (6.328s) and (6.062s) page loading times. |
keithcu Jan 12, 2025 10:45 AM EDT |
Hello all, today, I can connect and the page speed is fine! For some reason it would hang for about 10 seconds before serving every page when using wifi (but not cellular) but it seems to have gone away. Maybe there was a networking issue? Very glad it is fixed! Regards, -Keith |
bob Jan 17, 2025 2:08 PM EDT |
Hi Keith, I've spent some time over the past few days optimizing LXer performance. We are now at the point where 99.4% of the site requests are returned in under 500ms, 99.0% in under 250ms and 94.2% in under 100ms. Thanks again for your report. I'll tentatively mark this problem as "resolved." Bob |
Scott_Ruecker Jan 17, 2025 3:18 PM EDT |
I have to agree with Bob in saying that the speed problem, unless it 'creeps' up again is resolved. The entire site, every page, pulls up in less than 1 second and I've visited every page I use and can get too. All of his optimizations have taken effect perfectly. Thank You again Bob. |
Posting in this forum is limited to members of the group: [Editors, MEMBERS, SITEADMINS.]
Becoming a member of LXer is easy and free. Join Us!