Optimizing Rust Entity Counts, Server FPS, and RAM Usage | NodeFlux.eu Docs

Keep your Rust server running smoothly by managing entity counts, decay rates, and memory footprints.

Steps

  1. Monitor total server entity count in console using command: server.entities.
  2. Keep entity counts below 150,000 to prevent server tick rate slowdowns on shared plans.
  3. Ensure decay scale is enabled (decay.scale 1) so abandoned player bases decay naturally.
  4. Adjust server.tickrate 30 to maintain stable server tick processing.
  5. Schedule periodic server restarts (e.g., daily at low-traffic times) to clear uncollected entities and free RAM.

Notes