diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2018-03-02 12:03:40 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2018-03-02 12:03:40 +0000 |
| commit | 0fecc645618380829406002fddc80b34be56c5f2 (patch) | |
| tree | c761c63b50cb00991db1097864d3c360dd64702a /ioreplay/src/defaults.h | |
| parent | 56f8cdff9aaa9bf00c5dc9441a7569374f2cbafb (diff) | |
Increase rlimits before dropping root
Diffstat (limited to 'ioreplay/src/defaults.h')
| -rw-r--r-- | ioreplay/src/defaults.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ioreplay/src/defaults.h b/ioreplay/src/defaults.h index c607b95..c798466 100644 --- a/ioreplay/src/defaults.h +++ b/ioreplay/src/defaults.h @@ -28,9 +28,13 @@ /** Controls how many tasks can be queued and buffered per worker thread */ #define TASK_BUFFER_PER_THREAD 512 /** Version of I/O Replay */ -#define IOREPLAY_VERSION "0.1" +#define IOREPLAY_VERSION "0.2-develop" /** Copyright information */ #define IOREPLAY_COPYRIGHT "Mimecast 2017, 2018 (c)" +/** Max open files resource user limit */ +#define SET_RLIMIT_NOFILE 369216 +/** Max processes resource user limit */ +#define SET_RLIMIT_NPROC 30768 // The following are for debugging purposes only |
