promotional bannermobile promotional banner

Watchdog

A mod to automatically stop Servers if memory usage gets too high

Watchdog: Save my Server!


Does your Server keep running out of memory and becoming sluggish?
Do you need a mod that automatically shuts your Server down when memory gets too high
and is highly configurable?

Well look no further!


Watchdog is a mod that allows you to automatically stop your Server.
Once the given statistic has been reached, Watchdog will start a countdown (or quit immediately if Start Time is set to 0)

Configuration options:

  • Timings
    • Start Time
      • How long the countdown timer will take before stopping the server
      • Default: 60, min: 0
      • Unit: Seconds
    • Averaging Window
      • How long the Server must stay at a given percent/amount before starting the countdown
      • Default: 30, min: 1
      • Unit: Seconds
  • Memory Values
    • Type
      • Whether to use Max Memory Percent or Amount
      • Default: PERCENT, other: AMOUNT
      • Unit: None
    • Max Memory Usage (Percent)
      • The maximum amount of memory the Server process is allowed to use before shutting down
      • Default: 90, min: 0, max: 100
      • Unit: Percent
    • Max Memory Usage (Amount)
      • The maximum amount of memory the Server process is allowed to use before shutting down
      • Default: 0, min: 0
      • Unit: Gigabytes

This mod is entirely made by me, Icon and All! You may use this mod in modpacks (although probably only put it in server packs)


If you are wondering why Watchdog does not restart the server, it is because (from what I can figure out), It just is not feasable to restart the server from within the mod.

This mod is meant for situations where your wrapper script restarts the server, or when you are using a service like Pterodactyl

The Watchdog Team

profile avatar
  • 3
    Followers
  • 6
    Projects
  • 75.7K
    Downloads

More from IAteMinecrafView all

  • Increase Audio Streams project image

    Increase Audio Streams

    • 8.7K
    • Mods

    Increases the amount of audio streams form 8 to 32

    • 8.7K
    • July 10, 2025
    • Mods
    • +1
  • VS: Rotanator project image

    VS: Rotanator

    • 27.7K
    • Mods

    A simple mod to allow (Create) kinetic power transfer between (VS) ships

    • 27.7K
    • July 2, 2025
    • Mods
    • +3
  • VS: Ship Handler project image

    VS: Ship Handler

    • 14.8K
    • Mods

    A mod to automatically remove those pesky random ships.

    • 14.8K
    • December 17, 2024
    • Mods
    • +3
  • Bullet Fix project image

    Bullet Fix

    • 24.1K
    • Mods

    With this mod you can fire upon Ships from the valkyrien skies mod with Crayfish's guns.

    • 24.1K
    • September 3, 2024
    • Mods
    • +1
  • Increase Audio Streams project image

    Increase Audio Streams

    • 8.7K
    • Mods

    Increases the amount of audio streams form 8 to 32

    • 8.7K
    • July 10, 2025
    • Mods
    • +1
  • VS: Rotanator project image

    VS: Rotanator

    • 27.7K
    • Mods

    A simple mod to allow (Create) kinetic power transfer between (VS) ships

    • 27.7K
    • July 2, 2025
    • Mods
    • +3
  • VS: Ship Handler project image

    VS: Ship Handler

    • 14.8K
    • Mods

    A mod to automatically remove those pesky random ships.

    • 14.8K
    • December 17, 2024
    • Mods
    • +3
  • Bullet Fix project image

    Bullet Fix

    • 24.1K
    • Mods

    With this mod you can fire upon Ships from the valkyrien skies mod with Crayfish's guns.

    • 24.1K
    • September 3, 2024
    • Mods
    • +1