[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13702 [Tor]: Adding OpenBSD to doc/TUNING
#13702: Adding OpenBSD to doc/TUNING
---------------------------+-----------------------------------------------
Reporter: mmcc | Owner:
Type: | Status: needs_review
enhancement | Milestone: Tor: 0.2.6.x-final
Priority: normal | Version: Tor: unspecified
Component: Tor | Keywords: OpenBSD, tuning, doc/TUNING lorax
Resolution: | Parent ID:
Actual Points: |
Points: |
---------------------------+-----------------------------------------------
Comment (by mmcc):
rl1987: Yeah, I'm doing more research now, but I may have made a newb
mistake reading the OpenBSD documentation. It seems that one can change
the `sysctl` variable `kern.maxfiles` with a command like `sudo sysctl
kern.maxfiles=20000`. I thought I had double-checked this - sorry for not
doing a more rigorous review before it got committed.
I'll come back to confirm soon. If I did indeed make a mistake, we can
change the first three paragraphs (through "recompile the kernel") with:
The maximum number of file descriptors that an OpenBSD machine can have
open is stored in the `sysctl` variable `kern.maxfiles`. This value
defaults to `7030` - to verify this, run `sysctl kern.maxfiles`.
To immediately change a running system's file descriptor limit to, for
example, 20,000 files, run `sudo sysctl kern.maxfiles=20000`. All sysctl
variables are reset upon reboot using defaults and `/etc/sysctl.conf`, so
to make your change permanent you must add the line `kern.maxfiles=20000`
to `/etc/sysctl.conf`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13702#comment:3>
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