Recent

Author Topic: Forum slow?  (Read 3784 times)

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
Re: Forum slow?
« Reply #15 on: February 12, 2025, 12:46:18 pm »
Yes
I know it is slow. I'm trying to find a solution.
It seems we have single connections all over the world. Blocking them would also affect regular users.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: Forum slow?
« Reply #16 on: February 12, 2025, 01:39:15 pm »
Scorched earth approach:

when nrOfSingleConnections > 1000 then StopAcceptingConnections(timeperiod).

Right now it is unbearable and unusable anyways so it doesn't really matter anymore.
Today is tomorrow's yesterday.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
Re: Forum slow?
« Reply #17 on: February 12, 2025, 02:26:47 pm »
ATM I'm dropping and insane (IMO) amount of /16 networks which seems to help a bit.
This might affect regular users. I'll try to find a better solution in the future

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

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: Forum slow?
« Reply #18 on: February 12, 2025, 02:41:28 pm »
ATM I'm dropping and insane (IMO) amount of /16 networks which seems to help a bit.
It does indeed. But have you noticed that whomever this is doing is pushing and pushing. New records all the way.

Isn't there a list of known scrapers and their ip-ranges that they use ?

If not then it looks like a losing battle I'm affraid, hence the suggestion.

Nevertheless thank you for trying Marc 👍
Today is tomorrow's yesterday.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
Re: Forum slow?
« Reply #19 on: February 12, 2025, 03:04:49 pm »
From the requested URLs it looks like they are scraping the forum as guest for user profiles (which are only visible to registered users)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

TRon

  • Hero Member
  • *****
  • Posts: 4377
Re: Forum slow?
« Reply #20 on: February 12, 2025, 03:32:07 pm »
Interesting.

Not knowing the setup of the server any possibility to automate and serve another page to those that repeatedly do (if done so repeatedly from the same IP) or would that result in a ddos result ?
Today is tomorrow's yesterday.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12592
  • FPC developer.
Re: Forum slow?
« Reply #21 on: February 12, 2025, 03:42:03 pm »
From the requested URLs it looks like they are scraping the forum as guest for user profiles (which are only visible to registered users)

What could be the reason?  Try to login for each accountname with some standard passwords ?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
Re: Forum slow?
« Reply #22 on: February 12, 2025, 05:50:50 pm »
No idea, the user names are not visible for guests
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2671
Re: Forum slow?
« Reply #23 on: February 12, 2025, 10:48:32 pm »
It may have something to do with https://www.cve.org/CVERecord?id=CVE-2024-7438

Any way I've installed a rewrite rule redirecting a common pattern and disabled the blocking of subnets (so valid users can access the forum again)
They still access the server, but their requests aren't handled by the PHP engine (reduces the load)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Joanna

  • Hero Member
  • *****
  • Posts: 1414
Re: Forum slow?
« Reply #24 on: February 12, 2025, 11:25:39 pm »
Is anyone else able to see user profiles? Even when logged in I get nothing but a page mentioning cookies.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12010
  • Debugger - SynEdit - and more
    • wiki
Re: Forum slow?
« Reply #25 on: February 12, 2025, 11:41:13 pm »
Tested (with a normal user account / not just with admin): Yes I can see profiles as before.

Joanna

  • Hero Member
  • *****
  • Posts: 1414
Re: Forum slow?
« Reply #26 on: February 12, 2025, 11:47:16 pm »
It works now , thanks for the efforts keeping this forum available..

Thaddy

  • Hero Member
  • *****
  • Posts: 18672
  • Jungle wars. And failing health it seems.
Re: Forum slow?
« Reply #27 on: February 14, 2025, 08:53:39 am »
I'm experiencing it myself too. At the moment I cant really pinpoint the problem. The server isn't that busy atm. And its connectivity is fine. But still slow responses

Marc
There is a risk that it happens again in a few hours. The visitor count is again disproportionnally high at 7:55 gmt.
« Last Edit: February 14, 2025, 09:01:32 am by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

cdbc

  • Hero Member
  • *****
  • Posts: 2558
    • http://www.cdbc.dk
Re: Forum slow?
« Reply #28 on: February 14, 2025, 11:12:49 am »
Hi
I counted back ~8 hours from when it started here in Denmark(gmt+1) and came to the conclusion, that /something/ is "Scraping" at night in/from the US, but that's just my naïve little brains, thinking so...  :D

Hey,   ...hold on, it could also be yet another TAX from the "Trumpster"  >:(

Giggling regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release &  FPC Main -> Lazarus Main

Thaddy

  • Hero Member
  • *****
  • Posts: 18672
  • Jungle wars. And failing health it seems.
Re: Forum slow?
« Reply #29 on: February 14, 2025, 11:28:45 am »
Marc, again, seems to have chosen a practical approach, since the site is still responsive.
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

 

TinyPortal © 2005-2018