Author Topic: Server Crashing - Odd code in Log Files  (Read 3481 times)

vague312

  • VM-68
  • Posts: 217
Server Crashing - Odd code in Log Files
« on: December 08, 2008, 02:29:55 AM »
Im having a problem with my dedicated server crashing.
The crashing tends to be at random mainly when changing maps.

Just because i took a look at my server log files and noticed lines like the following several hundred times.

Code: [Select]
Info string length exceeded \pb\!0\pr\!1!2\mapname\pball_shreds2\TimeLeft\3:18\_scores\Red:21 Blue:12 \gamename\Digital Paint Paintball 2 v1.912(160)\gameversion\DPPB2 v1.912(160)\needpass\0\gamedate\May 27 2008\grensounds\true\sv_minclientbuild\20\pbgren_ball1sperburst\1\ctfmode\2\flagcapendsround\false\guntemp_inc\0\SmokeGrens\1\PaintGrens\1\sv_votemapenabled\0\swear_filter\true\gren_explodeonimpact\0\elim\8\grenadeffire\false\ffire\false\e-mail\Vague312@yahoo.com\admin\Vague312\website\www.vague312.com\zombietime\2\maxclients\14 -- gamedir -- pball

and

Info string length exceeded \pb\!1!2\pr\!0\mapname\airtime3\TimeLeft\6:05\_scores\Red:49 Blue:31 \gamename\Digital Paint Paintball 2 v1.912(160)\gameversion\DPPB2 v1.912(160)\needpass\0\gamedate\May 27 2008\grensounds\true\sv_minclientbuild\20\pbgren_ball1sperburst\1\ctfmode\2\flagcapendsround\false\guntemp_inc\0\SmokeGrens\1\PaintGrens\1\sv_votemapenabled\0\gren_explodeonimpact\0\elim\8\grenadeffire\false\ffire\false\e-mail\Vague312@yahoo.com\admin\Vague312\website\www.vague312.com\zombietime\2\hostname\JoeZam's Pub\maxclients\14 -- protocol -- 34

Any ideas on what this could be?
« Last Edit: December 08, 2008, 05:20:22 AM by KnacK »

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Server Crashing - Odd code in Log Files
« Reply #1 on: December 08, 2008, 05:19:09 AM »
1. What version of server code are you running.
2. Was distribution are you running.
3. Is it repeatable? If so, how do you do it?

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Server Crashing - Odd code in Log Files
« Reply #2 on: December 08, 2008, 08:42:41 AM »
Is there already a feature vote to remove the "Info string" from the log file? That pissed me off for a long time. 500MB logfile with more info strings than...

vague312

  • VM-68
  • Posts: 217
Re: Server Crashing - Odd code in Log Files
« Reply #3 on: December 08, 2008, 10:24:14 AM »
the version is build 23 win and the server is running windows.
not a clue what is happening to cause the crashing.

I attempted to re-upload the entire program and restart the server, still crashes from time to time.

vague312

  • VM-68
  • Posts: 217
Re: Server Crashing - Odd code in Log Files
« Reply #4 on: December 09, 2008, 12:23:23 AM »
ok its working for the most part.
I managed to delete everything on the server (maps,dlls,logfiles,etc.) and uploaded the game again. For some reason i no longer see those strings in the log file. The server still crashed but it only happened once this time.

Is there any kind of debug mode that prints errors?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Server Crashing - Odd code in Log Files
« Reply #5 on: December 09, 2008, 01:58:45 PM »
Wow, it looks like you set all the cvars to server info cvars.  That makes the server send out all that information whenever somebody requests server info.  Packet sizes are limited, though, so data starts getting cut off if you try to send out too much.  Those warnings shouldn't really just be ignored.

I'm not sure if that was directly related to the crash or not - might have been overflowing a buffer.  As for debugging, if you're running a linux server, you can use gdb:

gdb paintball2
run +exec whatever +map yadda yadda

vague312

  • VM-68
  • Posts: 217
Re: Server Crashing - Odd code in Log Files
« Reply #6 on: December 09, 2008, 03:18:39 PM »
Wow, it looks like you set all the cvars to server info cvars. 

How would i go about setting them back to regular cvars? Put them in the publicmode.cfg or change "set" to "seta" in my current server.cfg

nope the server is running windows.

IronFist

  • Autococker
  • Posts: 1304
Re: Server Crashing - Odd code in Log Files
« Reply #7 on: December 09, 2008, 05:38:50 PM »
How would i go about setting them back to regular cvars? Put them in the publicmode.cfg or change "set" to "seta" in my current server.cfg

nope the server is running windows.

Maybe you copied/pasted and kept the "s" at the end of your original set/seta lines. I'm not 100% sure, but I believe the only way for variables to end up in the serverinfo is if you keep the "s" flag on them, e.g. "seta PaintGrens 1 s". This might explain why your problem went away with a new config.

If it still doesn't work, you should post your set of configuration files (with passwords changed, of course).

vague312

  • VM-68
  • Posts: 217
Re: Server Crashing - Odd code in Log Files
« Reply #8 on: December 09, 2008, 11:45:20 PM »
dnno
With some of the emails im getting from tech support im getting ready to dump my current host. :(
i did some searching on the forums and saw a vps host might work as a server. is there any truth to this?

thanks for the help with this guys

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Server Crashing - Odd code in Log Files
« Reply #9 on: December 10, 2008, 11:28:24 AM »
fl1p and I hosted some servers on a VPS for a month or two - they're OK provided you can make sure the processes won't be killed for too much CPU use, which only happened about twice during our month.

vague312

  • VM-68
  • Posts: 217
Re: Server Crashing - Odd code in Log Files
« Reply #10 on: December 10, 2008, 09:31:55 PM »
how many players were the servers running if you dont mind me asking? anything has got to be better then these clowns at this point.

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Server Crashing - Odd code in Log Files
« Reply #11 on: December 11, 2008, 01:37:35 PM »
They were UK hosted, but we could get about 15 people on a server with no lag and no automatic cpu-kills. There were usually 3 servers running, but usually only one was being used at once.

vague312

  • VM-68
  • Posts: 217
Re: Server Crashing - Odd code in Log Files
« Reply #12 on: December 13, 2008, 04:23:37 PM »
Interesting ill have to look into that when i have the extra $ for a windows based system.

I think i might have figured the problem out.
One of the regulars noticed it tends to crash right after eclissi. So i logged in and loaded up holycow2 (that was the next map in the rotation) Bang Crash! Im guessing that map file got corrupted when i was uploading causing it to crash every time the map came up in the rotation.

So far it seems to have fixed the problem.