AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
23.79k stars 1.75k forks source link

why node high cpu usage? when my press test tools execute doh query. #7106

Open andylau004 opened 3 weeks ago

andylau004 commented 3 weeks ago

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

master

Action

When I run my stress test tool, executing DOH queries 1000 times per second, the node js process cpu usage is also very high.

when execute my stress test , No web operations are performed at the same time

i don't know why?

Has anyone has been seen this before

1719807398696

Expected result

I expect node/node js to take up less cpu

Actual result

1719807398696

Additional information and/or screenshots

No response

andylau004 commented 2 weeks ago

。。

why?

Nobody's ever been in that situation before

tjharman commented 2 weeks ago

Hi,

Sorry I'm not sure I understand - what is the issue? I understand your node process is showing high CPU, but node has nothing to do with AdGuardHome. I'm not sure what relationship node has to AdGuardHome? AdGuardHome doesn't use/rely on node in anyway.

Can you explain more clearly how your node CPU issue is related to AdGuardHome?