These cvars may be interesting for you. Instead of letting the server crash, you could a force a map or game restart
"sv_lowedict_threshold" = "8" min. 0.000000 max. 2048.000000 - When only this many edicts are free, take the action specified by sv_lowedict_action. "sv_lowedict_action" = "0" min. 0.000000 max. 5.000000 - 0 - no action, 1 - warn to log file, 2 - attempt to restart the game, if applicable, 3 - restart the map, 4 - go to the next map in the map cycle, 5 - spew all edicts. - Andreas -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ics Sent: Wednesday, February 24, 2016 6:38 PM To: Half-Life dedicated Win32 server mailing list Subject: Re: [hlds] Goldrush Error on 32-slot server (Engine error: ED_Alloc: no free edicts) Source engine has hard limit of 2048 dynamic entities aka networked entities aka edicts. Having some cvar in the command line does not increase this limit. It cannot be changed to higher. It's just plain luck that you are not crashing. We are talking about Goldrush here but Hydro and even Snowplow has more edicts by default than goldrush does. They all crash on 32 player servers. -ics [email protected] kirjoitti: > @Bartek S -Perhaps you should give the command line option I listed a > try and see if it helps you while E. Olsen continues working on his > solution at the same time. Two fronts is better than one. I'd be very > curious to see if it helps you. It resolved it for me. > > I'm currently using that command line parameter as follows > (-num_edicts 1024) and haven't had a crash for no free edicts in over > a year on the servers I run under Windows 2008. Prior to that I was > getting them every other day without restarting the servers every > morning. > > Just a suggestion. If you do, please let me know if it works for you. > > Thanks and best of luck. I know how frustrating it is! > > On Wed, Feb 24, 2016 at 6:20 AM, Bartek S <[email protected]> wrote: >> Mind sharing the solution? Could help, I've been getting crashes on >> 33slot (32p + sourcetv) trade maps as well. >> >> On 24 Feb 2016 15:18, "E. Olsen" <[email protected]> wrote: >>> As far as I know, 2048 is the hard limit coded into the engine (when >>> it hits 2049, the server crashes), so I'm pretty sure you can't >>> increase that number (at least not with the engine TF2 currently runs on). >>> >>> There are a couple of old Sourcemod solutions, but it seems they >>> either no longer work, or are no longer supported for Windows servers. >>> >>> I am trying a custom solution now - I'll post back if it looks like >>> it's working after a week or so. >>> >>> On Wed, Feb 24, 2016 at 9:07 AM, [email protected] >>> <[email protected]> wrote: >>>> I was having this problem on some TF2 servers I run with a custom map. >>>> After researching it, I found out there is a command line option >>>> that will increase the number of edicts. I added the below to the >>>> command line of each server and my problems ended. >>>> >>>> -num_edicts 2048 >>>> >>>> Perhaps give it a try? My understanding is there is no limit to the >>>> number you can assign so if you need more, you can use a higher >>>> number until you find the sweet spot. I was told the higher the >>>> number you use, the more resources the server will require to run, >>>> so don't use too much more than you really need. >>>> >>>> Hopefully this is still accurate information and it helps. >>>> >>>> Good Luck! >>>> Mike Vail >>>> >>>> On Tue, Feb 23, 2016 at 12:33 PM, ics <[email protected]> wrote: >>>>> Did this crashing started recently or has it been issue for long? >>>>> Do you run any plugins that would create extra entities? Goldrush >>>>> has 1437 edicts by default and generally maps should not exceed >>>>> 1400 because having 32 players on a map with over 1400 entities >>>>> can cause crash. >>>>> >>>>> You can try to strip entities off with some sourcemod plugin, like >>>>> keyframe_ropes. Didn't know goldrush has 126 areaportals. Seems a >>>>> lot to me. >>>>> >>>>> -ics >>>>> >>>>> E. Olsen kirjoitti: >>>>>> Hello all, >>>>>> >>>>>> I've been seeing this error about once a day on a 32-slot >>>>>> Goldrush server, which causes a crash. I've included the log >>>>>> output below which shows all the edicts used before the crash. >>>>>> this is occurring on a Windows 2008R2 server. >>>>>> Are there any fixes beyond decreasing the slots on the server? >>>>>> This appears to be the only stock payload map causing this >>>>>> particular crash. >>>>>> >>>>>> Log output: >>>>>> >>>>>> L 02/23/2016 - 12:29:47: Spewing edict counts: >>>>>> L 02/23/2016 - 12:29:47: (0.05%) 1worldspawn L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_weapon_stickbomb L 02/23/2016 - 12:29:47: >>>>>> (0.05%) 1obj_attachment_sapper L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1soundent L 02/23/2016 - 12:29:47: (0.05%) 1tf_player_manager L >>>>>> 02/23/2016 - 12:29:47: (0.05%) 1tf_objective_resource L >>>>>> 02/23/2016 - 12:29:47: (0.05%) 1monster_resource L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_mann_vs_machine_stats L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_weapon_parachute_primary L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1vote_controller L 02/23/2016 - 12:29:47: >>>>>> (0.05%) 1ai_network L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_raygun L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_invis L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_pda_spy L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_crossbow L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_particle_cannon L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_knife L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1tf_weapon_revolver L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1env_sniperdot L 02/23/2016 - 12:29:47: (0.05%) 1tf_weapon_club L >>>>>> 02/23/2016 - 12:29:47: (0.05%) 1tf_weapon_jar L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_weapon_shotgun_primary L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_weapon_shotgun_soldier L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_weapon_sniperrifle L 02/23/2016 - 12:29:47: >>>>>> (0.05%) 1tf_weapon_rocketlauncher_directhit >>>>>> L 02/23/2016 - 12:29:47: (0.05%) 1scene_manager L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1tf_gamerules L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1env_shake L 02/23/2016 - 12:29:47: (0.05%) 1trigger_once L >>>>>> 02/23/2016 - 12:29:47: (0.05%) 1tf_projectile_energy_ball L >>>>>> 02/23/2016 - 12:29:47: (0.05%) 1func_tracktrain L 02/23/2016 - >>>>>> 12:29:47: (0.05%) 1prop_physics L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1mapobj_cart_dispenser L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1team_control_point_master L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1trigger_capture_area L 02/23/2016 - 12:29:47: (0.05%) >>>>>> 1game_round_win L 02/23/2016 - 12:29:47: (0.05%) 1trigger_hurt L >>>>>> 02/23/2016 - 12:29:47: (0.05%) 1team_round_timer L 02/23/2016 - >>>>>> 12:29:47: (0.10%) 2env_spark L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2tf_projectile_rocket L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2tf_projectile_healing_bolt L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2env_tonemap_controller L 02/23/2016 - 12:29:47: (0.10%) 2env_sun >>>>>> L 02/23/2016 - 12:29:47: (0.10%) 2tf_wearable_robot_arm L >>>>>> 02/23/2016 - 12:29:47: (0.10%) 2item_ammopack_small L 02/23/2016 >>>>>> - 12:29:47: (0.10%) 2env_fog_controller L 02/23/2016 - 12:29:47: >>>>>> (0.10%) 2tf_weapon_minigun L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2tf_weapon_lunchbox L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2tf_weapon_spellbook L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2tf_weapon_sword L 02/23/2016 - 12:29:47: (0.10%) >>>>>> 2tf_weapon_fists L 02/23/2016 - 12:29:47: (0.10%) 2shadow_control >>>>>> L 02/23/2016 - 12:29:47: (0.15%) 3tf_weapon_buff_item L >>>>>> 02/23/2016 - 12:29:47: (0.15%) 3tf_wearable_vm L 02/23/2016 - >>>>>> 12:29:47: (0.15%) 3tf_weapon_flamethrower L 02/23/2016 - >>>>>> 12:29:47: (0.15%) 3tf_weapon_sentry_revenge L 02/23/2016 - >>>>>> 12:29:47: (0.15%) 3env_soundscape L 02/23/2016 - 12:29:47: >>>>>> (0.15%) 3team_control_point_round L 02/23/2016 - 12:29:47: >>>>>> (0.15%) 3tf_weapon_fireaxe L 02/23/2016 - 12:29:47: (0.15%) >>>>>> 3tf_projectile_pipe L 02/23/2016 - 12:29:47: (0.15%) >>>>>> 3team_train_watcher L 02/23/2016 - 12:29:47: (0.15%) >>>>>> 3obj_sentrygun L 02/23/2016 - 12:29:47: (0.15%) >>>>>> 3tf_weapon_shotgun_building_rescue >>>>>> L 02/23/2016 - 12:29:47: (0.15%) 3tf_weapon_flaregun L 02/23/2016 >>>>>> - 12:29:47: (0.15%) 3info_particle_system L 02/23/2016 - >>>>>> 12:29:47: (0.15%) 3tf_weapon_laser_pointer L 02/23/2016 - >>>>>> 12:29:47: (0.20%) 4item_healthkit_full L 02/23/2016 - 12:29:47: >>>>>> (0.20%) 4func_illusionary L 02/23/2016 - 12:29:47: (0.20%) >>>>>> 4obj_dispenser L 02/23/2016 - 12:29:47: (0.20%) 4tf_weapon_pistol >>>>>> L 02/23/2016 - 12:29:47: (0.20%) 4dispenser_touch_trigger L >>>>>> 02/23/2016 - 12:29:47: (0.20%) 4tf_weapon_wrench L 02/23/2016 - >>>>>> 12:29:47: (0.20%) 4tf_weapon_bottle L 02/23/2016 - 12:29:47: >>>>>> (0.20%) 4tf_weapon_syringegun_medic L 02/23/2016 - 12:29:47: >>>>>> (0.20%) 4tf_team L 02/23/2016 - 12:29:47: (0.20%) >>>>>> 4tf_weapon_robot_arm L 02/23/2016 - 12:29:47: (0.24%) >>>>>> 5tf_weapon_medigun L 02/23/2016 - 12:29:47: (0.24%) >>>>>> 5ambient_generic L 02/23/2016 - 12:29:47: (0.24%) >>>>>> 5func_respawnroom L 02/23/2016 - 12:29:47: (0.24%) >>>>>> 5tf_weapon_bonesaw L 02/23/2016 - 12:29:47: (0.24%) >>>>>> 5tf_weapon_rocketlauncher L 02/23/2016 - 12:29:47: (0.29%) >>>>>> 6tf_weapon_grenadelauncher L 02/23/2016 - 12:29:47: (0.29%) >>>>>> 6func_regenerate L 02/23/2016 - 12:29:47: (0.34%) >>>>>> 7team_control_point L 02/23/2016 - 12:29:47: (0.34%) >>>>>> 7tf_weapon_pipebomblauncher L 02/23/2016 - 12:29:47: (0.34%) >>>>>> 7tf_weapon_pda_engineer_destroy L 02/23/2016 - 12:29:47: (0.34%) >>>>>> 7info_observer_point L 02/23/2016 - 12:29:47: (0.34%) >>>>>> 7tf_weapon_pda_engineer_build L 02/23/2016 - 12:29:47: (0.34%) >>>>>> 7tf_weapon_shovel L 02/23/2016 - 12:29:47: (0.39%) >>>>>> 8tf_weapon_builder L 02/23/2016 - 12:29:47: (0.44%) 9vgui_screen >>>>>> L 02/23/2016 - 12:29:47: (0.44%) 9obj_teleporter L 02/23/2016 - >>>>>> 12:29:47: (0.44%) 9path_corner L 02/23/2016 - 12:29:47: (0.54%) >>>>>> 11func_respawnroomvisualizer L 02/23/2016 - 12:29:47: (0.54%) >>>>>> 11trigger_multiple L 02/23/2016 - 12:29:47: (0.59%) >>>>>> 12item_healthkit_small L 02/23/2016 - 12:29:47: (0.59%) >>>>>> 12tf_dropped_weapon L 02/23/2016 - 12:29:47: (0.59%) >>>>>> 12item_ammopack_medium L 02/23/2016 - 12:29:47: (0.59%) >>>>>> 12tf_powerup_bottle L 02/23/2016 - 12:29:47: (0.68%) >>>>>> 14tf_ammo_pack L 02/23/2016 - 12:29:47: (0.73%) >>>>>> 15item_healthkit_medium L 02/23/2016 - 12:29:47: (0.73%) >>>>>> 15item_ammopack_full L 02/23/2016 - 12:29:47: (1.22%) >>>>>> 25func_nobuild L 02/23/2016 - 12:29:47: (1.27%) >>>>>> 26tf_projectile_pipe_remote L 02/23/2016 - 12:29:47: (1.51%) >>>>>> 31move_rope L 02/23/2016 - 12:29:47: (1.51%) 31tf_flame L >>>>>> 02/23/2016 - 12:29:47: (1.56%) 32player L 02/23/2016 - 12:29:47: >>>>>> (1.56%) 32tf_ragdoll L 02/23/2016 - 12:29:47: (1.76%) >>>>>> 36func_occluder L 02/23/2016 - 12:29:47: (2.00%) 41func_door L >>>>>> 02/23/2016 - 12:29:47: (2.05%) 42func_brush L 02/23/2016 - >>>>>> 12:29:47: (2.98%) 61env_soundscape_proxy L 02/23/2016 - 12:29:47: >>>>>> (3.03%) 62env_sprite L 02/23/2016 - 12:29:47: (3.12%) >>>>>> 64tf_viewmodel L 02/23/2016 - 12:29:47: (3.22%) 66keyframe_rope L >>>>>> 02/23/2016 - 12:29:47: (3.47%) 71func_lod L 02/23/2016 - >>>>>> 12:29:47: (3.71%) 76info_player_teamspawn L 02/23/2016 - >>>>>> 12:29:47: (4.00%) 82 L 02/23/2016 - 12:29:47: (4.10%) 84beam L >>>>>> 02/23/2016 - 12:29:47: (4.10%) 84spotlight_end L 02/23/2016 - >>>>>> 12:29:47: (4.10%) 84point_spotlight L 02/23/2016 - 12:29:47: >>>>>> (4.20%) 86instanced_scripted_scene L 02/23/2016 - 12:29:47: >>>>>> (4.64%) 95tf_wearable L 02/23/2016 - 12:29:47: (6.15%) >>>>>> 126func_areaportal L 02/23/2016 - 12:29:47: (7.86%) >>>>>> 161prop_dynamic L 02/23/2016 - 12:29:47: (8.49%) 174path_track L >>>>>> 02/23/2016 - 12:29:47: Total edicts: 2049 L 02/23/2016 - >>>>>> 12:29:47: Engine error: ED_Alloc: no free edicts >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> To unsubscribe, edit your list preferences, or view the list >>>>>> archives, please visit: >>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>>>> >>>>> >>>>> _______________________________________________ >>>>> To unsubscribe, edit your list preferences, or view the list >>>>> archives, please visit: >>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list >>>> archives, please visit: >>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>> >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list >>> archives, please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >>> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list >> archives, please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds >> > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds

