Xargin

Results 77 comments of Xargin

You should see both the inuse and alloc space together to help locating the root cause A big heap object will cause rss spike, if it is not used any...

https://github.com/conprof/conprof

@XuHuaiyu OOM 是我们碰到的最多的问题,但不是唯一的问题 goroutine 暴涨,我们也是需要知道原因的,举一个实际的例子,和 mosn 通信的本地应用正在 GC, mosn 有很多 goroutine 卡在了向一个 channel 发数据上,但是过了一会,这个现场就没了。我们事后在监控里看到发生抖动,也可以上线上机器拿到这个现场,解释清楚当时发生了什么事情 CPU 则是为了定位一些转瞬即逝的尖刺,看看整个进程是不是在某些地方有潜在的性能问题,或者是其它人写的什么 bug(内部项目会在 mosn 上开发很多应用逻辑,这部分代码可能是由其他团队完成的 再扩展一些说,我们也碰到过比较少见的进程创建了大量的线程的问题,但是事后去看现场的话,只能看到这些线程都已经闲置,没有办法知道当时是什么原因创建出来的(比如可能是因为 cgo 阻塞? 这个线程问题是最近才碰到的,之前开发这个工具没有想到会碰到这种情况,所以那次现场也没有抓到,到现在还没法解释清楚原因 能够通过对现场进行分析,我们可以进一步发现代码里的一些潜在的缺陷,和可能的优化点

https://github.com/mosn/holmes/issues/14

is this pr going to be merged?

yes, because javascript cannot support int64 data and will lose precision if your number is long than 16digit, but the data in es is correct

Maybe a simple idea is like detecting a cycle in a dag, start from the rule root, push every **left** rule to its map, until every rule is traversed. eg:...

哈哈,楼上,笑喷了233