Skip to main content

A daemon for docker which sends signals to containers when they hit their memory soft limit.

Project description

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Description:

# Use

`nice-oom-daemon --stop-signal sigint=50 sigterm=50 sigkill=5 --grace-period 5`

# Use in Docker

```
docker build -t nice-oom-daemon .
docker run -v /var/run/docker.sock:/var/run/docker.sock nice-oom-daemon
```
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=2.7
Description-Content-Type: text/markdown

Project details


Download files

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

Source Distribution

nice-oom-daemon-0.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

nice_oom_daemon-0.0.1-py2-none-any.whl (7.2 kB view details)

Uploaded Python 2

File details

Details for the file nice-oom-daemon-0.0.1.tar.gz.

File metadata

  • Download URL: nice-oom-daemon-0.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.11+

File hashes

Hashes for nice-oom-daemon-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5f76b2f4b47dacf2c9a9e8fc6d42dac0c614bd2f059c203c87aa17027d1a1773
MD5 f7481e89ebd0de035bebe2220fd8006c
BLAKE2b-256 f327402980cf0ac9aed5dc6f47133e41ee36859d75fd85fd9a939563c7f32510

See more details on using hashes here.

File details

Details for the file nice_oom_daemon-0.0.1-py2-none-any.whl.

File metadata

  • Download URL: nice_oom_daemon-0.0.1-py2-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.13.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.11+

File hashes

Hashes for nice_oom_daemon-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 79dfdb158641f7c66b7533917c5cbd7bdabb5b4b3768b0734c8004a38b7ab96c
MD5 9f2b73a39dfdc6ec241fa8121e4717a7
BLAKE2b-256 1c4298262f7a91d4127d30bb325c63f9636410c30b84e47395cc1761b5ac123d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page