Page 1 of 2

SQL errors

Posted: Wed Oct 12, 2011 12:24 am
by MrJoey
For the last couple of days, I think ever since that day the forums was down and was just saying "be back soon" I've been getting SQL errors when visiting it from time to time. I actually just decided earlier to make a topic, but since then it hasn't happened, so I have no screenshot to take of the error itself. Once I get it, I'll post a screenshot and hopefully it can be fixed by the appropriate person.

Re: SQL errors

Posted: Wed Oct 12, 2011 8:11 am
by Zanti
I got one right when I was trying to open this topic >.<

Re: SQL errors

Posted: Wed Oct 12, 2011 1:00 pm
by SM-Count
They go away with a refresh right?

Re: SQL errors

Posted: Wed Oct 12, 2011 1:24 pm
by MrJoey
They do.

Re: SQL errors

Posted: Wed Oct 12, 2011 3:07 pm
by The Invisible
I don't think i got 1 of those.
Edit: Yeah i definitely didn't see any of those errors (yet?)

:sohappy:

Re: SQL errors

Posted: Wed Oct 12, 2011 3:22 pm
by *BlackFox
I get that error every once in awhile

Re: SQL errors

Posted: Wed Oct 12, 2011 3:26 pm
by Swindler
Yeah I got them once in a while too.

Re: SQL errors

Posted: Wed Oct 12, 2011 6:34 pm
by Zanti
Image

Re: SQL errors

Posted: Wed Oct 12, 2011 11:08 pm
by MrJoey
That's it exactly. Still haven't gotten one...

Re: SQL errors

Posted: Fri Oct 14, 2011 2:31 am
by Ryoko
Thats interesting. Please keep us informed if you do.

Re: SQL errors

Posted: Fri Oct 14, 2011 8:51 am
by Zanti
I get one like once or twice a day when I check SRF, not all the time. The error is always exactly the same as the one I posted above. No idea why this happens though, I actually first thought it was just me until i noticed MrJoey's post here..

Re: SQL errors

Posted: Fri Oct 14, 2011 9:02 pm
by MrJoey
For me it's more once or twice a week. Just got one for the first time in quite a few days.

Re: SQL errors

Posted: Fri Oct 14, 2011 9:20 pm
by Juicy
I get those pretty much every day when I try open the forum.

Re: SQL errors

Posted: Fri Oct 14, 2011 9:52 pm
by *BlackFox
Does anyone know what's wrong?

Re: SQL errors

Posted: Fri Oct 14, 2011 10:04 pm
by ltsune
I have personally never gotten any of those, and I use SRF every day.
Sounds kinda weird.

Re: SQL errors

Posted: Sun Oct 16, 2011 9:03 am
by Zanti
I still get them once or twice a day, but only when I try to view the index page.

Re: SQL errors

Posted: Sun Oct 16, 2011 12:46 pm
by MrJoey
Yeah, for some reason the Index page is the only page that gets the error for me too, so it isn't a big problem since I use the links on the left to navigate the site, except for once in a while when I'm just logging on.

Re: SQL errors

Posted: Wed Oct 19, 2011 8:46 pm
by William-CL
I keep getting them also. As well as Noticing that some threads are telling me they are Locked when they are NOT locked. Like this thread. viewtopic.php?f=76&t=129233
If I just click into other games, it tells me it's locked, but I can reply and I know that it isn't locked.
viewforum.php?f=76

Re: SQL errors

Posted: Thu Oct 20, 2011 8:02 am
by Swindler
The errors only occur when I write silkroadforums.com instead for www.silkroadforums.com. 0o

Re: SQL errors

Posted: Tue Oct 25, 2011 7:38 pm
by William-CL
Swindler wrote:The errors only occur when I write silkroadforums.com instead for http://www.silkroadforums.com. 0o

Mine is bookmarked and i just click it again and it works.

Re: SQL errors

Posted: Sat Nov 19, 2011 6:23 pm
by Ryoko
I actually got the error myself. I found it.

This is the auto pruning line of the index page. We had so many thousands of inactive users who never completed their registration by returning their registration email. I tried doing batch prunes within the control panel, but the scale of qualifying accounts was so massive, it would bring the system to its knees and never complete the task.

So.

A script was made. Every time someone views the index page, it has a small chance to 'snipe' out a random inactive user ($lottery) whos account is 2 years old or more, has no posts and never returned the registration email.

Well.

After about 5 months, it ran out of qualifying users. RIP some 20K accounts. And therefore, errors out. Each day, more accounts become qualified (as they become older than 2 years) but not enough to 'sustain' the frequency that this chance occurs.

Thus the error.

I have a correction ready, but I'm having trouble as of late getting into the FTP. Hopefully it will be sorted soon.

Re: SQL errors

Posted: Sat Nov 19, 2011 10:10 pm
by Zanti
Aight. Just happy to know it's not a problem from my side :]

Re: SQL errors

Posted: Sun Nov 20, 2011 5:36 pm
by *BlackFox
I hope it will be fixed soon... It's becoming really annoying! xD

Re: SQL errors

Posted: Thu Dec 08, 2011 9:12 am
by Swindler
Not related to the errors - but is it just for me the website has been really slow the last days? It has worked fine today though.

Re: SQL errors

Posted: Thu Dec 08, 2011 11:34 am
by The Invisible
Swindler wrote:Not related to the errors - but is it just for me the website has been really slow the last days? It has worked fine today though.

It has been working normally with me.

Re: SQL errors

Posted: Sun Dec 11, 2011 12:43 pm
by RuYi
Swindler wrote:Not related to the errors - but is it just for me the website has been really slow the last days? It has worked fine today though.

If it was only briefly, I might have been responsible for that.
My actions in the administration control panel often slow down the forum, but that lasts no longer than a minute, and should not persist once I'm done.

Re: SQL errors

Posted: Sun Dec 11, 2011 11:17 pm
by Majorharper
RuYi wrote:
Swindler wrote:Not related to the errors - but is it just for me the website has been really slow the last days? It has worked fine today though.

If it was only briefly, I might have been responsible for that.
My actions in the administration control panel often slow down the forum, but that lasts no longer than a minute, and should not persist once I'm done.


While me and gaige were in skype a few days ago we both noticed it, and gaige said something about the website possibly being ddosed idk

Re: SQL errors

Posted: Tue Dec 13, 2011 11:49 am
by RuYi
Master_of_Puppets wrote:While me and gaige were in skype a few days ago we both noticed it, and gaige said something about the website possibly being ddosed idk

I wouldn't say it's impossible, but I find the chance of a DDoS attack highly unlikely. We have not banned any major characters for a while, and I doubt people hold a grudge against us for so long. Then again, we did have some interesting SRF'ers that got the banhammer and weren't really happy with it.

About the downtime we just had: I fear I'm - although indirectly - responsible for that. While forum moderation has been very time-consuming lately, this time it brought the forum on its knees, resulting into a downtime which lasted around 50 minutes.

Might just be unhappy coincidence, though, but coincidence makes a terrible scapegoat.

Re: SQL errors

Posted: Wed Dec 14, 2011 10:25 am
by Warspawn
So from Ryoko's post, if a member changed some details in the last couple months and didn't respond, could that account be deleted/marked inactive?

eg. Image

Re: SQL errors

Posted: Wed Dec 14, 2011 12:54 pm
by The Invisible
Warspawn wrote:So from Ryoko's post, if a member changed some details in the last couple months and didn't respond, could that account be deleted/marked inactive?

eg. Image

It could get marked inactive but i believe that only accounts with 0 posts get deleted eventually.