[CentOS] htdocs on NFS share / any pitfalls?

Carl T. Miller carl at carltm.com
Tue Oct 22 23:01:30 UTC 2013


Leon Fauster wrote:
> i have a new setup where the htdocs directory for the webserver
> is located on a nfs share. Client has cachefilesd configured.
> Compared to the old setup (htdocs directory is on the local disk)
> the performance is not so gratifying. The disk is "faster" compared
> to the ethernet link but the cache should at least compensate this
> a bit. Do they exist more pitfalls for such configurations?

If I needed to serve files from an nfs share, I'd use
rsync to pull down a local copy of the files to the
webserver.  This would give you the benefits of using
the nfs location without the network latency.

c





More information about the CentOS mailing list