GlobaLeaks icon indicating copy to clipboard operation
GlobaLeaks copied to clipboard

Tor task higly increases CPU load

Open larrykind opened this issue 10 months ago • 4 comments

What version of GlobaLeaks are you using?

4.14.8 - os: debian 12

What browser(s) are you seeing the problem on?

No response

What operating system(s) are you seeing the problem on?

Linux

Describe the issue

When globaleaks performs this operation (Tor discovery / checking) my server CPU load goes to 100%. This process really stucks every front end interactions leaving the client with "loading" icon until the task ends (about 2 minutes in my case). Attaching an htop of my server.

immagine

Proposed solution

No response

larrykind avatar Apr 16 '24 10:04 larrykind

Thank you @larrykind .

  1. is the system multitenant and if yes how many tenants are you running?
  2. where do you read "Tor discovery / checking" ?

evilaliv3 avatar Apr 16 '24 11:04 evilaliv3

@evilaliv3

  1. yes the system is multitenant, there are about 150 tenant on it
  2. I really don't know which operation Tor is executing, it was just an hypotesis due to higher netowr traffic while the Tor application was this CPU consuming

larrykind avatar Apr 16 '24 11:04 larrykind

I think there is nothing particularly that we could do.

I think this is a known performance issue of Tor that i would have considered resolved with onion services v3.

What we could do is eventually to reduce the number of onion services from N to 1 and use subdomains on the same onion service.

@asn-d6 @meejah are you aware of any configuration that could help optimize running Tor with a large number of onion services? thank you!

evilaliv3 avatar Apr 16 '24 12:04 evilaliv3

@rha

I think there is nothing particularly that we could do.

I think this is a known performance issue of Tor that i would have considered resolved with onion services v3.

What we could do is eventually to reduce the number of onion services from N to 1 and use subdomains on the same onion service.

@asn-d6 @meejah are you aware of any configuration that could help optimize running Tor with a large number of onion services? thank you!

@rhatto

asn-d6 avatar Apr 16 '24 12:04 asn-d6