Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

http://img.shields.io/pypi/v/mannhunter.svg?style=flat-square http://img.shields.io/pypi/l/mannhunter.svg?style=flat-square http://img.shields.io/travis/borntyping/mannhunter/master.svg?style=flat-square

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.

https://0.gravatar.com/avatar/8dd5661684a7385fe723b7e7588e91ee?d=https%3A%2F%2Fidenticons.github.com%2Fe83ef7586374403a328e175927b98cac.png&r=x&s=40 https://1.gravatar.com/avatar/a3a6d949b43b6b880ffb3e277a65f49d?d=https%3A%2F%2Fidenticons.github.com%2F065affbc170e2511eeacb3bd0e975ec1.png&r=x&s=40

Release files for mannhunter 0.0.0-dev

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mannhunter 0.0.0-dev
File Size Uploaded
mannhunter-0.0.0-dev.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mannhunter 0.0.0-dev
File Interpreter ABI Platform
mannhunter-0.0.0_dev-py2-none-any.whl Python 2 none any Details

Total release size: 15.8 kB

Release files / mannhunter-0.0.0-dev.tar.gz

Download URL mannhunter-0.0.0-dev.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d8db57c0c0f286b8d7d0af07d5fed028c6b4da0253c7ec94d7f86766b199266b
BLAKE2b-256 checksum
How to use checksums
00c4100729754b1060234d6b00994466b732ebec89bd7226a5472b4029b164dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mannhunter-0.0.0_dev-py2-none-any.whl

Download URL mannhunter-0.0.0_dev-py2-none-any.whl
Size 9.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
f2e59b2398045e148c2da96915a0a70ffbf133ad2e880df477758cbddcb4d67a
BLAKE2b-256 checksum
How to use checksums
3a51362033c190ff757d3b911d813ef54070f9cf3aed8e7ae8b674160ec8751d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.0-dev This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page