• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Server too busy...

Status
Not open for further replies.
Level 35
Joined
May 22, 2007
Messages
5,366
I keep getting this "server too busy" thing sometimes when I try and go through the site.

Ok I can see what the obvious reason is, but what exactly is the cause? Too many users on at the same time? A problem with my own account? What could it be? And most importantly how do I stop this madness :stare:?
 
Level 15
Joined
Nov 1, 2004
Messages
1,058
The "server too busy" message will not occur from the bandwidth getting overloaded. And there's no such thing as a cron job that scrubs the RAM. The only things remotely close to that are the GC for the PHP caching system (which isn't to blame) and the /tmp directory cleanup, which only runs daily and has a negligible effect on the system.

Most likely, the fcgi engine is not able to handle all requests in a timely manner.

EDIT: Ralle and I looked into it and he made a change that may improve the site a bit. Keep us posted if you encounter any more problems.
 
Last edited:
Level 15
Joined
Nov 1, 2004
Messages
1,058
Right now the server is running out of RAM (swapping about 400MB of memory pages). Hive's growing...maybe a server hardware upgrade is in order at some point.
 
Last edited:

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,182
what's most important?
More RAM (1 GB)
or
Better CPU (dual core)


Maby if there is a new theam for the site that would start up if the server reacht a critical point

Maby if there is a new theam for the site that would start up if the server reacht a critical point a minimal theam
that what i did with Joomla when triyng to amin it

iseedeadpeople
warpten
greedisgood
lumberjack

Anyway. It's all a matter of money. An additional server is costly. Better upgrade than have two servers. It's very hard to synchronize them anyway.
 
what's most important?
More RAM (1 GB)
or
Better CPU (dual core)

Dual core? I wouldn't bet on it, cus my pal here has worse performance than me with it, and I'm running on an AMD Athlon 64+. I think that both RAM upgrade and CPU upgrade would be better, however it might cost more. Try with a Dual Core, but make sure that both cores are atleast 2ghz each (if they exist, that is :S). I'm gonna click all those ads up there for money :D
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,255
Its only recent all this ram problem, I recomend flushing a lot of stuff that slows this thing down, diagnose the problem and run tests, there must be something that has happened, like too many users or maps or something that causes too much to happen. Well this site will probably expand quite a bit for SC2.
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,182
You are right DSG.
Wolverabid thinks that it is because of the new chat. But I do not believe that.
The new chat is much more optimized for the server. All messages (younger than 30 seconds) are stored in the memory, user sessions are stored in the memory and the memberlist is a plain file that loads every time.
I can't see how it should overload the server.

Nothing new has happened to the site, so I don't know what should be the problem.
 
Level 15
Joined
Nov 1, 2004
Messages
1,058
Unfortunately, that would be hard to implement. The current filtering system operates through the web server software (lighttpd). Users with too many connections are blocked before even reaching the scripts that run the site. Additionally, lighttpd has no direct way of distinguishing who is a registered user or not.

As for the other suggestion. It might work well, we just need to determine which patterns of traffic would be considered suspicious. :hohum:
 
Level 35
Joined
Oct 9, 2006
Messages
6,394
As for the other suggestion. It might work well, we just need to determine which patterns of traffic would be considered suspicious. :hohum:

That will be hard with those users we got... I dont think they follow any pattern at all..

Except maybe if someone is dl'ing the same model/skin/art or similar manytimes (more then 2-3 times at day..)
 
Level 35
Joined
May 22, 2007
Messages
5,366
Is there a way to trace "bot" like behavior? If you find a registry that exhibits "bot" behavior......ban it.

That will at least lower some of the load over a period of time as a "long term" protocal to back up a solution.

Of course thats only if its possible to do.

Perhaps with moderators who would specialize in "bot" spotting.
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,182
Is there a way to trace "bot" like behavior? If you find a registry that exhibits "bot" behavior......ban it.

That will at least lower some of the load over a period of time as a "long term" protocal to back up a solution.

Of course thats only if its possible to do.

Perhaps with moderators who would specialize in "bot" spotting.
Naah i have something else on my mind.
Everyone will be allowed to load a maximum of 60-100 pages per minute. If they exceed, they will get a time ban.
 
Status
Not open for further replies.
Top