Server Crashes (Host issue?)

Basically ive got this server host and it was good for awhile but now every so often it crashes… I don’t know if its my end or theres but this is the crash file"


Uptime( 6.480714 )

Memory
memusage( 68 % )
totalPhysical Mb(32734.39)
freePhysical Mb(10347.94)
totalPaging Mb(65466.95)
freePaging Mb(46438.27)
totalVirtualMem Mb(4095.88)
freeVirtualMem Mb(3548.25)
extendedVirtualFree Mb(0.00)

Process Memory
WorkingSetSize Mb(71.14)
QuotaPagedPoolUsage Mb(0.22)
QuotaNonPagedPoolUsage: Mb(0.03)
PagefileUsage: Mb(83.02)

Paged Pool
prev PP PAGES: used: 0, free 0
final PP PAGES: used: 0, free 0
memallocfail? = 0
Active: inactive SpawnCount 0 MapLoad Count 0
Error count 0, end demo 0, abort count 0

ConVars (non-default)

var	value	default
host_workshop_collection
	'326939230' ''
sv_timeout
	'180' '65'
sv_client_predict
	'1' '-1'
deathmatch
	'1' '0'
hostname
	'Garry's Mod' ''
sv_allow_voice_from_file
	'0' '1'
hostport
	'27050' '27015'
datacachesize
	'256' '64'
r_flashlightdepthtexture
	'0' '1'
mat_motion_blur_enabled
	'0' '1'
joy_xcontroller_found
	'0' '1'

Console History (reversed)

