Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
Force carbon-aggregator to run in foreground
Browse files Browse the repository at this point in the history
This is the same dirty hack applied to carbon-cache in #13. Otherwise the
following happens, and variations of `expect` cause it to hang :(

```
root@graphite-1:~# start carbon-aggregator
carbon-aggregator start/running, process 23813
root@graphite-1:~# status carbon-aggregator
carbon-aggregator stop/waiting
root@graphite-1:~# cat /var/log/upstart/carbon-aggregator.log
Starting carbon-aggregator (instance a)
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
carbon-aggregator (instance a) is already running with pid 23491
```
  • Loading branch information
dcarley committed Jan 2, 2014
1 parent e1b3dd4 commit b341e72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/upstart/carbon-aggregator.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ exec python '<%= @root_dir %>/bin/carbon-aggregator.py' \
<% if @aggregation_rules_ensure == 'present' -%>
--rules='<%= @root_dir %>/conf/aggregation-rules.conf' \
<% end -%>
start
--debug start

0 comments on commit b341e72

Please sign in to comment.