diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-11-13T13·16+0100 |
---|---|---|
committer | Karl Erik Asbjørnsen <karl@asbjornsen.org> | 2017-11-13T13·23+0100 |
commit | d908fe1cbc7de0bff7cadbe0b3851d50229b7de2 (patch) | |
tree | 87789e8fc55f4c9746b5cbd3f9d70189b235bc47 /Cargo.lock | |
parent | 2c71e092f69f5cd3c31ad8a84aa4168118579898 (diff) |
feat: Add commands to get/set message queue rlimit
When creating a large number of queues the message queue rlimit may be reached (see mq_overview for details). This commit adds an `mq rlimit` function that displays the current rlimits and an optional `--rlimit` flag to the `create` command that can raise the rlimit when required.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 54a0009e24eb..24a652deb584 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,6 +3,8 @@ name = "mq" version = "0.1.0" dependencies = [ "clap 2.26.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.32 (registry+https://github.com/rust-lang/crates.io-index)", + "nix 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "posix_mq 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] |