uWSGI log parser to find memory hogs
Project description
pyuwsgimemhog
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyuwsgimemhog-0.1.0.tar.gz
.
File metadata
- Download URL: pyuwsgimemhog-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56f9b62b8f5a199a2d963462a25e02f88c22baf59b36bce0651bdf799e0b0d1a |
|
MD5 | fc39d1a50d51caddf36cc0efb89b484a |
|
BLAKE2b-256 | b9ca30bdc329989aaf9f6d355d4831082763704f22aa07bbb5a617a921ee3e44 |