Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
1. Multi-processes if we call fan_algorithm.py every HOST_POWERED state
2. Occupy the memory if we don't unref sdbus message
  • Loading branch information
johnhcwang committed Apr 1, 2016
1 parent 914baf4 commit ef9adda
Show file tree
Hide file tree
Showing 3 changed files with 542 additions and 633 deletions.
2 changes: 1 addition & 1 deletion bin/Barreleye.py
Expand Up @@ -212,7 +212,7 @@
'process_name' : 'info',
},
'fan_algorithm' : {
'system_state' : 'HOST_POWERED_ON',
'system_state' : 'BMC_READY',
'start_process' : True,
'monitor_process' : True,
'process_name' : 'fan_algorithm',
Expand Down

0 comments on commit ef9adda

Please sign in to comment.