Skip to content

Commit

Permalink
update oom record
Browse files Browse the repository at this point in the history
  • Loading branch information
coldgust committed Nov 2, 2023
1 parent aab6127 commit 665c387
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/posts/java-oom-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ star: true

# 一次线上OOM问题排查

生产环境的JVM进程经常被运维报告有OOM的情况,运维的描述是,内存一直在缓慢增长,1-2天就会出现OOM的情况。因为已经严重影响到客户的使用,所以采取由运维定时监控,与客户交流,开发负责排查问题的策略。

## Step1:测试环境复现问题

由于开发是没权限进入生产环境的,要高效率解决问题,必须能在测试环境复现。查看生产环境的日志,确认容器出发OOM的接口,然后使用`Jmeter`在测试环境压测该接口,发生OOM的情况,问题能够复现。

0 comments on commit 665c387

Please sign in to comment.