NFS file access log

Adam amvandemore at gmail.com
Wed May 15 14:57:39 UTC 2019


On Wed, May 15, 2019 at 2:53 AM Ganbold Tsagaankhuu <ganbold at gmail.com>
wrote:

> Hi,
>
> Is there anyway to log file access in NFS client/server side?
> I'm experiencing following problem:
>
> vm_fault: pager read error, pid 75363 (php-fpm)
> ncl_getpages: error 70
>
> and would like to know if there is possibility to find problematic files.
>

https://www.freebsd.org/doc/handbook/audit.html could used, but seems
easier just to add some logging to the php app.  And make sure file locking
is working as desired.


-- 
Adam


More information about the freebsd-fs mailing list