[CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
Code:
sm exts list Code:
root@l4sourcemod:/opt/steam/L4D2_LAST_STAND# gdb -p 1756 |
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
Does it work if you start vprof recording using the game's built-in commands?
Does it work if you do that without SourceMod loaded at all? |
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
This is a known issue for L4D1/2 games.
Looks like I managed to find a solution: Write in RCON: Code:
vprof_on Code:
sm prof start vprof To stop the profiler: Code:
sm prof stop vprof Code:
sm prof dump vprof Code:
vprof_off |
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
Does anybody know, can valve profiler generate a log in real-time (to be able to see the call stack before the crash) ?
Here is a complete list of commands:
Spoiler
That potentially could be extremely useful, because we can see the detailing over the plugin and method names. Sample:
Spoiler
|
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
TY Dragokas this seems to have solved the issue
I think SM PROF should check to see if vprof is on or it will segfault/crash |
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
I need to head out back into the barn and grab my shovel to start digging to attempt to find someone who can assist with Valves Profiler...... VPROF
I have some money I am willing to share for just a couple minutes of someones time to give a quick crash course on how to actually use VPROF to determine whats lagging the server the most to remove any offending plugins or assist in making L4D(2) not be so damn laggy even with meta/source mod unloaded and on a virgin server |
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
Quote:
|
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
well let me be 100% open and honest here when I am playing with myself the 100 tickrate enabler everything runs fine a few random people join everythings fine but then out of the blue you get that 1 @SSHOLE who injects his hacks into the server and things really start to lag I want to use VPROF right when they inject hacks and catch them right as they do it..... im trying to track down the hit reg issue I notice hits start to miss and developer console goes nuts even on official dedicated servers
I for one want this crap detected and stopped I dont mind dumping a VPROF file right when things start to lag and handing it to someone to take a look the most common time this happens is in versus mode with 8 people on the server rarely happens in coop with just 4 |
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
Console printing in SRCDS is extremely expensive, so if there is an issue that is allowing people to spam the server console that could just be the cause of the performance issues.
|
Re: [CRASH] SM 1.11.0.6634 Linux Profiler VPROF segfaults
canadianjeff, well, you have lags randomly, but you still unsure who or what caused it?
If that's a hardware issue: 1) you must have some control panel to be able to check: - CPU loading - memory loading - network channel (not always) If on VPS, you have much more options, at least try ping some public service 2) enter net_graph 4 in console, you can estimate CPU / network loading per entity types. 3) try to change the map to exclude entities overflow issue. 4) Check handles leaking. Instruction is in Section 11. 5) Try command sm plugins unload_all - (may crash your server) - it will forcibly unload all your plugins. 6) Check addons/sourcemod/logs for error*.log If that's human-related: 1) There is a function: Quote:
2) As asherkin said, that could be commands spamming. I'm sure somewhere should be a solution for this. But, if not, I think you could intercept messages and force a minimum delay between commands, something like: PHP Code:
Also, check console.log for some unusual (too repeatable) commands from players. 3) Change rcon password if that's too short/simple. 4) Install all know fixes against bad performance / exploits known which published in this topic: [TUT] SourcePawn Scripting - Tips, Basics to Advanced (Section 6. Server Fixes). Good luck! |
All times are GMT -4. The time now is 00:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.