You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have set up fileconveyor on a CentOS6.3 box which I intend to use to host several Magento commerce platforms.
FileConveyor is configured and works on startup (correctly syncing all the changed files) but does not seem to be picking up file changes while running.. See this simple test, where I:
Ran fileconveyor
Uploaded two images to the source directories
Waited 5 minutes with no activity
Shut down fileconveyor
Immediately re-ran fileconveyor
The two new files were instantly sync'd
....
Any advice would be appreciated
Ryan
The text was updated successfully, but these errors were encountered:
By chance are the files you're watching on a mounted windows share? If so it wont detect the changes. File Conveyor uses inotify to be alerted to changes on the linux file system. On startup I'm pretty sure it uses polling, which is why it finds the files after restarting.
I'm not sure, not being a massive linux person.. as far as I am aware it is the local file system.. Would the mount results answer that question?
~$ mount
/dev/xvda1 on / type ext3 (rw,noatime,barrier=0)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
none on /proc/xen type xenfs (rw)
How efficient is polling? Worst case is I am going to have to set a cron to restart fileconveyor!
It sounds like you're on a Linux system, which would mean that inotify is what powers instant file system change tracking. That doesn't work on networked file systems like gluster and NFS. Any chance you're using something like that?
I'm no Linux expert myself either, so I don't know how to interpret the mount output you provided, @software2. But it sure looks like you're on a file system where inotify does not work, or you must have somehow disabled inotify.
Could you please verify that inotify is working correctly by installing the inotify-tools package and then doing something like http://exyr.org/2011/inotify-run/? :) Thanks!
I have set up fileconveyor on a CentOS6.3 box which I intend to use to host several Magento commerce platforms.
FileConveyor is configured and works on startup (correctly syncing all the changed files) but does not seem to be picking up file changes while running.. See this simple test, where I:
....
Any advice would be appreciated
Ryan
The text was updated successfully, but these errors were encountered: