skip to navigation
skip to content

Not Logged In

mannhunter 0.0.0-dev

A memory limiting tool for Supervisor


A memory limiting tool for Supervisor.

Usage

mannhunter [--config PATH] [--host RIEMANN_HOST] [--port RIEMANN_PORT]

Mannhunter can be started with or without a configuration file. By default, it will restart any programs running under Supervisor if they use more than 80% of the systems total memory. Limits for individual programs can be specified in an optional configuration file - an example configuration is provided in conf/example.conf.

Installation

Mannhunter can be installed from pip:

pip install mannhunter

If you want to install Mannhunter with a system package manager, fpm is recommended. For example:

fpm -s python -t rpm mannhunter
rpm -i python-mannhunter-0.0.0-1.noarch.rpm

Requirements

The psutil package uses C extensions, and installing the package from source or with a python package manager (such as pip) will require build tools. Alternatively, it can be installed from your distribution’s repositories (python-psutil on Debian and CentOS). Superman currently uses a very old version of psutil so as to remain compatible with CentOS.

Mannhunter is developed and tested on Python 2.6. There are no plans to release it for Python 3, as Google’s protobuf library (and therefore riemann-client) are only compatible with Python 2.

Licence

Mannhunter is licensed under the MIT Licence. The protocol buffer definition is sourced from the Riemann Java client, which is licensed under the Apache Licence.

Authors

Mannhunter was written by Sam Clements, while working at DataSift.

 
File Type Py Version Uploaded on Size
mannhunter-0.0.0-dev.tar.gz (md5) Source 2014-08-29 6KB
mannhunter-0.0.0_dev-py2-none-any.whl (md5) Python Wheel py2 2014-08-29 9KB
  • Downloads (All Versions):
  • 5 downloads in the last day
  • 39 downloads in the last week
  • 121 downloads in the last month