This module allows you to terminate Hypnotoad worker processes if they grow too large. You can make the decision to end a process based on its overall size, by setting a minimum limit on shared memory, or a maximum on unshared memory.
This module is highly platform dependent, it is possible that this module simply does not support your platform.
- Limits for Hypnotoad worker overall size, minimum limit on shared memory, or a maximum on unshared memory. Terminate the worker process if any limit is exceeded.
- Check frequency limit, meaning that this module only checks every N requests.
Stable releases are available from the CPAN.
You can use cpanm to install from the command line:
$ cpanm Mojolicious::Plugin::SizeLimit
```perl use Mojolicious::Lite;
plugin 'SizeLimit', max_unshared_size => 262_144, # 256 M check_interval => 100;
Please look at the manpage.