摘要:
原文: https://docs.microsoft.com/zh-cn/previous-versions/visualstudio/visual-studio-2012/ee329530(v=vs.110)?redirectedfrom=MSDN 锁争用和顺序执行 工作负荷分配不均 过度订阅 I
阅读全文
posted @ 2021-01-20 18:46
PanPan003
阅读(72)
推荐(0)
摘要:
原文: https://blog.csdn.net/kntao/article/details/7077804 CLR Profile能够看到应用程序的内存堆栈情况并且能够查询垃圾回收机制的行为。利用CLR Profile可以确定你的代码哪儿分配了太多内存,从而导致垃圾回收机制的执行,哪些代码长时间
阅读全文
posted @ 2021-01-20 16:47
PanPan003
阅读(155)
推荐(0)
摘要:
原文: https://blog.csdn.net/hualusiyu/article/details/8166450 大家都知道.net有一套自己的内存(垃圾)回收机制,除非有一些数据(方法)长期占有内存不随着垃圾回收功能而释放内存,这样就造成了我们经常说的内存泄露、内存持续增长得不到释放等问题导
阅读全文
posted @ 2021-01-20 16:37
PanPan003
阅读(700)
推荐(0)
摘要:
原文: 在dockers中调试dump的dotnet程序 其他调试参考文章 centos7使用lldb调试netcore应用转储dump文件centos7 lldb 调试netcore应用的内存泄漏和死循环示例(dump文件调试) 生成dump文件 如何在docker容器里面创建dump文件请参考:
阅读全文
posted @ 2021-01-19 14:25
PanPan003
阅读(190)
推荐(0)
posted @ 2021-01-19 12:07
PanPan003
阅读(0)
推荐(0)
摘要:
原文: centos7 lldb 调试netcore应用的内存泄漏和死循环示例(dump文件调试) 写个demo来玩一玩linux平台下使用lldb加载sos来调试netcore应用。当然,在真实的产线环境中需要分析的数据和难度远远高于demo所示,所以demo的作用也仅仅只能起到介绍工具的作用。通
阅读全文
posted @ 2021-01-19 10:59
PanPan003
阅读(485)
推荐(0)
摘要:
原文: centos7使用lldb调试netcore应用转储dump文件 centos7下安装lldb,dotnet netcore 进程生成转储文件,并使用lldb进行分析 随着netcore应用在linux上部署的应用越来越多,碰到cpu 100%,内存暴涨的情况也一直偶有发生,在windows
阅读全文
posted @ 2021-01-19 10:44
PanPan003
阅读(255)
推荐(0)
摘要:
原文: https://blog.csdn.net/a184251289/article/details/98670441 文章目录 一、LLDB命令结构 二、命令选项 三、基础 执行命令(Execution Commands) 流程控制 process thread 断点命令(Breakpoint
阅读全文
posted @ 2021-01-19 10:36
PanPan003
阅读(716)
推荐(0)
摘要:
原文: 记一次内存泄漏DUMP分析 自从进入一家创业公司以后,逐渐忙成狗,却无所收获,感觉自身的技术能力用武之地很少,工作生活都在业务逻辑中颠倒。 前些天线上服务内存吃紧,让运维把DUMP拿下来,分析一下聊以自慰。 先来统计一下大对象信息 1 2 3 4 5 6 7 8 9 10 11 12 13
阅读全文
posted @ 2021-01-18 19:18
PanPan003
阅读(1205)
推荐(0)
摘要:
前言: 对于需要长时间运行的.net程序,有时需要我们查看内存的使用有没有内存泄露问题。 我们可以从dump文件中找到答案。 Dump的看点 用dump文件来分析内存,到底我们需要关心哪些点呢? 内存的使用情况 HeapSize/object的数量 也就是托管堆使用大小以及托管堆内有多少数量的对象
阅读全文
posted @ 2021-01-18 19:00
PanPan003
阅读(365)
推荐(0)
摘要:
原文: dump解析入门-用VS解析dump文件进行排障 突然有一天部署在服务器的一个应用挂掉了,没办法只能进入服务器打开 【事件查看器】查看下,好不容易找到了打开后一脸懵逼 事件查看器查到的内容根本对我们排障没有任何作用。 在这个时候如果有对应的dump文件就能派上用场了, 只要有dump文件就能
阅读全文
posted @ 2021-01-18 18:54
PanPan003
阅读(556)
推荐(0)
摘要:
原文: https://blog.csdn.net/cc93691810/article/details/85108148 最近在进一步学习support技能的时候,了解到分析Dump的重要性,经过学习,做一些笔记。 一、什么是Dump文件。Dump文件时进程的内存镜像。可以把程序的执行状态保存到D
阅读全文
posted @ 2021-01-18 18:42
PanPan003
阅读(17231)
推荐(0)
摘要:
原文: Dump文件分析 本文主要介绍Dump文件结构,理解Dump文件对于分析线程高占用、死锁、内存溢出等高级问题有非常重要的指导意义。 什么是Dump文件 Dump文件是进程的内存镜像。可以把程序的执行状态通过调试器保存到dump文件中。Dump文件是用来给程序编写人员调试程序用的,这种文件必须
阅读全文
posted @ 2021-01-18 18:37
PanPan003
阅读(961)
推荐(0)
摘要:
原文: https://www.toptal.com/dot-net/hunting-high-cpu-usage-in-dot-net Software development can be a very complicated process. We as developers need to
阅读全文
posted @ 2021-01-15 19:39
PanPan003
阅读(160)
推荐(0)
摘要:
原文: https://www.cnblogs.com/blurhkh/p/14225222.html 目录 说明 准备一个方便的学习环境 2.x 配置内容 3.x 配置内容 工具介绍 lldb sos plugin 1. attach 到进程上进行调试 2. 分析core dump文件 SOS 案
阅读全文
posted @ 2021-01-15 19:21
PanPan003
阅读(474)
推荐(0)
摘要:
官网地址: https://channel9.msdn.com/ Channel 9 is a community. We bring forward the people behind our products and connect them with those who use them. W
阅读全文
posted @ 2021-01-15 19:12
PanPan003
阅读(231)
推荐(0)
摘要:
官网地址: https://www.bookstack.cn/read/asp/0f968f62ba5a6357.md 性能诊断工具: https://www.bookstack.cn/read/asp/0f968f62ba5a6357.md 负载测试和压力测试: https://www.books
阅读全文
posted @ 2021-01-15 19:09
PanPan003
阅读(1211)
推荐(0)
摘要:
教学视频:good: https://channel9.msdn.com/Series/PerfView-Tutorial/PerfView-Tutorial-2-A-Simple-CPU-Performance-Investigation https://channel9.msdn.com/Ser
阅读全文
posted @ 2021-01-15 18:42
PanPan003
阅读(246)
推荐(0)
摘要:
官网地址: https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-dump-instructions.md …… Here's a table showing how dotnet-dump fits into
阅读全文
posted @ 2021-01-15 18:18
PanPan003
阅读(181)
推荐(0)
摘要:
官网地址: https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-trace-instructions.md …… Viewing the trace captured from dotnet-trace On
阅读全文
posted @ 2021-01-15 18:15
PanPan003
阅读(144)
推荐(0)
摘要:
原文: https://devblogs.microsoft.com/dotnet/introducing-diagnostics-improvements-in-net-core-3-0/ In .NET Core 3.0, we are introducing a suite of tools
阅读全文
posted @ 2021-01-15 18:13
PanPan003
阅读(116)
推荐(0)
摘要:
原文: https://michaelscodingspot.com/dotnet-trace/ Performance issues never seem to disappear from the world, no matter how fast new computers become. T
阅读全文
posted @ 2021-01-15 17:53
PanPan003
阅读(271)
推荐(0)
摘要:
原文: https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md#resolving-framework-symbols Performance Trac
阅读全文
posted @ 2021-01-15 16:48
PanPan003
阅读(127)
推荐(0)
摘要:
原文: https://devblogs.microsoft.com/dotnet/collecting-net-core-linux-container-cpu-traces-from-a-sidecar-container/ Introduction In recent years, conta
阅读全文
posted @ 2021-01-15 16:40
PanPan003
阅读(269)
推荐(0)
摘要:
原文: https://docs.microsoft.com/zh-cn/archive/blogs/vancem/perfview-hard-core-cpu-investigations-using-cpu-counters-on-windows-10 One of the bread-and-
阅读全文
posted @ 2021-01-15 16:08
PanPan003
阅读(105)
推荐(0)
摘要:
原文: https://docs.microsoft.com/en-us/archive/blogs/vancem/diagnosing-net-core-threadpool-starvation-with-perfview-why-my-service-is-not-saturating-all
阅读全文
posted @ 2021-01-15 16:01
PanPan003
阅读(1441)
推荐(0)
摘要:
原文: https://docs.microsoft.com/en-us/archive/blogs/vancem/analyzing-cpu-traces-from-linux-with-perfview Executive Summary If you want to use PerfView
阅读全文
posted @ 2021-01-15 15:37
PanPan003
阅读(317)
推荐(0)
摘要:
原文: 使用PerfView监测.NET程序性能(一):Event Trace for Windows 前言: 在日常项目开发中,我们时不时会遇到程序【占用了很高CPU的】情况,可能是程序里某些未经优化的代码或者Bug,或者是程序运行压力太大。无论是什么原因,我们总希望能看到到底是【哪个方法占用了如
阅读全文
posted @ 2021-01-15 12:09
PanPan003
阅读(769)
推荐(1)
posted @ 2021-01-15 12:07
PanPan003
阅读(0)
推荐(0)
摘要:
原文: https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/ 软件并非始终按预计方式运行,但 .NET Core 具有可帮助用户快速有效地诊断这些问题的工具和 API。 本文可帮助用户查找各种所需的工具。 托管调试器 借助托管调试器,用户
阅读全文
posted @ 2021-01-15 11:32
PanPan003
阅读(224)
推荐(0)
摘要:
原文: https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/dotnet-counters 摘要 控制台复制 dotnet-counters [-h|--help] [--version] <command> 描述 dotnet-coun
阅读全文
posted @ 2021-01-15 11:04
PanPan003
阅读(392)
推荐(0)
posted @ 2021-01-15 11:00
PanPan003
阅读(0)
推荐(0)
摘要:
原文:https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/trace-perfcollect-lttng 在 Linux 上遇到性能问题时,可使用 perfcollect 收集跟踪,以便收集有关出现性能问题时计算机上发生的状况的详细信息。
阅读全文
posted @ 2021-01-15 10:56
PanPan003
阅读(435)
推荐(0)
posted @ 2021-01-14 19:08
PanPan003
阅读(0)
推荐(0)
posted @ 2021-01-14 18:50
PanPan003
阅读(2)
推荐(0)
摘要:
原文地址: https://developpaper.com/using-dotnet-dump-to-find-the-reason-why-net-core-3-0-takes-up-100-of-cpu/ • dotnet counters: real time statistics of r
阅读全文
posted @ 2021-01-14 12:47
PanPan003
阅读(123)
推荐(0)
摘要:
Debug high CPU usage in .NET Core In this tutorial, you'll learn how to debug an excessive CPU usage scenario. Using the provided example ASP.NET Core
阅读全文
posted @ 2021-01-14 12:36
PanPan003
阅读(186)
推荐(0)
摘要:
原文: 使用 SOS 对 Linux 中运行的 .NET Core 进行问题诊断 目录 说明 准备一个方便的学习环境 2.x 配置内容 3.x 配置内容 工具介绍 lldb sos plugin 1. attach 到进程上进行调试 2. 分析core dump文件 SOS 案例分析 CPU 占用过
阅读全文
posted @ 2021-01-13 19:01
PanPan003
阅读(389)
推荐(0)
摘要:
原文: https://github.com/dotnet/diagnostics/blob/master/documentation/dotnet-dump-instructions.md Intro The dotnet-dump CLI global tool is way to collec
阅读全文
posted @ 2021-01-12 19:50
PanPan003
阅读(173)
推荐(0)
摘要:
原文地址: https://docs.microsoft.com/zh-cn/dotnet/core/diagnostics/dotnet-dump 本文适用于: ✔️ .NET Core 3.0 SDK 及更高版本 备注 macOS 的 dotnet-dump 仅在 .NET 5.0 及更高版本中
阅读全文
posted @ 2021-01-12 16:03
PanPan003
阅读(1340)
推荐(0)