From: Tomas Krizek Date: Tue, 28 Jan 2020 14:39:29 +0000 (+0100) Subject: doc/cache: remove SIGBUS note, since cache is preallocated X-Git-Tag: v5.0.1~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8a2112a3cb80fc93113589b2e37b6d8cba83eb4;p=thirdparty%2Fknot-resolver.git doc/cache: remove SIGBUS note, since cache is preallocated --- diff --git a/daemon/bindings/cache.rst b/daemon/bindings/cache.rst index eeadb6fcf..7da58ff0b 100644 --- a/daemon/bindings/cache.rst +++ b/daemon/bindings/cache.rst @@ -74,11 +74,10 @@ The cache content will be saved in memory, and thus have faster access and will be lost on power-off or reboot. -.. note:: In most of the Unix-like systems ``/tmp`` and ``/var/run`` are commonly mounted to tmpfs. - While it is technically possible to move the cache to an existing - tmpfs filesystem, it is *not recommended*: The path to cache is specified in - multiple systemd units, and a shared tmpfs space could be used up by other - applications, leading to ``SIGBUS`` errors during runtime. +.. note:: In most of the Unix-like systems ``/tmp`` and ``/var/run`` are + commonly mounted as tmpfs. While it is technically possible to move the + cache to an existing tmpfs filesystem, it is *not recommended*, since the + path to cache is configured in multiple places. Mounting the cache directory as tmpfs_ is the recommended approach. Make sure to use appropriate ``size=`` option and don't forget to adjust the size in the