[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1131 [Tor bundles/installation]: fedora rpm doesn't set ulimit -n, so you can't run a fast relay
#1131: fedora rpm doesn't set ulimit -n, so you can't run a fast relay
---------------------------------------------+------------------------------
Reporter: arma | Owner: erinn
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Tor bundles/installation | Version: 0.2.1.19
Resolution: | Keywords:
Parent: | Points:
Actualpointsdone: | Pointsdone:
Actualpoints: |
---------------------------------------------+------------------------------
Changes (by arma):
* priority: minor => normal
Old description:
> If you run a fast relay, you will end up using more than the default
> 1024 file descriptors. Currently we point people who run relays to
> https://www.torproject.org/docs/tor-doc-relay.html.en and hope they
> read through to item #14.
>
> Debian, on the other hand, has a clause in the init script:
> https://git.torproject.org/checkout/tor/master/debian/tor.init
> that sets MAX_FILEDESCRIPTORS based on how many file descriptors are
> available on the machine, before it launches the Tor process.
>
> [Automatically added by flyspray2trac: Operating System: All]
New description:
If you run a fast relay, you will end up using more than the default
1024 file descriptors. Currently we point people who run relays to
https://www.torproject.org/docs/tor-doc-relay.html.en and hope they
read through to item #14.
Debian, on the other hand, has a clause in the init script:
https://gitweb.torproject.org/debian/tor.git/blob_plain/HEAD:/debian/tor.init
that sets MAX_FILEDESCRIPTORS based on how many file descriptors are
available on the machine, before it launches the Tor process.
[Automatically added by flyspray2trac: Operating System: All]
--
Comment:
Replying to [comment:2 katmagic]:
> Enrico fixed this.
Not well enough, I think. 4096 is better than 1024, but still not enough
for fast relays, which sometimes use 10000 or more file descriptors. So I
think it remains the case that you can't run a fast relay with Fedora's
RPM.
Here's a link to the Red Hat init script that our RPM uses:
https://git.torproject.org/tor/contrib/tor.sh.in
which already has this feature sorted out.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1131#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs