Skip to content

Possibility to reload "max_memory_restart" without restarting apps #6046

@endel

Description

@endel

Hi @Unitech, I hope you are doing great!

Would you consider merging if I can introduce a PR allowing to update the max_memory_restart config at runtime, without restarts?

CLI usage suggestions:

  • pm2 reload-config ecosystem.config.js
  • pm2 hot-reload ecosystem.config.js

(The "hot-reload" command name may leave users wanting an actual hot reloading of the entire application - which MAY be possible to achieve eventually. But this is not the intent of the PR.)

Kind regards,
Endel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions