Opened 8 years ago

Closed 4 years ago

#4964 closed defect (worksforme)

Resource starvation causes arm to overwhelm server

Reported by: kerrupt Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I'm running a fast relay/exit node and as part of an audit, I ran a DoS attack upon the server which starved system resources.

Once the process was complete, it caused arm to use 51% of system ram, approx 760mb, and 99% of available CPU power.

The chart attached shows CPU during and after the DoS attack, and after 7.04am the light blue shows arm's affect on the server.

A second attachment is (unhelpfully a screenshot) of top showing the resources arm is using.

Child Tickets

Attachments (2)

dosaudit_cpu.png (118.7 KB) - added by kerrupt 8 years ago.
armfail.png (123.7 KB) - added by kerrupt 8 years ago.
Top

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by kerrupt

Attachment: dosaudit_cpu.png added

Changed 8 years ago by kerrupt

Attachment: armfail.png added

Top

comment:1 Changed 8 years ago by kerrupt

Component: - Select a componentarm
Owner: set to atagar

comment:2 Changed 8 years ago by atagar

Status: newneeds_information

What exactly are you doing to DoS the host? It would be more helpful if you ran arm with its '--debug' argument which will create a debugging log at '~/.arm/log' (of course, scrub it if you find any information in it you consider to be private). Timestamps matching the log's timezone for when you performed the DoS and the resulting resource usage spike would be useful.

Cheers! -Damian

comment:3 Changed 4 years ago by atagar

Resolution: worksforme
Severity: Normal
Status: needs_informationclosed

Cleaning up old tickets. Nyx is undergoing a rewrite, if this is still relevant then feel free to reopen.

Note: See TracTickets for help on using tickets.