Posts: 32
Threads: 1
Joined: Aug 2006
Reputation:
0
I run it in my role play server for 12 hours with 100~135 players online,
this map contains more than 60k codes,
I need the finally log to find out what causing our server laggy,
Now this plugin it's taking 1G of memory,But now it stills works fine.
And never cause server run slowly!
Posts: 321
Threads: 160
Joined: May 2009
Reputation:
0
[12:33:33] Loading plugin: profiler.so
[12:33:33] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by plugins/profiler.so))
any suggestions?
Posts: 338
Threads: 27
Joined: Oct 2007
Reputation:
0
Hello I still got big crash problems. It seems to work ok on my filterscrips but not on my gamemode it nearly always crashes after using gmx. Also I like to be able to start the profiling when I like to and not just when the script starts. Because when my server startup it calls like 10000 callback and that makes the end result to be misleading. Because I don't care if the server takes 1 min to startup as long all other code is fast and not called to often.
Also seem to still have problem with wired result sometimes:
SetPosWithStreamObj 1 38295494 38295494 69.92
yeah sure that function took 38 secs to run-_-
Posts: 321
Threads: 160
Joined: May 2009
Reputation:
0
now i get:
Failed (plugins/profiler.so: undefined symbol: _ZGVZN9SingletonI13AmxNameFinderE11GetInstanceEvE8 instance)
Posts: 380
Threads: 11
Joined: Feb 2010
Reputation:
0
First of all, this is an excellent plugin.
Working fine on windows test server.
initial results show a high percentage of time on "CallLocalFunction", which only appears in the script within a command that was not used during the test.
Would the profiler be pointing to SetTimer, and SetTimerEx?
can anyone enlighten me?
OK this is what we got:
- zcmd executes ALL commands via CallLocalFunction()
- foreach, zcmd, streamer use it for ALS-style hooks
- YSI uses CallLocalFunction for loads of things
So it's kinda normal that yout script has lots of calls to CallLocalFunction() - you can't do anything about that (except make your own CallLocalFunction and replace the default one)
Posts: 380
Threads: 11
Joined: Feb 2010
Reputation:
0
The test that produced these results involved starting a local test server, joining with one player, typing a few commands ( one or two max ), then doing nothing for about 15 minutes.
I was never too concerned about the init functions, however its unlikely they are being timestamped one after the other, because I was on the server and performing / seeing results from commands well within 10 seconds. The only delay visible from the console on startup is mapandreas, which seems to hang the startup process for one or two seconds.
The script doesn't seem to lag at all, I have not had any problems with it.
I will do some more testing over a longer time period with more players, hopefully this will produce some results which make more sense.
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
This crashes my server on gmx sometimes. "Access violation when reading [00000000]"
I guess this needs to be re-written as currently its output is not very informative and mostly misleading (the time taken by callees is included in a caller's time) so it's almost useless. Maybe I'll do something with this soon...