<html><head></head><body><div class="ydp58e7bee0yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">The following are some of the more important config options that I use for such a small middle relay:</span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"><br></span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"># Tor: A non-exit relay should be able to handle 7000 concurrent connections                                     </span><span style="font-size: 12pt;">                            </span><span style="font-size: 12pt;"> </span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;">

</p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">ulimit -n 65535</span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"><br></span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">DirCache 0                                              </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">ExitRelay 0                     </span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"><br></span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"># Note: The default MaxMeminQueues is 3/4 (i.e., 192MB) of Total System Memory (i.e., 256MB)</span><span style="font-size: 12pt;">                   </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;"># Uncomment the following line to limit Tor to use less System Memory (i.e., 128MB)</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">MaxMemInQueues 192 MB               </span></p><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">                    </span><span style="font-size: 12pt;">                   </span><span style="font-size: 12pt;"> </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">Log notice file /tmp/torlog                             </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">Log notice syslog</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">RunAsDaemon 1                                           </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">DataDirectory /tmp/tor/torrc.d/.tordb                   </span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">AvoidDiskWrites 1</span></p></div><div><br></div><div class="ydp58e7bee0signature">—<br>This Message Originated by the Sun.<br>iBigBlue 63W Solar Array (~12 Hour Charge)<br>+ 2 x Charmast 26800mAh Power Banks<br>= iPhone XS Max 512GB (~2 Weeks Charged)</div></div>
        <div><br></div><div><br></div>
        
        <div id="ydp58e7bee0yahoo_quoted_6751440204" class="ydp58e7bee0yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, November 10, 2021, 2:36:13 AM MST, failing.flyaway443--- via tor-relays <tor-relays@lists.torproject.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp58e7bee0yiv6162917699"><div>Hi Gary,<br></div><div>thank you for your response.<br></div><div>I think I just worry too much.<br></div><div>I watched my relay all the time today, I had bandwidth usage of 30MB/s at times and HTOP showed me a Load average of 0.29/0.29/0.30. I know that this is totally fine for a dual core. <br></div><div>The relay is up and running for 3 days and 8 hours now and I already moved ~700GB in each direction (upload/download). I was just concerned because the VPS started crashing after 2 weeks solid uptime, but I should have set stricter bandwith limits. <br></div><div>You can't really compare a VM with a root server, I don't think this will happen again. <br></div><div>It's ok for me to invest a little more and have a fast and stable relay this way. The traffic was capped with the VPS plan, this was obviously a big disadvantage, now I can use as much traffic as I want with a 2,5Gbit link (1Gbit guaranteed).<br></div><div>For your info, the most important lines of my config:<br></div><div>SocksPort 0<br></div><div>Log notice file /var/log...<br></div><div>Log debug file /var/log...<br></div><div>ORPort 443<br></div><div>RelayBandwithRate 1000Mbit<br></div><div>RelayBandwithBurst 1000Mbit<br></div><div>Exit policy reject *:*<br></div><div>ContactInfo & Nickname set, of course... ;)<br></div><div><br></div><div>Is there anything I should change?<br></div><div><br></div><div>Thanks for your help!<br></div><div><br></div><div>Best Regards...</div><div><br></div><div><br></div><div class="ydp58e7bee0yiv6162917699protonmail_signature_block"><div class="ydp58e7bee0yiv6162917699protonmail_signature_block-user ydp58e7bee0yiv6162917699protonmail_signature_block-empty"></div><div class="ydp58e7bee0yiv6162917699protonmail_signature_block-proton"></div></div><div><br></div>
</div>_______________________________________________<br>tor-relays mailing list<br><a href="mailto:tor-relays@lists.torproject.org" rel="nofollow" target="_blank">tor-relays@lists.torproject.org</a><br><a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="nofollow" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br></div>
            </div>
        </div></div></body></html>