Opened 9 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: Archived/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


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 9 years ago.
armfail.png (123.7 KB) - added by kerrupt 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by kerrupt

Attachment: dosaudit_cpu.png added

Changed 9 years ago by kerrupt

Attachment: armfail.png added


comment:1 Changed 9 years ago by kerrupt

Component: - Select a componentarm
Owner: set to atagar

comment:2 Changed 9 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.