Open halburgiss opened 11 years ago
File Conveyor should automatically restart after crashes. What version of File Conveyor are you using?
The changelog lists most recent version as 0.4-dev (I got it via github on April 12).
The vim issue seem to be a similar situation.
I just tried a quick test:
WP super cache is less predictable triggering an error. It does not always happen. The vim error though is 100% consistent (for me).
Thanks.
Thanks. Definitely not an old version — that can't be the cause then!
On deleting original cache files: that's not a problem. As of https://github.com/wimleers/fileconveyor/commit/081fb8c9db92b52501fbeeb0fde109d68511bb0f (see the changes to fsmonitor.py
), it implements event merging. Meaning that if file a.txt
is deleted, then recreated before it is processed by File Conveyor, then it will be marked as modified instead.
On "no activity related to these files": I doubt that. On what grounds do you claim "no activity"? I bet it was simply still deleting files that had not yet been recreated. I bet File Conveyor was simply obeying the order of events: deleting files from the CDN that no longer existed on the origin. It would get to those newly added or modified files. Did you enable debug level logging? That would show you each event, even just detections that are yet to be processed.
re: "no activity" meaning there was no visible output from fileconveyor to the console related to these files. When I later killed and restarted, I got the 'WARNING - Synced' (IIRC) message for both of those files. I don't think the deletion process was still ongoing when I killed/restarted (but can't say for sure at this point). I do remember as soon as fileconveyor was restarted, it immediately detected and synced those 2 files. Would help to try this again with a different debugging level?
Related to this is that all this is happening in directories I prefer don't even sync to start with. They live in /wp-content/cache/supercache/example.com/*. There will be a significant directory structure created below that path. I have ignoredDirs="wp-admin:cache:etc:etc". Does that path need to be the full relative path to If I could this directory path excluded, that would totally work for me as a solution for this use case? Thanks.
Common WordPress plugin WP super cache dynamically creates static page caches. By default these are in the WordPress /wp-content folder. A dynamic folder structure is created based on URLs of the site being cached. Sporadically, creation of files within the folder structure crash fileconveyor. Once that happens, the sync process is halted until restarted. Also, the parent directory of the cache structure is excluded in config.xml by ignoreDirs. Either this exclusion isn't being extended to subdirectories, or the dynamic creation of subdirectories is an issue.