Opened 12 days ago

Last modified 6 days ago

#24857 needs_information defect

tor 100% cpu load

Reported by: Eugene646 Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version: Tor:
Severity: Normal Keywords: cpu, windows
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:



I have tor running as non-exit relay.
From time to time it starts consuming 100% of CPU. Even though network traffic is minimal.
Is it normal? If not, how can I help you to investigate it?

My system is Win 7 x64 SP1, cpu is Core i5-3570.

Child Tickets

Change History (3)

comment:1 Changed 12 days ago by dgoulet

Component: Core TorCore Tor/Tor
Keywords: windows added
Status: newneeds_information

Are you able to see some sort of time period pattern where tor would take all the CPU? Like is it every hour? or every 10 minutes?

Was it only at startup or it keeps doing it often?

comment:2 Changed 11 days ago by Eugene646

No, there is no pattern. It happens some days and may last from few minutes to few hours. Not necessarily at start. There is no reliable way of reproducing.

Maybe I could enable some debug logging or like that?

comment:3 Changed 6 days ago by mr_rokman

I'm also experiencing same issue. System is Win7 64-bit on Intel E6850, Tor version is, running as service, non-exit, non-bridge relay, although DirPort is enabled. From time to time Tor process start consuming 100% of both CPU cores, network activity during this spikes on both ORPort and DirPort is next to nothing (1-3 kbps). These spikes' pattern also does not depend on whenever I'm using relay myself. Moreover, task manager shows ~50% of kernel time of CPU utilization (some file/network operations maybe).

I have fragment of 'debug'-level logfile which is very big to post but I could do some parsing on it (like count repeating lines and comparing it to 'notice'-level log), I could also post torrc contents.

Or maybe I should create another ticket? Child ticket possibly?

Note: See TracTickets for help on using tickets.