<div dir="ltr">Dear all,<br><br>I run an exit node on debian strech, fingerprint 13E75F70220903A68BAF1F80B3DA9AB913961841<br>I would like to use more bandwidth, but I'm unsure how to do that with systemd.<br><br>So, Lets say I want two exit nodes, each at 20MB/s.<br>As per <a href="https://www.torservers.net/wiki/setup/server#high_bandwidth_tweaks_100_mbps">https://www.torservers.net/wiki/setup/server#high_bandwidth_tweaks_100_mbps</a>, I am supposed to use<br><font face="monospace, monospace">tor-instance-create tor{1,2} [1]<br>systemctl enable tor@tor1</font><br>etc.<br><br>but what goes in the individual tor@tor1 torrc in /etc/tor/instances/tor1/torrc and what goes in the main instance in /etc/tor/torrc?<div><br></div><div>Looking at the status for the new instance</div><div><font face="monospace, monospace">systemctl status tor@tor1<br>Process: 22722 ExecStartPre=/usr/bin/tor --defaults-torrc /var/run/tor-instances/tor1.defaults -f /etc/tor/instances/tor1/torrc --verify-config</font><br><br>it seems the main torrc is not read, so maybe this is just an fancy way of doing the "old" </div><div>/usr/sbin/tor -f /usr/local/etc/torrc1<br></div><div>/usr/sbin/tor -f /usr/local/etc/torrc2<br></div><div>...</div><div>with separate configurationfiles and datadir?</div><div><br></div><div><br></div><div>I have a few extra ipv4 addresses. Should I allow each instance it's own IP or is sharing fine with one having (80,443) and the other (9091,9030) as (QR,DIR)port?</div><div>I am aware that one IP can only be shared between two instances.</div><div><br></div><div><br></div><div>Another question:</div><div>Should I set the NumCPUs option to 2 or just leave it at 0(default)?</div><div><a href="https://www.torproject.org/docs/tor-manual.html.en#NumCPUs">https://www.torproject.org/docs/tor-manual.html.en#NumCPUs</a><br></div><div><br></div><div>The processor is a bit old:</div><div><font face="monospace, monospace">Model name:            Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz<br></font></div><div><font face="monospace, monospace">pidstat 5 -p `pidof tor`</font></div><div><div><font face="monospace, monospace">Linux 4.9.0-3-amd64 (tiger) <span class="gmail-Apple-tab-span" style="white-space:pre">  </span>2017-07-01 <span class="gmail-Apple-tab-span" style="white-space:pre">   </span>_x86_64_<span class="gmail-Apple-tab-span" style="white-space:pre">      </span>(4 CPU)</font></div><div><font face="monospace, monospace">23:38:33      UID       PID    %usr %system  %guest    %CPU   CPU  Command</font></div><div><font face="monospace, monospace">23:38:38      127     10706   38,60   16,80    0,00   55,40     2  tor</font></div><div><font face="monospace, monospace">23:38:43      127     10706   37,20   14,20    0,00   51,40     3  tor</font></div><div><font face="monospace, monospace">23:38:48      127     10706   33,20   12,20    0,00   45,40     3  tor</font></div></div><div><div><font face="monospace, monospace">23:38:53      127     10706   41,00   11,80    0,00   52,80     3  tor</font></div><div><font face="monospace, monospace">23:38:58      127     10706   46,40   14,80    0,00   61,20     2  tor</font></div></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><br></font></div><div>And finally:</div><div>Do you change the number of maximum file descriptors? As of now,</div><div><div><font face="monospace, monospace">cat /proc/sys/fs/file-nr</font></div><div><font face="monospace, monospace">9248<span class="gmail-Apple-tab-span" style="white-space:pre">     </span>0<span class="gmail-Apple-tab-span" style="white-space:pre">     </span>163085</font></div></div><div><br></div><div>where </div><div><font face="monospace, monospace">ls -l /proc/`echo $(pidof tor)`/fd | wc -l<br></font></div><div><font face="monospace, monospace">5866</font><br></div><div><br></div><div>Best,</div><div>Paw</div><div>[1]<br></div><div><a href="http://manpages.ubuntu.com/manpages/zesty/man8/tor-instance-create.8.html">http://manpages.ubuntu.com/manpages/zesty/man8/tor-instance-create.8.html</a></div></div>