Skip to main content

uWSGI log parser to find memory hogs

Project description

pyuwsgimemhog

https://img.shields.io/pypi/v/pyuwsgimemhog.svg https://img.shields.io/travis/xrmx/pyuwsgimemhog.svg Documentation Status

Do you want to find out which path of your application run under uWSGI is leaking memory? you can use pyuwsgimemhog to find it out. pyuwsgimemhog parses uWSGI logs to point out which paths contributes to uWSGI processes RSS memory increase.

Installation

pip install pyuwsgimemhog

Requirements

In order to have the needed information you have to run uWSGI with the memory-report enabled.

Usage

You need to pass a single uWSGI log file to pyuwsgimemhog:

pyuwsgimemhog --logfile /path/to/log
/api 975
/another-api 502

That means that /api contributed to increase the memory usage by 975 MB and /another-api by 502 MB.

License

MIT license

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2019-04-12)

  • First release on PyPI.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyuwsgimemhog-0.1.0.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page