logstash-input-exec 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 454a3fd142d85a04a0e93b3054d6f300d9dbbe7f02013485e2e58d12c5aba3d3
4
- data.tar.gz: c2a32db4b81afc9429beee70d704b7b2cb737b08b924f813a5e91e5de4fd709d
3
+ metadata.gz: 6572d99615f87ace8db0908a038f652de0e5c97c5bf0792f2f195ed6191243e5
4
+ data.tar.gz: c716f2124922141458bb4ace432389adbdf45dd9fe18a1eddec3aa29b9960b3e
5
5
  SHA512:
6
- metadata.gz: 983904e90f7ba90ecae393cdda1fa39abb093bc923ca82f63c70dc818b48edc36211926a6848a7c48a7547f17e0d96b7bb7a21d0f353768c064f5d2f17eab7b5
7
- data.tar.gz: 3e7e26cde26f98fcbe1d3e0a752dec41729135c85d49720197d2a1d018c97898188bbe27fcd73290c0169d68d7263b8b6d270f6c95a8012d22a35dda47cf10b4
6
+ metadata.gz: 7d940aee8ca85ceee0baba1feda840ceb8f0cf1bf17977393692f3ba4ad8c2b1523a82e4b3bea5df0d17ad7b402c1e7b0f6d10741d7b4c459bcc869bc2c57090
7
+ data.tar.gz: 27ce9c58c67b1bdd8093851bbe9d0b20852fcff2ec5fe4c05dbd358cc296400e5e6abcca9a021594931cf342b3ea72805e3d8d42f38b63ce5c0d8d978e105979
@@ -1,3 +1,6 @@
1
+ ## 3.3.3
2
+ - Docs: improved doc on memory usage [#27](https://github.com/logstash-plugins/logstash-input-exec/pull/27)
3
+
1
4
  ## 3.3.2
2
5
  - Fixed issue where certain log entries were incorrectly writing 'jdbc input' instead of 'exec input' [#21](https://github.com/logstash-plugins/logstash-input-exec/pull/21)
3
6
 
@@ -3,6 +3,7 @@ reports, or in general have helped logstash along its way.
3
3
 
4
4
  Contributors:
5
5
  * Christoph Mertz (cmertz)
6
+ * Colin Surprenant (colinsurprenant)
6
7
  * John E. Vincent (lusis)
7
8
  * Jordan Sissel (jordansissel)
8
9
  * Nick Ethier (nickethier)
@@ -28,6 +28,12 @@ Notes:
28
28
  * The `command` field of this event will be the command run.
29
29
  * The `message` field of this event will be the entire stdout of the command.
30
30
 
31
+ ===== IMPORTANT
32
+
33
+ The exec input ultimately uses `fork` to spawn a child process.
34
+ Using fork duplicates the parent process address space (in our case, **logstash and the JVM**); this is mitigated with OS copy-on-write but ultimately you can end up allocating lots of memory just for a "simple" executable.
35
+ If the exec input fails with errors like `ENOMEM: Cannot allocate memory` it is an indication that there is not enough non-JVM-heap physical memory to perform the fork.
36
+
31
37
 
32
38
  Example:
33
39
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-exec'
4
- s.version = '3.3.2'
4
+ s.version = '3.3.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Captures the output of a shell command as an event"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-20 00:00:00.000000000 Z
11
+ date: 2019-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement