Open zouyx opened 5 years ago
What do you mean shutdown apm? Backend or agent?
And when do you shutdown? 7-10?
shutdown agent.
first release at 3.14 21:00. and restart twice. first restart at 3.15 10:00, but i haven't realized the root cause. second time at 3.16 14:00, at the same time shutdown agent.
But, after 3.16 1400, the cpu is still high. You said the agent shutdown.
no , this is idle time
I see. How many throughputs of your application?
this app is avg 1 qps
Flame graph in v1.0
Flame graph in v1.1
It seems like the CPU usage rate of V1.1 is better than V1.0's. I saw that the serialized object of GRPC Node.js costs lots of CPU time in V1.0, and I will investigate this problem.
If the QPS is just 1, why does gRPC run in such high frequency? What is your strategy of activating gRPC? @ascrutae
I had the same problem, so I temporarily removed the AMP part.
@ZhouBox which version did you used?
@zouyx 0.1.5
SkyAPM-nodejs 0.1.5?
i fixed this problem in 1.1.0, you can try it out
@zouyx sorry, I use skyapm-egg-require 0.1.5, SkyAPM-nodejs use 1.1.2.
Ref #71
+1
@wuliupo i think this is new version for js as below
@zouyx No, it isn't. That is for browser specific.
there was high cpu usage , and high latency. but it was turn to normal when i shut down apm.
infomation: node client version:v1.0 thinkjs version:2.2
cpu idle: