Macintrash Posted January 3, 2011 Posted January 3, 2011 A couple of days ago my host moved me to a limited server to due "excessive resource usage". My site has been going for 4 years now but i never really checked the usage monitor until now. 2% of CPU, 8% of memory, 140 SQL procs. Horrible! I know! Its never been that high. It went from 1% of each to a massive amount in 3 days. The worst part? The site is and has been offline for 3 days, and the resources are still heavily used! The crons have been cutoff from their mysql connections, the game itself also has mysql.php disabled... has been disabled for 2 days. The usage is still deadly high! The ONE thing i suspect is my WIKI. This all happened as soon as i disabled my wiki from allowing bots to spam it, rather than using robots.txt, i just disabled a useragent with "bot" in it from connecting properly. Is it possible the bots are getting revenge? Is it just my scripts infinitely looping in the memory? I can show you my usage stats if youd like. This is frustrating, anyone ever experienced this before? Quote
BrowserGamesFactory Posted January 3, 2011 Posted January 3, 2011 mccode is known for excessive resource usage but so is media wiki. I once setup a wiki (using mediawiki) for metin2 on a shared server and it was a big fail, the script caused excessive resource usage. Quote
Macintrash Posted January 4, 2011 Author Posted January 4, 2011 I wonder if it's mediawiki itself, or the bots that flood it. Anyway, i moved the wiki folder back a directory and replaced the index with a redirect :) I be trollin the bots. Since the move, things have gotten a lot better. I suspect it was the bots trying to spam it. A tip to everyone: host a wiki elsewhere! Even if this means a new and cheap domain purely for the wiki. Quote
SHAD Posted January 4, 2011 Posted January 4, 2011 Hey i won't mind playing a game thats been up for 4 years, whats your url? :) And why don't you just stop people from refreshing the wiki page, put a time limit on it, like every 5 seconds or somethings. it might help prevent constant refreshes. Quote
a_bertrand Posted January 4, 2011 Posted January 4, 2011 I do have a wiki for my own game since quiet some time and the wiki is on a shared hosting. The wiki uses mediawiki. I never had any issues with it, so wonder what you did to get such situation. Also what kind of bots do you want to prevent? Google to crawl your pages or bots which spam your wiki? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.