87(5.627404):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\ulx'
86(5.627153):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\ulib'
85(5.626944):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\stungun'
84(5.626712):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\p_logs'
83(5.626452):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\p_lib'
82(5.626195):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\pickpocket'
80(5.625603):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\mayor death'
79(5.625209):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\ilya_scoreboard_darkrp'
76(5.624415):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\elitef4menu'
75(5.624063):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp_police_radio'
74(5.623749):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrpmodification'
73(5.623436):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - smgs'
72(5.623134):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - shotgun'
71(5.622744):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - rifles'
70(5.616422):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - pistols'
69(5.611041):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - base pack'
68(5.610241):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp bank robbery system'
67(5.609938):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\darkrp armory robbery system'
66(5.609435):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\arcslots'
65(5.609098):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\arcbank'
63(5.603250):  Adding Filesystem Addon 'c:	cafiles\users\alexs\1341\garrysmod\addons\3d_car_dealer'
62(4.493705):  Mounting Addon '[Official] Precision Tool' (104482086)
61(4.493504):  Mounting Addon 'Active Camouflage' (308977650)
60(4.493287):  Mounting Addon 'Riot Shield' (290282950)
59(4.493083):  Mounting Addon 'Pro Keypad Cracker' (328695238)
58(4.492875):  Mounting Addon 'DarkRP Pro Lock Pick swep' (107338497)
57(4.492627):  Mounting Addon 'Batman Playermodel' (141049673)
56(4.492368):  Mounting Addon 'Batclaw SWEP' (251645873)
55(4.492110):  Mounting Addon 'Heavy Combine NPCs and Playermodels' (188562859)
54(4.491818):  Mounting Addon 'Drugs Mod' (112986621)
53(4.491596):  Mounting Addon 'Atmos - Day / Night and Weather Modification' (185609021)
52(4.491299):  Mounting Addon 'RP_downtown_evilmelon_v1' (145177582)
51(4.491052):  Mounting Addon 'Niko & Roman Playermodel' (133349018)
50(4.490824):  Mounting Addon 'NLR Box DarkRP ( ••Â° ͜ʖ ••Â°)' (111509626)
49(4.490590):  Mounting Addon 'Hong Kong Triads: 18K' (329316509)
48(4.490362):  Mounting Addon 'Advanced Duplicator' (163806212)
47(4.490107):  Mounting Addon 'The sit anywhere script!' (108176967)
46(4.489855):  Mounting Addon 'TDMCars - Porsche' (259899351)
45(4.489609):  Mounting Addon 'TDMCars - Volkswagen' (123456202)
44(4.489280):  Mounting Addon 'Gemstone Money Printers (Requires DarkRP 2.5.x)' (106958912)
43(4.489049):  Mounting Addon 'TDMCars - Toyota' (131245637)
42(4.488803):  Mounting Addon 'TDMCars - Mercedes' (131246684)
41(4.488562):  Mounting Addon 'TDMCars - Lamborghini' (119148120)
40(4.488319):  Mounting Addon 'TDMCars - Ferrari' (119148996)
39(4.488049):  Mounting Addon 'TDMCars - BMW' (113118541)
38(4.487792):  Mounting Addon 'TDMCars - Audi' (113120185)
37(4.487524):  Mounting Addon 'TDMCars - Base Pack' (112606459)
36(4.487278):  Mounting Addon 'ARCBank Content' (200318235)
35(4.486933):  Mounting Addon 'Fully Functional Vaas Montenegro Player Model and Ragdoll' (113834524)
34(4.486704):  Mounting Addon 'ShaneT HUD and Scoreboard Textures' (165846473)
33(4.486454):  Mounting Addon 'Climb SWEP 2' (113495466)
32(4.486077):  Mounting Addon 'Playable Piano' (104548572)
31(4.485653):  Mounting Addon 'Dr. Schwaiger' (191412471)
30(4.485392):  Mounting Addon 'Security Guard Playermodels' (169011381)
29(4.485134):  Mounting Addon 'Payday 2 NPCs and Player Models' (184396116)
28(4.484847):  Mounting Addon 'Mafia Player Models' (149491742)
27(4.484487):  Mounting Addon 'Hitman Absolution: Agent 47 Playermodel' (157660704)
26(4.484227):  Mounting Addon 'NYPD Police Officers - Player Models' (263275086)
25(4.483865):  Mounting Addon 'FA:S 2.0 Alpha SWEPs - Misc' (201027186)
24(4.482995):  Mounting Addon 'Stacker STool' (104479831)
23(4.482748):  Mounting Addon 'Moneypot' (109905241)
22(4.482449):  Mounting Addon '3D2D Textscreens' (109643223)
21(4.482159):  Mounting Addon 'Keypad Tool and Cracker with Wire Support' (108424005)
20(4.481719):  Mounting Addon 'Fading Doors' (105115318)
19(4.481433):  Download Failed!
18(3.481106):  Downloading...
17(3.480753):  Mounting Addon 'FA:S 2.0 Alpha SWEPs - Shotguns' (183140076)
16(3.480436):  Mounting Addon 'FA:S 2.0 Alpha SWEPs - SMGs' (183139624)
15(3.480073):  Mounting Addon 'FA:S 2.0 Alpha SWEPS - Pistols' (181283903)
14(3.479677):  Mounting Addon 'FA:S 2.0 Alpha SWEPs' (180507408)
13(3.479413):  Download Failed!
12(2.479471):  Downloading...
11(2.479059):  Mounting Addon 'FA:S 2.0 Alpha SWEPs - Rifles' (181656972)
10(2.176301):  VAC secure mode is activated.
9(1.876863):  Assigned anonymous gameserver Steam ID [A-1:1457548288(4804)].
8(1.876709):     Public IP is 119.252.189.11.
7(1.876425):  Connection to Steam servers successful.
6(1.575545):  Collection has 48 Addons
5(0.772822):  Calling GetCollectionDetails
4(0.772667):  
3(0.772147):  Fetching Workshop Addons..2(0.482059):  Logging into anonymous gameserver account.
1(0.313956):  Initializing Steam libraries for secure Internet server

Im assuming thats the important stuff.

Anyway, is it me or is it the host?

Thankyou for your help :slight_smile:
Doom

[editline]3rd November 2014[/editline]

I should also mention this error is spammed in the console:

[ERROR] gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:612: attempt to index a nil value

  1. unknown - gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua:612

Timer Failed! [Simple][@gamemodes/darkrp/gamemode/modules/base/sh_createitems.lua (line 610)]

You have given no good information at all.

A shit load of addons and darkrp. There’s your problem.

Pretty sure you didn’t use DRP Modification Addon and edited the base files, so it’s your fault.

Thanks I try removing some

[editline]4th November 2014[/editline]

I’m using darkrp modification :slight_smile:

[editline]4th November 2014[/editline]

What information do you need?

