Author Topic: Server crashing uncomfortably often  (Read 3501 times)

0 Members and 1 Guest are viewing this topic.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Server crashing uncomfortably often
« on: June 02, 2010, 11:34:21 AM »
So lately whenever my server has more than 2 people in it, it crashes. However when I remove ULX it doesn't happen.
I am running default sandbox on flatgrass with no other admin mods to conflict it. I am also using the datastream fix. Any idea why this could be happening? I know I'm using the latest ULX and ULib.

There's no errors or anything either when it happens.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server crashing uncomfortably often
« Reply #1 on: June 02, 2010, 11:56:42 AM »
How highly correlated are the ulib installation and the crashing? Over what period of time?
Experiencing God's grace one day at a time.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Server crashing uncomfortably often
« Reply #2 on: June 02, 2010, 02:49:36 PM »
I tried using a different admin mod for a day. The server will crash whether there's a lot of props or not.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server crashing uncomfortably often
« Reply #3 on: June 02, 2010, 03:12:56 PM »
For a game known to crash on a stay wind, a day isn't really enough to say what's crashing it...
Experiencing God's grace one day at a time.

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Server crashing uncomfortably often
« Reply #4 on: June 02, 2010, 04:24:06 PM »
I dunno, we tried a few other mods for a couple of hours today again and had no issues, then went back to ULX and it started crashing every 10 minutes again.
I am using a few ULX plugins, too though. Unolimited, UTime, Playertitles, and XGUI.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Server crashing uncomfortably often
« Reply #5 on: June 02, 2010, 06:33:56 PM »
Unolimited, UTime, Playertitles, and XGUI - Try removing one a day until the crashes stop.
Personally, I'd try the following order first to last. UnoLimited, PlayerTitles, UTime, XGUI.
UNoLimited is meant to override Garry's default functions. I could see it perhaps conflicting instead of overriding.
PlayerTitles, well, it's older code and has been modified various times by more than one author I think to make it work with ULib SVN.
UTime and XGUI, well, just saving those for last if the first two didn't help.
Megiddo and Stick will know more about timing within those.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline DiscoBiscuit

  • Full Member
  • ***
  • Posts: 112
  • Karma: 1
    • DiscoBuild
Re: Server crashing uncomfortably often
« Reply #6 on: June 08, 2010, 04:42:59 PM »
I have narrowed it down a bit, it seems to sometimes crash when it makes people do ulib_updatecvars or whatever. Like this:
Code: [Select]
#[06/08/10 18:37:30] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "sv_gravity" "600"
#[06/08/10 18:37:30] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "sbox_plpldamage" "1"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votebanSuccessratio" "0.7"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votemapEnabled" "1"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_logSpawns" "1"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_logFile" "1"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votemapSuccessratio" "0.4"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_logDir" "ulx_logs"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votemapMintime" "10"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_rslotsVisible" "1"
#[06/08/10 18:37:31] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votekickMinvotes" "2"
#[06/08/10 18:37:32] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votemapVetotime" "30"
#[06/08/10 18:37:32] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_votekickSuccessratio" "0.6"
#[06/08/10 18:37:32] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "sbox_weapons" "1"
#[06/08/10 18:37:32] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "sv_alltalk" "1"
#[06/08/10 18:37:32] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "sv_voiceenable" "1"
#[06/08/10 18:37:32] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "ulx_logEvents" "1"
#[06/08/10 18:37:33] User (STEAM_0:1:123456789) Ran: ulib_update_cvar "sbox_noclip" "1"

Whenever it crashes the last thing in console is usually someone halfway through doing those.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: Server crashing uncomfortably often
« Reply #7 on: June 08, 2010, 06:17:30 PM »
That's done when the player is initializing, DiscoBiscuit, so all that means is the server is screwing up initializing... somewhere. Still, the ulib_update_cvar command isn't supposed to execute right then, so I fixed it so it won't run during initialization anymore (ULib rev 147). I'd be extremely shocked if that was causing your crashes, but at least it's one more thing out of the way.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Server crashing uncomfortably often
« Reply #8 on: June 08, 2010, 07:02:46 PM »
Disco, kudos for your input. It's greatly appreciated.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming