Please Help Profiling my script
#10

As predicted - you are perhaps using one of the worst ini file systems ever: Dini. It's not bad for an occassional (maybe testing?) writing and reading to a file but what you're doing there is *I think* you're writing hundreds and hundreds of user files at once and updating them too. That can get pretty darn slow with Dini.
Or maybe you have a loop in your gamemode that just lags your whole server down. Without any code we can't tell.
I suggest either switch to a relational database model (i.e. change to databases - using built-in SQLite) or to a better ini file manager, like y_ini.

It might also be one of your plugins causing your nearly 100% CPU load but I'm not sure. Maybe someone with a little bit more knowledge can help you more.
Reply


Messages In This Thread
Please Help Profiling my script - by perfectboy - 13.05.2015, 09:39
Re: Please Help Profiling my script - by perfectboy - 13.05.2015, 09:42
Re: Please Help Profiling my script - by perfectboy - 13.05.2015, 09:45
Re: Please Help Profiling my script - by Waffl3 - 13.05.2015, 11:10
Re: Please Help Profiling my script - by cm666 - 13.05.2015, 12:51
Re: Please Help Profiling my script - by perfectboy - 13.05.2015, 13:40
Re: Please Help Profiling my script - by hamzajaved780 - 13.05.2015, 14:39
Re: Please Help Profiling my script - by Waffl3 - 13.05.2015, 15:07
Re: Please Help Profiling my script - by perfectboy - 14.05.2015, 14:40
Re: Please Help Profiling my script - by Virtual1ty - 15.05.2015, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)