Skip to content

Commit

Permalink
SDC-1656 - Deadlock in SDC due to memory monitoring
Browse files Browse the repository at this point in the history
Change-Id: I820cf97255ad87a3826065c2f3d63ecc2b93aae6
Reviewed-on: https://review.streamsets.net/1182
Reviewed-by: Virag Kothari <virag@streamsets.com>
Tested-by: StreamSets CI <streamsets-ci-spam@streamsets.com>
  • Loading branch information
brockn committed Sep 2, 2015
1 parent 984eaa5 commit 9e8deae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public List<Issue> init(StagePipe.Context pipeContext) throws StageException {
}
}
this.context = pipeContext;
if (configuration.get("monitor.memory", true)) {
if (configuration.get("monitor.memory", false)) {
LOG.info("Starting memory collector for {}", getStage().getInfo().getInstanceName());
scheduledExecutorService.submit(
new MemoryMonitor(memoryConsumedCounter,
Expand Down
3 changes: 0 additions & 3 deletions dist/src/main/etc/sdc.properties
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ xmail.password=@email-password.txt@
# FROM email address to use for the messages
xmail.from.address=sdc@$localhost

# Monitor memory of stages
monitor.memory=true

#Value of this property is used to create email message with a link to the console.
#By default the hostname is used.
#sdc.base.http.url=http://localhost:18630
Expand Down

0 comments on commit 9e8deae

Please sign in to comment.