Hello All,
Now, I am not sure if this is a Mediawiki issue or something else, but I am having an issue with a consistent image cache... Here is my issue.
I have about 6 frontend web servers that host the mediawiki software, all of which connect to a backend NFS server to share the same image files (not the software itself, just the images directory). When a user uploads a file for the first time, it works as expected, but if later they make modifications to the same image file and re-upload the file, they will randomly get the old or the new version for about an hour or so then it will be fixed. The end users have tried to purge the image but that does not work. We have to wait it out.
Has anyone had this issue? Does anyone have any better ideas to share an image directory to multiple frontend servers? Can we use an http:// address for the images path instead of looking at the local file system?
Thanks for you help
Hi Russ, Are all the servers synch'd to the same NTP? Could this be as simple as an OS clock error? (we've seen similar behaviour in other apps...) /paul/
Russ Lavoy ussray_00@yahoo.com 3/26/2009 9:11 AM >>>
Hello All,
Now, I am not sure if this is a Mediawiki issue or something else, but I am having an issue with a consistent image cache... Here is my issue.
I have about 6 frontend web servers that host the mediawiki software, all of which connect to a backend NFS server to share the same image files (not the software itself, just the images directory). When a user uploads a file for the first time, it works as expected, but if later they make modifications to the same image file and re-upload the file, they will randomly get the old or the new version for about an hour or so then it will be fixed. The end users have tried to purge the image but that does not work. We have to wait it out.
Has anyone had this issue? Does anyone have any better ideas to share an image directory to multiple frontend servers? Can we use an http:// address for the images path instead of looking at the local file system?
Thanks for you help
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Russ Lavoy wrote:
I have about 6 frontend web servers that host the mediawiki software, all of which connect to a backend NFS server to share the same image files (not the software itself, just the images directory). When a user uploads a file for the first time, it works as expected, but if later they make modifications to the same image file and re-upload the file, they will randomly get the old or the new version for about an hour or so then it will be fixed. The end users have tried to purge the image but that does not work. We have to wait it out.
Mediawiki can send purge notices for the image urls, you should look if you can configure them to receive and honor them.
mediawiki-l@lists.wikimedia.org