Game Development Community

Server CPU Usage Slowly Creeps Up to 100

by Orion Elenzil · in Torque Game Engine · 05/19/2006 (10:27 am) · 1 replies

We're running a dedicated server which is hosting about 40 to 70 people constantly. (pcdmusiclounge.com)

Over the course of about 3 days, we're seeing a slow increase in CPU usage, until finally it reaches 100% and the simulation tanks.

I'm going to add some informative dumps about once per minute:
* instantaneous user count.
* cumulative user count.
* instantaneous count of # of instances of each simObject class.

We're probably creating ghosts and not destroying them properly,
but any other ideas out there ?

tia, orion

ps we're hiring

#1
05/19/2006 (4:50 pm)
Looked into this a bit and we were accumulating one HTTPRequest object every 7 seconds.
so, that's about 34,000 over 3 days, so that was probably it.

also discovered some other leaks,
but actually it was a tighter ship than i expected !