Recent

Author Topic: Why it is so slow to load Lazarus Forum Web?  (Read 8295 times)

incendio

  • Full Member
  • ***
  • Posts: 133
Why it is so slow to load Lazarus Forum Web?
« on: November 26, 2021, 05:58:48 am »
Hi guys,

It took about 15 seconds to load this forum website.
Tried on PC and mobile, phone, same respond, slow.
Why is it?

Problem is not from my internet, cause to load others web, it only takes less than a second.

winni

  • Hero Member
  • *****
  • Posts: 2872
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #1 on: November 26, 2021, 08:54:52 am »
Hi!

Yes it is strange:

Since some days there are sometimes awful response times.

But 10 minutes later all works normal. And then again: waiting ...

Are there attacks to the web-server?

Winni

MarkMLl

  • Hero Member
  • *****
  • Posts: 3689
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #2 on: November 26, 2021, 09:58:40 am »
Yesterday (25th) was particularly slow, today seems better. I was keeping a particular eye on this and comparing it with responses from eBay etc. in case it indicated a network problem at this end which could affect business telecoms etc.

The fact that multiple people notice this suggests that it's at the server end, or near the server end's routing.

26th 09:20: Response moderately slow again.

MarkMLl
« Last Edit: November 26, 2021, 10:19:36 am by MarkMLl »
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1822
  • Former Delphi 1-7, 10.2 user
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #3 on: November 26, 2021, 10:49:43 am »
Page load times downunder vary between 15s and 45s depending on the time of day, with some days being worse than others. Tonight it's better at 6s to load a page. The mornings are generally worse (UTC+10).
Lazarus 2.3, FPC 3.3.1 macOS 12.1 x86_64 Xcode 13.2
Lazarus 2.3, FPC 3.3.1 macOS 12.1 aarch64 Xcode 13.2
Lazarus 2.3, FPC 3.2.2 FreeBSD 13.0 amd64 VM
Lazarus 2.3, FPC 3.2.2 FreeBSD 12.2 amd64 VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 VM
Lazarus 2.0.10 FPC 3.2.0 Win10 amd64 VM

MarkMLl

  • Hero Member
  • *****
  • Posts: 3689
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #4 on: November 26, 2021, 10:53:14 am »
Yesterday afternoon was /particularly/ bad.

GMT here and proud of it: we invented this stuff.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 9778
  • FPC developer.
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #5 on: November 26, 2021, 11:41:51 am »
There is some new webcrawler. You can also see that there are 8 registered users online and 344 guests.

Some occasional slowliness is also possible if people heavily use the search feature.

MarkMLl

  • Hero Member
  • *****
  • Posts: 3689
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #6 on: November 26, 2021, 12:03:37 pm »
There is some new webcrawler. You can also see that there are 8 registered users online and 344 guests.

Some occasional slowliness is also possible if people heavily use the search feature.

TFT. My commiserations.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2545
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #7 on: November 29, 2021, 01:47:09 pm »
One thing we found out is that I might be caused by the way mysql does database locking. It might block other requests. One thing I plan to do when I find some time is to move the database form mysql to postgresql (since it is sopported by smf nowadays)

Marc
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

MarkMLl

  • Hero Member
  • *****
  • Posts: 3689
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #8 on: November 29, 2021, 02:32:15 pm »
Probably a good move. Postgres has served me faithfully for 20 years.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

winni

  • Hero Member
  • *****
  • Posts: 2872
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #9 on: November 29, 2021, 10:37:26 pm »
Hi

Awful slow again:

22:36 on 29 Nov 2021 CET

Winni

Bart

  • Hero Member
  • *****
  • Posts: 4611
    • Bart en Mariska's Webstek
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #10 on: November 29, 2021, 11:07:35 pm »
30 seconds to post a reply...

Bart

440bx

  • Hero Member
  • *****
  • Posts: 2626
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #11 on: November 29, 2021, 11:24:51 pm »
It seems to be very capricious.  Sometimes the response is immediate, other times it's immediate after a wait of 20 to 30 secs.
FPC v3.0.4 and Lazarus 1.8.2 on Windows 7 64bit.

MarkMLl

  • Hero Member
  • *****
  • Posts: 3689
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #12 on: November 29, 2021, 11:35:22 pm »
It seems to be very capricious.  Sometimes the response is immediate, other times it's immediate after a wait of 20 to 30 secs.

Agreed, I'm not seeing any real problem ATM despite the number of guests being 200+

It's obviously possible that the forum server is throttling traffic to a subnet hosting an implausible number of guests, but I'd be surprised if a crawler/spider were sufficiently synchronised to be coming from one direction at a time.

MarkMLl

MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

winni

  • Hero Member
  • *****
  • Posts: 2872
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #13 on: November 30, 2021, 05:05:21 pm »
Hi!

Again : 28 seconds to wait for a thread.

17:04 CET 30 Nov 2021

Winni

winni

  • Hero Member
  • *****
  • Posts: 2872
Re: Why it is so slow to load Lazarus Forum Web?
« Reply #14 on: November 30, 2021, 05:18:06 pm »
TFT.

MarkMLl


?????
Transaction Function Table
Transport For Transplant
The Fighting Tigers
Thin Film Transistor
Toy Fox Terrier
.....
?????

Winni


 

TinyPortal © 2005-2018