Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
sumologic-collector-chef-cookbook
Commits
6f446285
Commit
6f446285
authored
Apr 27, 2017
by
Matt Dannenberg
Committed by
Ben Abrams
Jun 14, 2017
Browse files
add max_memory attribute to allow configuration of the memory consumption of the collector
parent
e71fc4be
Changes
2
Hide whitespace changes
Inline
Side-by-side
attributes/default.rb
View file @
6f446285
...
...
@@ -56,6 +56,8 @@ default['sumologic']['json_template'] = nil
# template name from a custom sumo.conf configuration cookbook.
default
[
'sumologic'
][
'conf_template'
]
=
nil
default
[
'sumologic'
][
'max_memory'
]
=
128
default
[
'sumologic'
][
'use_proxy'
]
=
false
default
[
'sumologic'
][
'proxy'
]
=
{
'host'
=>
nil
,
...
...
templates/default/wrapper.conf.erb
View file @
6f446285
...
...
@@ -71,7 +71,7 @@ wrapper.java.additional.2=-server
wrapper.java.initmemory=64
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=
128
wrapper.java.maxmemory=
<%=
node
[
'sumologic'
][
'max_memory'
]
%>
# Proxy server configuration
wrapper.java.additional.1=-XX:+UseParallelGC
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment