Hello,


I just installed a new relay in a fresh FreeBSD installation.

The relay starts fine, except for a warning that I don't understand.

Then it dies all of a sudden. The time before it dies is different every time.


I have googled for the warnings but could not find anything.

Does anyone here know what is going on?


Tor 0.3.1.4-alpha (git-fab91a290ded3e74) running on FreeBSD with Libevent 2.1.8-stable, OpenSSL 1.0.2j-freebsd, Zlib 1.2.8, Liblzma N/A, and Libzstd N/A.


Jul 12 23:44:24.672 [warn] You appear to lack permissions to change memory limits. Are you root?
Jul 12 23:44:24.672 [warn] Unable to raise RLIMIT_MEMLOCK: Operation not permitted
....

Jul 12 23:44:29.000 [notice] Self-testing indicates your ORPort is reachable from the outside. Excellent.
Jul 12 23:44:30.000 [err] Out of memory on realloc(). Dying.


It's the tor-devel version installed from ports.


Thanks in advance.