Firefox wrote:Perhaps the server was feeling very depressed?
Why is the site going down?
- Portland
- Baaaaaaa!

- Posts: 8828
- Joined: Thu Apr 06, 2006 8:16 am 0
- Location: Swinton, South Yorkshire
Re: Why is the site going down?
Portland 3.0.1.0 public release rolled out
Re: Why is the site going down?
Actually, if you try to browse the forums in the wee early hours of the morning, then it's often reporting an SQL error.Little stoned kiwi wrote:What about a cron task to restart the the SQL server once a day?
Specifically, that it can't connect to the UNIX domain socket (I don't recall the exact name but it's something like "/var/lib/mysql/mysql.sock").
This has, in fact, been happening most nights that I can see, but how long it stays down varies. So, sometimes, I'll only catch it for five minutes. Other times, it cab be an hour or so.
Then, every so often, it can last many hours - so much so, that it's still down when everyone else wakes up and looks at the forums, reporting the problem here.
But I've noticed this many more times than seems to be being reported here, as I'm often up at an early hour (basically, I've been getting up early in order to fit in a morning run before having to get ready for work).
So, actually, I think the problem is that there is already some sort of cron job that's firing most nights, which is taking the SQL server offline - perhaps for "database optimisation" or something - and this is a variable-length process.
And I suspect, if it is some sort of "optimisation / defragmentation" cron job to sort out and organise the day's posts in the database, then when it hits some of the stupidly big threads we've got on here - "hitting refresh", "youtube", "doctor who", etc. - then it's just taking so long to shuffle and optimise the data in those threads, that it ends up taking all morning or even all day to get the job done.
So rather than create a new cron job, I'd actually be checking if there's already one enabled somewhere - for phpBB or the SQL server in general - which is triggering a "wee early hours of the morning" optimisation / defragmentation operation to keep things tidy while we're all assumed to be sleeping.
Although, this is kind of tricky, because I don't know if it'd be entirely wise to just disable it. I mean, yes, that would prevent the outages but such a cron job would exist with good reason; a forum would be adding / changing / removing data to the database all the time, as we all use the forums, so a regular optimisation / clean up keeps it spritely and disabling such optimisation might just be trading the outages for overall worse performance all the time.
Already, browsing to the "hitting refresh", "youtube" and "doctor who" threads can take many seconds - where other threads are otherwise loading up straight away - so I've just got a feeling that those particular threads have got to a size that phpBB was never really designed to handle (these threads are, in some cases, well over a decade of regular postings, after all) and it's just straining and struggling under the weight.
(So maybe what might have to be done is splitting the "hitting refresh" / "doctor who" thread into smaller chunks and "archiving off" the earlier chunks - so they can still be preserved for posterity and nostalgia reading - but locking them, so that only the current "latest chunk" is actually active and the post count kept more reasonable at < 250, say.)
"Words ought to be a little wild - for they are assaults of thought on the unthinking."
- John Maynard Keynes
- John Maynard Keynes
- zip accident
- Sheepie Whore

- Posts: 13928
- Joined: Sun Feb 20, 2005 1:58 pm 0
- Location: Bristol, UK
Re: Why is the site going down?
Again.
Is there nothing that can be done?
Oops, didn't spot this page before posting.
On the other hand, Giant in the Playground forums limit all threads to fifty pages (of 30 posts per page) I don't know whether they're running the same version of the software or something completely different.
Is there nothing that can be done?
Oops, didn't spot this page before posting.
Yesterday Yakyak was down for over 24 hours. The day concerned was a bank holiday, which suggests to me that the problem is one of physical access to the hardware, not software related at all.KlaxonCow wrote:And I suspect, if it is some sort of "optimisation / defragmentation" cron job to sort out and organise the day's posts in the database, then when it hits some of the stupidly big threads we've got on here - "hitting refresh", "youtube", "doctor who", etc. - then it's just taking so long to shuffle and optimise the data in those threads, that it ends up taking all morning or even all day to get the job done.
...
(So maybe what might have to be done is splitting the "hitting refresh" / "doctor who" thread into smaller chunks and "archiving off" the earlier chunks - so they can still be preserved for posterity and nostalgia reading - but locking them, so that only the current "latest chunk" is actually active and the post count kept more reasonable at < 250, say.)
On the other hand, Giant in the Playground forums limit all threads to fifty pages (of 30 posts per page) I don't know whether they're running the same version of the software or something completely different.
"My way is the way of not fighting":- the book of Enter the Dragon.
Re: Why is the site going down?
It's because the site is on a micro instance when really it should be on something bigger.
I'll have a look at the cron job as that would likely work fine.
I'll have a look at the cron job as that would likely work fine.
- Baggypants
- Baaaaaaa!

- Posts: 5328
- Joined: Sun Mar 19, 2006 12:54 pm 0
- Location: Salford(UK);
- Contact:
Re: Why is the site going down?
I figured the forum was doing its own Passion play.
"The eggs, get them!"
Re: Why is the site going down?
In terms of the amount of posts it does feel like lent
Re: Why is the site going down?
Still up and down like the proverbial. I’m a 30-year IT veteran and I’ve seen this pattern before - if we don’t do something about it, it’ll keep getting worse until either something breaks beyond repair, or there’s no one who can (or wants to) spend time keeping it limping along. And then it’ll be dead.
As I’ve said before, I know my way around AWS, relational databases, and general IT mechanics so if it’s a manpower shortage I’m available to assist (as indeed I guess are a number of others if asked).
As I’ve said before, I know my way around AWS, relational databases, and general IT mechanics so if it’s a manpower shortage I’m available to assist (as indeed I guess are a number of others if asked).
Re: Why is the site going down?
And if it's a money thing, I'm happy to chip in a few quid.
- Misfit
- Sheepie Whore

- Posts: 10446
- Joined: Sat Sep 28, 2002 2:43 pm 0
- Location: Nottingham UK
- Contact:
Re: Why is the site going down?
Yeah, me too.venusian wrote:And if it's a money thing, I'm happy to chip in a few quid.
Be nice if we could get that mobile skin sorted too...
- zip accident
- Sheepie Whore

- Posts: 13928
- Joined: Sun Feb 20, 2005 1:58 pm 0
- Location: Bristol, UK
Re: Why is the site going down?
WTF is going on?
"My way is the way of not fighting":- the book of Enter the Dragon.
Re: Why is the site going down?
Yep, down again this morning.
Re: Why is the site going down?
Down again for a chunk of yesterday evening. 
- merman
- Sheepie Whore

- Posts: 10943
- Joined: Wed Feb 16, 2005 1:44 pm 0
- XBL Gamertag: merman1974
- Yahoo Messenger: andrewrfisher
- Location: Skegness, England
- Contact:
Re: Why is the site going down?
There is also a lot of spam hitting phpBB boards right now, a new exploit to break Captchas is out there...
Twitter, Xbox, Wii U and Steam - merman1974
ZZAP is back - https://www.patreon.com/zzapmagazine
ZZAP is back - https://www.patreon.com/zzapmagazine
- zip accident
- Sheepie Whore

- Posts: 13928
- Joined: Sun Feb 20, 2005 1:58 pm 0
- Location: Bristol, UK
Re: Why is the site going down?
Afternoon and eveningIstar wrote:Down again for a chunk of yesterday evening.
"My way is the way of not fighting":- the book of Enter the Dragon.


