# NumCPUs best practice on multi core/multi relay servers

**URL:** <https://forum.torproject.org/t/numcpus-best-practice-on-multi-core-multi-relay-servers/3802>\
**Category:** Relay Operator\
**Created:** [June 29, 2022, 2:16pm UTC](https://forum.torproject.org/t/numcpus-best-practice-on-multi-core-multi-relay-servers/3802 "2022-06-29T14:16:53Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![code9n](https://forum.torproject.org/letter_avatar_proxy/v4/letter/c/f1d935/32.png) [@code9n](https://forum.torproject.org/u/code9n)\
**Post date:** [January 29, 2023, 9:26am UTC](https://forum.torproject.org/t/numcpus-best-practice-on-multi-core-multi-relay-servers/3802/10 "2023-01-29T09:26:58Z")

</div>

Hi,

Just to clarify, then:

I have a vps with one relay running on it. (4 CPUs, 4GB RAM, debian 11). It’s about maxing out CPU usage according to top . But only using about half the RAM.

But if I run another instance that should take up some of the unused resources on there without much trouble by the looks of it - via unused CPUs?

What do I do to run a second instance? The first instance is just running as root. Should I make a new user with sudo privileges to install the new instance under? Or just do another install like the first, still in root and adjust for the notices.log files as per this thread:

> [@Cannot initiate notice logs for second instance of Tor](https://forum.torproject.org/t/cannot-initiate-notice-logs-for-second-instance-of-tor/3137):
>
> I would like to run a second non-exit relay instance on my server. However, there seems to be no way to let my second instance log notices into a file within the /var/log/tor folder. Removing the “Log notice file /var/log/tor/notices2.log” parameter and replacing it with “Log notice syslog” or removing the Log notice option entirely allows the second instance to start. I’d still like to log notices to a file separate of the first instance. I am running Ubuntu 20.04. Here is what I’ve tried: …

Also, is it bad practice to run tor as root in the first place?

Thanks,

---

_[View the full topic](https://forum.torproject.org/t/numcpus-best-practice-on-multi-core-multi-relay-servers/3802)._
