Gerd,<div>  Can you check if the files are available in the backend but not accessible from the mountpoint or, have gone missing altogether?</div><div><br></div><div>Avati<br><br><div class="gmail_quote">On Fri, Apr 15, 2011 at 12:49 AM, Gerd W. Naschenweng <span dir="ltr">&lt;<a href="mailto:gerd.naschenweng@bidorbuy.co.za">gerd.naschenweng@bidorbuy.co.za</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This is highly frustrating and we notice that uploaded images disappear after users upload images.<br>
<br>
Background:<br>
Latest version of Gluster running on CentOS 64bit<br>
We have two replicated bricks<br>
The volume is mounted via NFS on our image servers (10.0.0.210:/shared_images /data             nfs     defaults,_netdev 0 0 / 10.0.0.211:/shared_images /data          nfs     defaults,_netdev 0 0)<br>
The image servers run CentOS 64bit and use Apache HTTP and Tomcat as the application server<br>
Users upload images via the web and Tomcat writes the file with a unique name to the NFS file-system<br>
We use ImageMagick mogrify to resize the image. This takes a few milliseconds (see log-file entry below)<br>
In certain instances images go missing some time after the upload (the users typically check their uploads and the images seem to disappear hours afterwards)<br>
<br>
<br>
Gluster configuration:<br>
Type: Replicate<br>
Status: Started<br>
Number of Bricks: 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: 10.0.0.210:/data<br>
Brick2: 10.0.0.211:/data<br>
Options Reconfigured:<br>
performance.cache-size: 1000MB<br>
performance.cache-refresh-timeout: 5<br>
performance.io-cache: on<br>
performance.read-ahead: off<br>
performance.io-thread-count: 16<br>
performance.stat-prefetch: on<br>
performance.write-behind: off<br>
performance.quick-read: on<br>
<br>
<a href="http://images.bidorbuy.co.za/user_images/974/931974_110412195059_RSA_REDCross.jpg" target="_blank">http://images.bidorbuy.co.za/user_images/974/931974_110412195059_RSA_REDCross.jpg</a><br>
M/M 12/04/11 19:51:12 ajp-127.0.0.1-8009-2 ImageUploadInterface Optimised Image with : mogrify -resize 500 -quality 75% /home/prodza/webapp/user_images/974/931974_110412195059_RSA_REDCross.jpg<br>
M/M 12/04/11 19:51:12 ajp-127.0.0.1-8009-2 IMAGEUPLOAD:uploadms:12812:compressms:160:uploadbytes:169494:compressbytes:26924:filepath:/home/prodza/webapp/user_images/974/931974_110412195059_RSA_REDCross.jpg<br>
M/M 12/04/11 19:51:12 ajp-127.0.0.1-8009-2 ImageUploadInterface Loaded Image:User:931974:Size:169494:Time:12975:<a href="http://images.bidorbuy.co.za/user_images/974/931974_110412195059_RSA_REDCross.jpg" target="_blank">http://images.bidorbuy.co.za/user_images/974/931974_110412195059_RSA_REDCross.jpg</a><br>

<br>
<a href="http://images.bidorbuy.co.za/user_images/974/931974_110412223337_VerwoerdFS.jpg" target="_blank">http://images.bidorbuy.co.za/user_images/974/931974_110412223337_VerwoerdFS.jpg</a><br>
M/M 12/04/11 22:33:53 ajp-127.0.0.1-8009-1 ImageUploadInterface Optimised Image with : mogrify -resize 500 -quality 75% /home/prodza/webapp/user_images/974/931974_110412223337_VerwoerdFS.jpg<br>
M/M 12/04/11 22:33:53 ajp-127.0.0.1-8009-1 IMAGEUPLOAD:uploadms:16245:compressms:320:uploadbytes:218430:compressbytes:168941:filepath:/home/prodza/webapp/user_images/974/931974_110412223337_VerwoerdFS.jpg<br>
M/M 12/04/11 22:33:53 ajp-127.0.0.1-8009-1 ImageUploadInterface Loaded Image:User:931974:Size:218430:Time:16569:<a href="http://images.bidorbuy.co.za/user_images/974/931974_110412223337_VerwoerdFS.jpg" target="_blank">http://images.bidorbuy.co.za/user_images/974/931974_110412223337_VerwoerdFS.jpg</a><br>

<br>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br></div>