enderandrew... I've had success using the "[ANY] Security entity limit" plugin written by the talented Benoist3012 (link: https://forums.alliedmods.net/showthread.php?p=2316579
I use lots of plugins and even with the plugin the server crashed a few times. As a result, I added a few lines of code that executes a config file when the number of edicts gets too high. In the exec file are commands to unload a couple of plugins to help reduce the number of edicts created.
edited portion of code:
if (iEntity >= 1950)
if (g_bLogActions && !g_bCleaningMode && iEntity < 2000)
LogMessage("[SEL]The server is close of the limit, cleanning mode enabled");
g_bCleaningMode = true;
PrintToServer("[SEL]Server is close to Entity limit. Cleaning mode enabled.");
PrintToServer("[SEL]Unloaded Random Bot Cosmetic and Weapon plugins.");
sm plugins unload givebotsweapons
sm plugins unload givebotscosmetics
sm_say Unloaded Random Bot Cosmetics and Weapons
Once I did that the crashes stopped completely. The plugin works well without modification but if you still get crashes consider modding the plugin as needed.