Anyone got RethinkDB working in FreeBSD?

Kurt Jaeger lists at opsec.eu
Wed Sep 30 17:38:57 UTC 2015


Hi!

> 2015-09-29T09:44:53.808480308 0.036235s warn: Failed to disable read-ahead on '/usr/local/rethinkdb_data/metadata' (errno -1). You might see decreased read performance.

src/arch/io/disk.cc

has an ifdef'ed fcntl(fd.get(), F_RDAHEAD, 0), and FreeBSD is not
correctly defined, so it does not get called:

If you look at line 495 of disk.cc:

#elif defined(__APPLE__)

and change it to

#elif defined(__APPLE__) || defined(__FreeBSD__)

it would work.

> But it doesn't look very promising. The rethinkdb process
> with the lower PID is using 100% CPU, and kill -9 is needed
> to stop it.

Hmm.

> (Could maybe be because I haven't created a database yet?)

I do not have application knowledge, someone has to dig into this 8-}

-- 
pi at opsec.eu            +49 171 3101372                         5 years to go !


More information about the freebsd-ports mailing list