[
https://issues.apache.org/jira/browse/CLOUDSTACK-8761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14712863#comment-14712863
]
ASF GitHub Bot commented on CLOUDSTACK-8761:
--------------------------------------------
Github user miguelaferreira commented on the pull request:
https://github.com/apache/cloudstack/pull/730#issuecomment-134930757
@karuturi Just tried the code you posted, and this was the result:
```zsh
jsonTmp=pr.json
prAuthor=$(cat ${jsonTmp} | python -c "
try:
import sys, json
print
json.load(sys.stdin)['user']['login'].encode('utf-8').decode('ascii','ignore')
except:
print ''
")
echo $prAuthor
ustcweizhou
```
> Management server heartbeat takes too long to finish
> ----------------------------------------------------
>
> Key: CLOUDSTACK-8761
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8761
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Wei Zhou
> Assignee: Wei Zhou
>
> We got a lot of debug message in management-server.log every 1.5 seconds.
> The cluster.heartbeat.interval is set to 1500 by default. As it was not
> changed after its first commit, so I think it is 1500 ms.
> However, The durations are less than 10ms actually.
> 2015-08-18 00:00:04,526 DEBUG [c.c.c.ClusterManagerImpl]
> (Cluster-Heartbeat-1:ctx-047bb88f) Management server heartbeat takes too long
> to finish. profiler: Done. Duration: 4ms, profilerHeartbeatUpdate: Done.
> Duration: 3ms, profilerPeerScan: Done. Duration: 0ms
> 2015-08-18 00:00:06,036 DEBUG [c.c.c.ClusterManagerImpl]
> (Cluster-Heartbeat-1:ctx-68018e26) Peer scan takes too long to finish.
> profiler: Done. Duration: 0ms, profilerQueryActiveList: Done. Duration: 0ms,
> profilerSyncClusterInfo: Done. Duration: 0ms, profilerInvalidatedNodeList:
> Done. Duration: 0ms, profilerRemovedList: Done. Duration: 0ms
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)