Still not fixed, any help? I removed a few addons but it didnt do shit. Still crashing ): What info must i provide? I’m sorry if ive broken any unspoken rule or if its an obvious question but im still struggling with this!

Divide and conquer… Remove half addons, still crashing?.. repeat by removing half your addons or swapping the remaining half with the half you already removed.

Keep removing half until resolved, once resolved the issue lies in the half just removed most likely. Try adding all others except last half and see if it crashes. If it does it could be more than one addon, or it could be too many addons or other factors.

Is it possible that its just a terrible host? What about Steam Workshop addons

It could be the host, but it could also be a memory leak or other issue caused by an addon. Debugging unknown crashes can be difficult, I mean it took nVidia years for this to be solved and that was because I finally have had enough doing dev-work using dx 8.1 and needed to test the sky/environment systems, etc…: http://forums.steampowered.com/forums/showthread.php?p=35806488#post35806488 nVidia couldn’t even fix it; they gave up…

It can be something simple, or quite complex and it can affect many different things ( also had a networking pc crash issue which ended up being a settings issue ). Try dividing out the addons and see if it fixes it.

I know that FAS2 had a memory leak and has caused friends servers to have issues such as disappearing entities, entities not spawning ( which seems to be what happened on yours where it didn’t create the entity ), etc…

Show us your sh_createitems script; at least a few lines before, the line of, and a few lines after the error. We could add some checks so that if there is an issue it’ll error cleanly.

If u fix my issue, im willing to pay:

https://scriptfodder.net/jobs/view/804

If you want to, sure… but you still haven’t answered the questions. Without information to go on I can only make educated guesses.

Try removing the following addons:

17(3.480753): Mounting Addon ‘FA:S 2.0 Alpha SWEPs - Shotguns’ (183140076)
16(3.480436): Mounting Addon ‘FA:S 2.0 Alpha SWEPs - SMGs’ (183139624)
15(3.480073): Mounting Addon ‘FA:S 2.0 Alpha SWEPS - Pistols’ (181283903)
14(3.479677): Mounting Addon ‘FA:S 2.0 Alpha SWEPs’ (180507408)
11(2.479059): Mounting Addon ‘FA:S 2.0 Alpha SWEPs - Rifles’ (181656972)
25(4.483865): Mounting Addon ‘FA:S 2.0 Alpha SWEPs - Misc’ (201027186)

73(5.623436): Adding Filesystem Addon ‘c: cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - smgs’
72(5.623134): Adding Filesystem Addon ‘c: cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - shotgun’
71(5.622744): Adding Filesystem Addon ‘c: cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - rifles’
70(5.616422): Adding Filesystem Addon ‘c: cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - pistols’
69(5.611041): Adding Filesystem Addon ‘c: cafiles\users\alexs\1341\garrysmod\addons\darkrp fas 2 alpha sweps - base pack’

and see what happens over the course of a few maps if it doesn’t crash.

When it crashed, nothing happened in console. I can post my crash dump file?

Here is my sh_creatitems:

I have no idea what the agenda is; but because it is related to creating items ( filename? ) it is most likely a memory leak. Also, DarkRP is a resource hog ( not really, but when you start spawning in a bunch of props it can be )…

There is a limit of props that can be spawned of around 8196 entities. up to 128 of them are used by the players, then x for any that spawn with the map including doors, etc…

It could be that players are spamming a lot of props, or memory leak, or whatever…

If you don’t have a prop protection mod ( something that limits how many props each player can spawn ) I’d highly recommend installing one. Try the FAS2 removal to see what happens.

Ive been occasionally getting this error, idk if its related:

[ERROR] addons/darkrp fas 2 alpha sweps - base pack/lua/weapons/fas2_base/cl_model.lua:621: bad argument #2 to ‘GetBonePosition’ (number expected, got no value)

  1. GetBonePosition - [C]:-1
  2. unknown - addons/darkrp fas 2 alpha sweps - base pack/lua/weapons/fas2_base/cl_model.lua:621

Also i have set a prop limit. but what do u suggest as the max? 128? Im using rp_downtown_evilmelon_v1 could that be the issue? Im in the proccess of removing Fas 2, it didnt mount so i extracted it with GMAD. If that helps