Skip to content

Commit

Permalink
Add an informative message about SSL collecting causing a memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
vuksanv committed May 3, 2012
1 parent b1a20da commit 7ae6d8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions apache_status/conf.d/apache_status.pyconf
Expand Up @@ -6,15 +6,13 @@ modules {
value = "http://localhost:7070/server-status"
}

param virtual_host {
value = "health"
}

# Which metric group should these metrics be put into
param metric_group {
value = "apache"
}

# Collecting SSL metrics under Apache 2.2 appears to cause a memory leak
# in mod_status. Watch Apache memory utilization if you enable them
param collect_ssl {
value = False
}
Expand Down
3 changes: 1 addition & 2 deletions apache_status/python_modules/apache_status.py
Expand Up @@ -379,8 +379,7 @@ def metric_cleanup():
try:
params = {
'url' : 'http://localhost:7070/server-status',
'collect_ssl' : True
#'virtual_host': 'health',
'collect_ssl' : False
}
metric_init(params)
while True:
Expand Down

0 comments on commit 7ae6d8d

Please sign in to comment.