My server, once has a few hours online, begins to lag like hell, on intervals for everything.
Last time I've took a look in CPU manager, and it was funny: 100%-30%-100%-25%-100%-50% drawing waves in the manager, huge waves
I think that it can be a threadpool problem.. there is my config:
Code: Select all
#============================================================## Thread Configuration ##============================================================## Extreme caution should be here, set to defaults if you do# not know what you are doing.# These could possibly hurt your servers performance, or improve # it drastically. ThreadPoolSizeEffects = 25ThreadPoolSizeGeneral = 32 #Default 2UrgentPacketThreadCoreSize = 5#Default 4GeneralPacketThreadCoreSize = 10#Default 4GeneralThreadCoreSize = 10 AiMaxThread = 10 #Packet LifeTime in milliseconds, 0 - disabled featurePacketLifeTime = 0 #Dead Lock Detector (a separate thread for detecting deadlocks)#For improved crash logs and automatic restart in deadlock case if enabled#Check interval is in secondsDeadLockDetector = FalseDeadLockCheckInterval = 20RestartOnDeadlock = False
My CPU is a Xeon quad with 2.6 GHZ and 8GB RAM DDR2..
Sometimes the server crashes due to out of memory errors to.. so there is double problem ;S
And about my events, their tasks are threaded as general, they are a lot similar to FBIAgent's TvT (and the lag is the same when there isn't event).
I have more customizations, but they are things like creaturesays, announcements.. not bucles or lists ;S