I have two AIO ZFS builds, very similar hardware.
ESXi 5.0, OI as the SAN
Ubuntu 10.04 as a web server which mounts the array from the SAN via NFS
I am using this command in my fstab:
The issue I've been having with both of these servers is delay from when I press save in my text editor until when I see the changes on my website. I have nginx + php-fpm running, the sites are mostly PHP, using CodeIgniter. The server are meant for local dev.
At first I thought the issue was nginx or php-fpm but I can't figure it out.
To describe my issue, if I save my code, go to my browser and press F5, sometimes the new code renders immediately, sometimes I have to wait anywhere from a few seconds to thirty seconds. This is incredibly annoying, especially when I assume that I am running code which I hadn't planned on running.
I don't have any sort of cache enabled, this is a very clean LEMP install on a very clean OS install. The stranger thing is that this occurs on two different servers which are in two different locations. The servers are only being used by one or two people at a time, very little load.
Could NFS be caching or buffering the files?
Any ideas on what could be causing this issue?
I suppose my next step is to try mounting it as a smb share...
ESXi 5.0, OI as the SAN
Ubuntu 10.04 as a web server which mounts the array from the SAN via NFS
I am using this command in my fstab:
192.168.0.252:/storage/www /www nfs rsize=8192,wsize=8192,timeo=14,intr
The issue I've been having with both of these servers is delay from when I press save in my text editor until when I see the changes on my website. I have nginx + php-fpm running, the sites are mostly PHP, using CodeIgniter. The server are meant for local dev.
At first I thought the issue was nginx or php-fpm but I can't figure it out.
To describe my issue, if I save my code, go to my browser and press F5, sometimes the new code renders immediately, sometimes I have to wait anywhere from a few seconds to thirty seconds. This is incredibly annoying, especially when I assume that I am running code which I hadn't planned on running.
I don't have any sort of cache enabled, this is a very clean LEMP install on a very clean OS install. The stranger thing is that this occurs on two different servers which are in two different locations. The servers are only being used by one or two people at a time, very little load.
Could NFS be caching or buffering the files?
Any ideas on what could be causing this issue?
I suppose my next step is to try mounting it as a smb share...