Recent

Author Topic: Forum sloooow again...  (Read 1686 times)

cdbc

  • Hero Member
  • *****
  • Posts: 2103
    • http://www.cdbc.dk
Forum sloooow again...
« on: March 01, 2025, 07:57:35 am »
Hi
In the last 2..3 days the forum has gradually gotten slower, to the point of 'Gateway Timeout'.
I've noted that when the 'Guest' count climbs above ca. 1000 it begins to slow down...
@Marc: I think we need another /dose/ of your powerful 'VooDoo' sprinkled over our /overworked/ little forum...

At the time of this writing the 'Guest' count is ~ 2650 and members 11  %)
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

Handoko

  • Hero Member
  • *****
  • Posts: 5407
  • My goal: build my own game engine using Lazarus
Re: Forum sloooow again...
« Reply #1 on: March 01, 2025, 08:07:29 am »
We are under attack:

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1360
Re: Forum sloooow again...
« Reply #2 on: March 01, 2025, 01:57:45 pm »
Who is doing this?
I just looked and it seems more than one guest is reading same thread. Are they just navigating every thread in entire forums? They seem to be scraping ancient threads
« Last Edit: March 01, 2025, 02:01:29 pm by Joanna from IRC »
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

cdbc

  • Hero Member
  • *****
  • Posts: 2103
    • http://www.cdbc.dk
Re: Forum sloooow again...
« Reply #3 on: March 01, 2025, 02:12:52 pm »
Good morning Joanna  :)
Isn't it early morning at yours?
eta: It's 2 in the afternoon, here in Denmark  ...and the sun is shining  :D
It doesn't make much sense to me either...
Regards Benny
« Last Edit: March 01, 2025, 02:15:38 pm by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12156
  • FPC developer.
Re: Forum sloooow again...
« Reply #4 on: March 01, 2025, 02:16:16 pm »
Who is doing this?
I just looked and it seems more than one guest is reading same thread. Are they just navigating every thread in entire forums? They seem to be scraping ancient threads

Probably bots harvesting data for AI purposes.  As a moderator I can see IPs on the page that Handoko quotes, and they are mostly from 2-3 ranges in the USA and Asia.

cdbc

  • Hero Member
  • *****
  • Posts: 2103
    • http://www.cdbc.dk
Re: Forum sloooow again...
« Reply #5 on: March 01, 2025, 02:19:31 pm »
Hi Marco
That fits, timezone-wise, for scraping at (theirs respectively) night, with when they annoy us...
Regards Benny
edit: typo
« Last Edit: March 01, 2025, 02:25:53 pm by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1360
Re: Forum sloooow again...
« Reply #6 on: March 01, 2025, 02:24:22 pm »
Good morning cdbc, yes it is quite early.
Marco Maybe there is a way to ban/drastically slow down the server response time to those who aren’t logged in if they are accessing things too fast?
What an annoying problem. :(
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12156
  • FPC developer.
Re: Forum sloooow again...
« Reply #7 on: March 01, 2025, 04:12:59 pm »
Good morning cdbc, yes it is quite early.
Marco Maybe there is a way to ban/drastically slow down the server response time to those who aren’t logged in if they are accessing things too fast?
What an annoying problem. :(

Let's leave the decisions to the forum adminstrators.

Tony Stone

  • Sr. Member
  • ****
  • Posts: 269
Re: Forum sloooow again...
« Reply #8 on: March 01, 2025, 06:20:57 pm »
Is anyone familiar with YaCy?  It is a P2P search engine.  So I am gonna put this out here now...


If the forum is now all of the sudden being indexed a lot by crawlers of a P2P network I may know something about it.

If that is not the case (admins would know) then all I can say is I have also experienced poor performance on the forum several times in the past couple weeks.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2645
Re: Forum sloooow again...
« Reply #9 on: March 02, 2025, 10:43:58 pm »
I'm still keeping an eye on it. Last friday I happened to catch a attacker hammering the server with 300 requests/sec. those requests didn't reach the forum, so the server itself could handle it well. It only became a bit sluggish.
I don't want to block to much. Today I got Google reports that the site wasn't reachable. Google was blocked....
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

cdbc

  • Hero Member
  • *****
  • Posts: 2103
    • http://www.cdbc.dk
Re: Forum sloooow again...
« Reply #10 on: March 02, 2025, 10:59:08 pm »
Hi
Thank you Marc, for your vigilance and hard work  ...and not to forget your 'VooDoo', that helps our server catch its breath, once in a while when not being hammered...
We very much appreciate it.
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

TRon

  • Hero Member
  • *****
  • Posts: 4321
Re: Forum sloooow again...
« Reply #11 on: March 02, 2025, 11:41:20 pm »
Thank you Marc, for your vigilance and hard work  ...and not to forget your 'VooDoo', that helps our server catch its breath, once in a while when not being hammered...
We very much appreciate it.
+ 👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍
Today is tomorrow's yesterday.

duralast

  • New Member
  • *
  • Posts: 34
Re: Forum sloooow again...
« Reply #12 on: March 03, 2025, 12:11:39 am »
What is the hardware of the database and web server? Cores/threads, CPU, RAM? More than one web server? What is the database? Using connection pooling? Apache or nginx or something else?

Cloud hosted?

What's the firewall? Does it have Deep Packet Inspection to detect and block various types of DDoS attacks, like SYN floods, ICMP floods, and other malicious traffic?

300 requests per second isn't much.
« Last Edit: March 03, 2025, 12:22:00 am by duralast »

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1360
Re: Forum sloooow again...
« Reply #13 on: March 03, 2025, 01:45:32 am »
@duralast I don’t think that  it would be prudent for those responsible for dosing the forums to be provided with the answers to those questions ..
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

duralast

  • New Member
  • *
  • Posts: 34
Re: Forum sloooow again...
« Reply #14 on: March 03, 2025, 02:35:08 pm »
@duralast I don’t think that  it would be prudent for those responsible for dosing the forums to be provided with the answers to those questions ..
Some of it is freely available. I was on mobile at the time and didn't want to look it up.

This website is running Apache 2.4.41 (w3techs.org), which was released 2019-08-14. The latest available is 2.4.63.
Netcraft shows Apache 2.4.58.
Here is one 2.4.41 vulnerability: moderate: mod_http2, DoS attack by exhausting h2 workers. (CVE-2019-9517)
Here is one 2.4.58 vulnerability: low: Apache HTTP Server: DoS in HTTP/2 with initial windows size 0 (CVE-2023-43622)

lazarus-ide.org is running newer Apache, but the forum is a subdomain on freepascal.org.

The operating system is Ubuntu.
Using MediaWiki 1.39.8. Version 1.39.11 is legacy LTS. Current stable is 1.43.0.
Running jquery 1.10.1 Current core 1.x is 1.12.4.
It is using a MySQL database.
OVH and Hetzner are the web hosting and data center providers in France and Germany. A subdomain is running in the Netherlands.

Is it a dedicated server or virtual private server? Caching? CDN?

Still, 300 requets per second is not a lot. That isn't even getting to the database, which could handle that.
« Last Edit: March 03, 2025, 11:09:21 pm by duralast »

 

TinyPortal © 2005-2018