How to identify
#1

Removed
Reply
#2

Scriptwise, try Debugging. I've read you're using MySQL. Search for While loops and check if a never-ending loop is taking place. (Add some print function before, after, and when it's looping). Long story short, check for Recursions. Recursions may cause a cpu lag spike like that. Also a server freeze (If you happen to have one, it's ought to be a Recursion)
Reply
#3

Removed
Reply
#4

Quote:
Originally Posted by Fernado Samuel
Посмотреть сообщение
Ok, the graph i shown above have any problems? that CPU usage can cause any further problems related to the server?
If you are experiencing some kind'of lag when you know it isn't right, then it's a script problem and you should really optimize your script or look for lag-related issues (Possibly the overuse of OPU).

Are your users complaining about something that ain't right at the time of the cpu spike? If so, then do what I've said above.
Reply
#5

open task manager then process and you will see all your running process stop out the ones takeing a lot cpu usage or the ones not needed and you will see the cpu usage will just decrease
Reply
#6

Removed
Reply
#7

sorry sir i thought you are asking about you cpu in windows didnt read the line "I'm using MySQL script."
and was a bit confused
well you problem is mostly because of the extra objects you created in your script and the extra codes which are not efficient so you need to find them your self and make it better and efficient.
Reply
#8

Removed
Reply
#9

bump
Reply
#10

What version of the MySQL plugin are you using and on average how many players were on during that time that the graph shows?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)