Dedicated server gets slower over time
by Ian Omroth Hardingham · in Technical Issues · 04/13/2011 (6:46 am) · 8 replies
Guys, I have a Torque dedicated server, which mostly serves information; it doesn't host a mission or a gameworld or anything like that.
Over the course of several hours it gets noticably slower than on startup. The RAM usage does not increase, indicating that there isn't a serious memory leak.
Any ideas on what I can do to diagnose the issue?
Thanks,
Ian
Over the course of several hours it gets noticably slower than on startup. The RAM usage does not increase, indicating that there isn't a serious memory leak.
Any ideas on what I can do to diagnose the issue?
Thanks,
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
#2
Would you expect a log file of 10meg to cause problems?
Ian
04/13/2011 (8:09 am)
Hi Scott, thanks for the reply.Would you expect a log file of 10meg to cause problems?
Ian
#3
There's no noticable memory leak, but performance is degrading over time.
I did not consider the log file, maybe worth checking out.
04/13/2011 (8:09 am)
Interesting, I'm also seeing this happen on dedicated servers that have been up for several hours. There's no noticable memory leak, but performance is degrading over time.
I did not consider the log file, maybe worth checking out.
#4
Yes. 10 MB is huge for a text file! Depending on the OS, the file system being used, and the way Torque is handling the file, it might be able to handle it.. but I would be surprised.
Easy way to find out: start Torque with "-log 0" to disable the log file. Run it for a few hours and see what happens.
04/13/2011 (9:26 am)
Quote:Would you expect a log file of 10meg to cause problems?
Yes. 10 MB is huge for a text file! Depending on the OS, the file system being used, and the way Torque is handling the file, it might be able to handle it.. but I would be surprised.
Easy way to find out: start Torque with "-log 0" to disable the log file. Run it for a few hours and see what happens.
#5
04/13/2011 (9:28 am)
Thanks guys, fingers crossed this fixes it.
#6
04/14/2011 (3:34 pm)
So did it? I'm curious.
#7
04/15/2011 (3:48 am)
Fixed it - thanks Scott.
#8
Honestly, I was suggesting turning off the log file as more of a diagnostic test rather than a permanent solution. If you don't need the log then I guess that's an easy fix, but If you do want your server to keep a log file, I may have some ideas.
04/15/2011 (3:20 pm)
Interesting. I'm not surprised, but still.Honestly, I was suggesting turning off the log file as more of a diagnostic test rather than a permanent solution. If you don't need the log then I guess that's an easy fix, but If you do want your server to keep a log file, I may have some ideas.
Torque 3D Owner Scott Richards
Is the process sleeping properly? How much CPU time is it consuming?