apache / apache/hertzbeat

[Question] <Does HertzBeat port 1158 not support Nginx forwarding>

Open
#1,186 5 comments 1 reaction 0 assignees View on GitHub
good first issue question
Dominant language
Java
Stars
7.4k
Forks
1.3k
Avg merge
1d 20h
Merged PRs (30d)
32

Description

### Question

因在实际使用中,HertzBeat 1157 端口是使用Nginx进行反代访问,在新版本中发现Collector Cluster 1158 端口若使用Nginx转发的情况下,下游部署的采集器会持续占用系统CPU及RAM,且会产生非常多的日志(启动1分钟大概160MB日志)

![b4759a625c602eda4344513f38b08ec](https://github.com/dromara/hertzbeat/assets/131239856/cc65e4bf-8bca-46d6-bd79-21ae2e6e8129)

部分日志内容:
![image](https://github.com/dromara/hertzbeat/assets/131239856/e9c8cc7a-fa5e-405d-9e21-f6c6b1086e32)
![image](https://github.com/dromara/hertzbeat/assets/131239856/38ec51ba-435b-4ee3-82af-afe211d8d653)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Collector Cluster port 1158 deployment behind Nginx described in the issue and inspect the reported logs. Compare CPU, RAM, and log volume with and without Nginx forwarding; done means the downstream collector no longer consumes excessive resources or emits approximately 160 MB of logs per minute.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.