Posts: 666
Threads: 94
Joined: Aug 2009
Reputation:
0
My server updated to R7 features ect. We use them good. no bugs.
ever since we did this... ServerFFS says the server using 50%-60% CPU usage, and they restart it.
Does Pvar's accross many filterscripts Use to much CPU?
We have 3-5 Filterscripts sharing, if not more...
Posts: 622
Threads: 5
Joined: Feb 2009
Reputation:
0
I have this problem too.
I've tested buth R4 and R7 version of server and the conclusion was that somehow R7 and beyond.. has some strange memory leak. I guess is because of PVars are somehow allocated by players(at join) and not freed of player disconnects.
PS: I used the default gamemode (grandlarc) and got the same results.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Make sure you upgrade to 0.3a R8 (simply, a crash-fix, but still).
I'm not able to replicate this.
Posts: 622
Threads: 5
Joined: Feb 2009
Reputation:
0
Allready done that. The memory problem is still present.
I've posted in this topic because CPU usage grows progressive in time together with memory (because memory leak).
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by xxmitsu
Allready done that. The memory problem is still present.
|
How many PVars do you actually have scripted?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by xxmitsu
None! I've stopped using Pvars because they were slow comparing with native pawn static allocated memory.
Allready mentioned that I've made some tests with the default grandlarc gamemode and the result is still the same.
|
Oh, I see, I thought you said you added PVars to it.
Strange then, maybe something was left in that was supposed to be for the 0.3b release and not fully removed?
Posts: 1,498
Threads: 19
Joined: Jun 2009
Reputation:
0
Could be a chance of faulty or simply overloaded hardware aswell, I havent had any memory leaks or CPU spikes on servers in 0.3 yet on my machines.