Raised This Month: $51 Target: $400
 12% 

[L4D2] -debug doesnt work.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
midnight9
Senior Member
Join Date: Nov 2012
Old 10-25-2016 , 07:01   [L4D2] -debug doesnt work.
Reply With Quote #1

Hello, My l4d2 servers occasionally crash on map change. I've added -debug to the start line in order to get debug.log and hope that would point me the cause of the crashes but the debug.log file is not being created after the crash? Im not sure what im missing?
Im running servers on Ubuntu 14.04.3 LTS
midnight9 is offline
Rushy
AlliedModders Donor
Join Date: Jul 2015
Location: Melbourne, Australia
Old 10-25-2016 , 08:32   Re: [L4D2] -debug doesnt work.
Reply With Quote #2

You may need to set up the memory dump limit manually. Follow this:
https://developer.valvesoftware.com/...ng_under_Linux

When it crashes it will make a 'core' file and you need to use 'gdb' to open it.

Have you also tried updating sourcemod and metamod and the plugins you have installed?

Also chuck accelerator onto your server (Can help working out crashes as well):
https://forums.alliedmods.net/showthread.php?t=277703
__________________
Rushy is offline
midnight9
Senior Member
Join Date: Nov 2012
Old 10-25-2016 , 09:26   Re: [L4D2] -debug doesnt work.
Reply With Quote #3

Quote:
Originally Posted by Rushy View Post
You may need to set up the memory dump limit manually. Follow this:
https://developer.valvesoftware.com/...ng_under_Linux

When it crashes it will make a 'core' file and you need to use 'gdb' to open it.

Have you also tried updating sourcemod and metamod and the plugins you have installed?

Also chuck accelerator onto your server (Can help working out crashes as well):
https://forums.alliedmods.net/showthread.php?t=277703
Will try that thanks. No i havent try updating SM and MM myself but i know someone whos experiencing same type of crashes ( on map change) and is using almost same plugins and extensions and upgrading or downgrading of the SM or MM didnt help. Yes i came across the accelerator but as its been mentioned some where on this forum Accelerator doesnt work with OVH's kernel and i would need to change kernel in order to get Accelerator running.
midnight9 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-25-2016 , 10:55   Re: [L4D2] -debug doesnt work.
Reply With Quote #4

just restart everyday server and no crash.

If crash continue, check plugins or extensions, i have fixed this issue with a reboot by day.

Last edited by eric0279; 10-25-2016 at 10:56.
eric0279 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-25-2016 , 14:28   Re: [L4D2] -debug doesnt work.
Reply With Quote #5

Grab the accelerator extension. It is much better than default debugger.
__________________
Spirit_12 is offline
midnight9
Senior Member
Join Date: Nov 2012
Old 10-25-2016 , 16:16   Re: [L4D2] -debug doesnt work.
Reply With Quote #6

Quote:
Originally Posted by eric0279 View Post
just restart everyday server and no crash.

If crash continue, check plugins or extensions, i have fixed this issue with a reboot by day.
Yea, im considering doing that if i find no other solution.

Quote:
Originally Posted by Spirit_12 View Post
Grab the accelerator extension. It is much better than default debugger.
As i have mentioned above this extension doesnt work with the kernel on my machine or i should say that the kernel has grsecurity and that is what prevents accelerator to work.
midnight9 is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-25-2016 , 17:58   Re: [L4D2] -debug doesnt work.
Reply With Quote #7

Quote:
Originally Posted by midnight9 View Post
Yea, im considering doing that if i find no other solution.



As i have mentioned above this extension doesnt work with the kernel on my machine or i should say that the kernel has grsecurity and that is what prevents accelerator to work.
I'm not aware of what grsecurity is, but a local compile should fix the compatibility issues.
__________________
Spirit_12 is offline
Wulfy
Senior Member
Join Date: Apr 2015
Location: Belgium
Old 10-26-2016 , 06:17   Re: [L4D2] -debug doesnt work.
Reply With Quote #8

Quote:
Originally Posted by midnight9 View Post
I've added -debug to the start line in order to get debug.log and hope that would point me the cause of the crashes but the debug.log file is not being created after the crash?
Aren't you looking for -condebug, not -debug?

Quote:
-condebug - Logs all console output into the console.log text file.
Source: https://developer.valvesoftware.com/...d_Line_Options
__________________
be happy

Last edited by Wulfy; 10-26-2016 at 06:19.
Wulfy is offline
midnight9
Senior Member
Join Date: Nov 2012
Old 10-26-2016 , 08:25   Re: [L4D2] -debug doesnt work.
Reply With Quote #9

Quote:
Originally Posted by Wulfy View Post
Aren't you looking for -condebug, not -debug?


Source: https://developer.valvesoftware.com/...d_Line_Options
I dont think that would provide my any helpfull data since i had HLSW running when the server crashed and didnt get anything usefull in HLSW console output.

Ok so it turns out that i was missing a lib, hence -debug wasnt working. I got debug.log file and it looks like this:

Code:
----------------------------------------------
CRASH: Wed Oct 26 14:29:00 CEST 2016
Start Line: ./srcds_linux -game left4dead2 -debug -nowatchdog -tickrate 100 -maxplayers 12 -ip xxx.xxx.xx.xx -port 27018 +map c5m1_waterfront +exec run04.cfg
End of Source crash report
----------------------------------------------
Any ideas why there is no information about what caused the crash?

Last edited by midnight9; 10-26-2016 at 08:38.
midnight9 is offline
Rushy
AlliedModders Donor
Join Date: Jul 2015
Location: Melbourne, Australia
Old 10-26-2016 , 09:53   Re: [L4D2] -debug doesnt work.
Reply With Quote #10

Quote:
Originally Posted by midnight9 View Post
I dont think that would provide my any helpfull data since i had HLSW running when the server crashed and didnt get anything usefull in HLSW console output.

Ok so it turns out that i was missing a lib, hence -debug wasnt working. I got debug.log file and it looks like this:

Code:
----------------------------------------------
CRASH: Wed Oct 26 14:29:00 CEST 2016
Start Line: ./srcds_linux -game left4dead2 -debug -nowatchdog -tickrate 100 -maxplayers 12 -ip xxx.xxx.xx.xx -port 27018 +map c5m1_waterfront +exec run04.cfg
End of Source crash report
----------------------------------------------
Any ideas why there is no information about what caused the crash?
Look for the 'core' file inside the root of the game folder (eg core.1111, this is the crash dump). I can send you an example of the process if you need

Open it up with gdb
__________________

Last edited by Rushy; 10-26-2016 at 10:01. Reason: words
Rushy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode