Reoccuring Relay Error - Please Help

Hello.

I am currently running 8 VPS servers with multiple relays (up to 8 per IP) across multiple providers. I am experiencing a reoccurring error on many of the relays that I can’t figure out what is causing it. The error consistently happens at least once per day, but frequently many times per day. The error trace is below. I also uploaded an image that shows my cpu (top), network (middle) and memory (bottom). One of my torrc is also attached, minus any real info. Any assistance would be greatly appreciated. Thank you!

Error trace-log

tor_bug_occurred_(): Bug: ../src/feature/dircache/consdiffmgr.c:1240: consdiffmgr_ensure_space_for_files: Non-fatal assertion !(n_marked < n_to_remove) failed. (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: Tor 0.4.8.16: Non-fatal assertion !(n_marked < n_to_remove) failed in consdiffmgr_ensure_space_for_files at ../src/feature/dircache/consdiffmgr.c:1240. Stack trace: (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(log_backtrace_impl+0x57) [0x563609c4b1d7] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(tor_bug_occurred_+0x169) [0x563609c56139] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(+0x1b05d6) [0x563609d105d6] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(+0x1b06d2) [0x563609d106d2] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(replyqueue_process+0x4d) [0x563609d947fd] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(+0x2348b4) [0x563609d948b4] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /lib/x86_64-linux-gnu/libevent-2.1.so.7(+0x21585) [0x7fc3136d5585] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /lib/x86_64-linux-gnu/libevent-2.1.so.7(event_base_loop+0x49f) [0x7fc3136d5c1f] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(do_main_loop+0xf1) [0x563609bd16c1] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(tor_run_main+0x1e5) [0x563609bccff5] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(tor_main+0x59) [0x563609bc9329] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(main+0x19) [0x563609bc8ee9] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7fc312d8a24a] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7fc312d8a305] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Bug: /usr/bin/tor(_start+0x21) [0x563609bc8f31] (on Tor 0.4.8.16 )
Jun 13 01:24:23 XXXXX: Unable to store object consensus compressed with deflate. [2 similar message(s) suppressed in last 840 seconds]

torrc

ORPort 1234
Nickname Name123
ContactInfo email@gmail.com
ExitRelay 0
ExitPolicy reject :
MyFamily XXXX,XXX,XXXX

1 Like

Do you have enough storage on the server?

Also maybe have a look if maximum number of open file descriptors is enough for the user running tor. [ulimit -n]

1 Like

Hi, thank you for the response. I will look into the space avaiable, but df says that there shuold be plenty of space. “ulimit -n” returns 1024. but “cat /proc/$(pgrep -o -x tor)/limits | grep “Max open files”” returns 65535

1 Like