Site is very slow recently

Announcements about changes to the forums will be posted here. Also for suggestions and requests for technical assistance, etc.
Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13768
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Site is very slow recently

Post by Gambit37 »

I've noticed the site is very slow recently, taking tens of seconds to render pages. Any ideas what's going on and how we might improve it?
User avatar
ChristopheF
Encyclopedist
Posts: 1594
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Site is very slow recently

Post by ChristopheF »

I noticed, no idea yet as I did not have time to investigate.
I assumed an issue at the host provider and was hoping that it would fix itself. I'll see what I can do.
User avatar
ChristopheF
Encyclopedist
Posts: 1594
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Site is very slow recently

Post by ChristopheF »

It seems we have a lot of "success" recently...
Tens of guests are connecting each second continuously, which fills up the sessions table in the database and slows down all forum pages.
You can see the number of simultaneous users including guests at the bottom of the forum home page.
I purged that table which fixed the issue, but that continues so the site will slow down again I fear.
User avatar
Prince of Elves
Artisan
Posts: 166
Joined: Sat May 09, 2020 6:58 pm

Re: Site is very slow recently

Post by Prince of Elves »

I also noticed that I keep getting auto-logged out these days. Definitely a minor issue compared to the lags and it tends to concide with those but I thought I'd mention it.
User avatar
ChristopheF
Encyclopedist
Posts: 1594
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Site is very slow recently

Post by ChristopheF »

I hacked phpbb code yesterday to prevent anonymous users (guests) from creating sessions. As a side effect the number of guests visible at the bottom of the home page stays at 0.
The forum is still bombarded with requests, but now the performance remains acceptable.
We'll see how it goes in the next days...
User avatar
Ameena
Wordweaver, Murafu Maker
Posts: 7551
Joined: Mon Mar 24, 2003 6:25 pm
Location: Here, where I am sitting!
Contact:

Re: Site is very slow recently

Post by Ameena »

I was gonna post something about this yesterday but I forgot - yeah the site has been very slow these last few days, take ages to load pages. And on a couple of occasions it had logged me out so I had to log back in. I did notice that the "Most number of users online at once" stat thingy at the bottom of the homepage was some stupid number like 1450 on that day or the previous one. So yeah, that seems to be what's doing it. Stupid hacky-bot things all logging in at once or something.
______________________________________________
Ameena, self-declared Wordweaver, Beastmaker, Thoughtbringer, and great smegger of dungeon editing!
User avatar
Gambit37
Should eat more pies
Posts: 13768
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Site is very slow recently

Post by Gambit37 »

Oh wow, nice thank you Christophe! I've not got easy access to the forum code these days so it's a bit harder for me to work out what's going on. I wouldn't be surprised if this is AI scraper bots sucking up all our data to one day throw it back at us in some awful tool that we apparently won't be able to live without... :roll:
Post Reply