当前位置:网站首页>使用Jmeter和VisualVW进行压测准备
使用Jmeter和VisualVW进行压测准备
2022-07-23 18:51:00 【极速小乌龟】
因为压测过程中要对GC进行监控所以需要安装VisualVW,而在压测过程中因为系统最大连接数较小会出现Address already in use: connect。报错,导致压测结果错误。所以要修改最大连接数和连接断开时间
一、VisualVW安装GC监控插件
1.首先查看自己的jdk版本,版本号在最后面。

2.根据版本号到插件官网查找自己的对应版本插件路径
插件官网:VisualVM: Plugins Centers
因为我的jdk版本号是65所以对应第二个,点击下面链接进入页面

进入页面后复制插件更新路径,然后到VisualVW中修改自己的插件路径。

3.更改插件中心路径
找到自己的jdk安装路径,在bin文件夹下面有一个jvisualvm.exe,打开以后点击“工具”--》"插件"--》“设置”,然后进行编辑,将我们复制的路径添加进去。

4.GC插件安装
点击可用插件,勾选Visual GC 点击安装,安装完成以后重启即可。
二、修改Win系统的最大连接数
1、打开注册表:regedit。
2、找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters。

3、新建DWORD值,name:TcpTimedWaitDelay,value:30(十进制)

4、新建DWORD值,name:MaxUserPort,value:65534(十进制)设置最大连接数65534。

5、重启系统
边栏推荐
猜你喜欢

According to the e-commerce written on the resume, how does redis realize inventory deduction and prevent oversold?

3D point cloud course (VII) -- feature point description

【无标题】

攻防世界web题-fakebook
![[unity project practice] level unlocking](/img/14/a12ad9aa7741599222aa4db8688713.png)
[unity project practice] level unlocking

梅科爾工作室-小熊派開發筆記2

新品上市|A股场内衍生品大盘点

Osgearth uses sundog's Triton ocean and silverlining cloud effects

百度地图数据可视化

MySQL 数据恢复 —— 使用 data 目录
随机推荐
安装Win11找不到固态硬盘如何解决?
非局部均值滤波(NON-LOCAL-mean)/注意力机制
MySQL data recovery - using the data directory
重装系统后故障(报错:reboot and select proper boot deviceor insert boot media in selected boot device)
Cannot read properties of null (reading ‘pickAlgorithm‘)
从200W超级闪充看iQOO 10 Pro的 “共情”能量
Codeforces round 809 (Div. 2) [VP record]
Configure MySQL master-slave replication with mysqldump or mydumper
What is weak network testing? Why should weak network test be carried out? How to conduct weak network test? "Suggested collection"
能量原理与变分法笔记16:虚位移原理的求解
The full text of Li Hongzhang's deathbed poem
新品上市|A股场内衍生品大盘点
Leetcode 238. 除自身以外数组的乘积
Training log on July 22, 2022
Huawei cloud stack [interview]
Edge cloud | 1. overview
【Unity项目实践】关卡解锁
Home NAS server (3) | SSD cache acceleration mechanical hard disk
Adobe Acrobat两个强大的插件
AtCoder B - Pizza