<p>As far as i can tell gluster uses swift for the object storage part. Swift han an arbitrarily set maximum file size of 5 gb. After that you are supposed to split the file in pieces and create a manifest file that is used to concatenate the pieces when downloading. The &quot;st&quot; command does this automatically. Thats the reason for setting clirnt_max_body_size to 5 G.</p>

<div class="gmail_quote">On 2011 8 1 09:15, &quot;Gangalwar&quot; &lt;<a href="mailto:gaurav@gluster.com">gaurav@gluster.com</a>&gt; wrote:<br type="attribution">&gt; Hi,<br>&gt; Thanks for reporting this issue, it will be fixed in the next release.<br>
&gt; Also could i know why you are using client_max_body_size 5G; in the config file?<br>&gt; <br>&gt; Thanks,<br>&gt; Gaurav<br>&gt; <br>&gt; ________________________________<br>&gt; <br>&gt; Hello,<br>&gt; <br>&gt; Don&#39;t know if this is the best way to report a bug, but here goes :).<br>
&gt; <br>&gt; I have 2 gluster servers running glusterfs-3.3beta1 on which I have<br>&gt; configured the Object Storage platform. The servers are on a private<br>&gt; network with no public IP&#39;s and i was trying to load balance the<br>
&gt; object storage system using nginx. It worked great except that every<br>&gt; other request would be answered with a 503 error. Upon inspection of<br>&gt; /var/log/swift/proxy.error I found the following traceback:<br>
&gt; <br>&gt; Jul 29 13:28:53 storage05 proxy-server ERROR 500 Traceback (most<br>&gt; recent call last):#012  File<br>&gt; &quot;/usr/local/lib/python2.6/dist-packages/swift-1.4_dev-py2.6.egg/swift/obj/server.py&quot;,<br>
&gt; line 891, in __call__#012    res = getattr(self, req.method)(req)#012<br>&gt; File &quot;/usr/local/lib/python2.6/dist-packages/swift-1.4_dev-py2.6.egg/swift/obj/server.py&quot;,<br>&gt; line 733, in GET#012    if file_obj.metadata[X-ETAG] in<br>
&gt; request.if_none_match:#012NameError: global name &#39;X&#39; is not<br>&gt; defined#012 From Object Server <a href="http://127.0.0.1:6010">127.0.0.1:6010</a>&lt;<a href="http://127.0.0.1:6010">http://127.0.0.1:6010</a>&gt;<br>
&gt; <br>&gt; (txn:<br>&gt; tx2abf0954-1043-4976-a692-39da260d9271)<br>&gt; <br>&gt; It seams that at line 733 in<br>&gt; /usr/local/lib/python2.6/dist-packages/swift-1.4_dev-py2.6.egg/swift/obj/server.py,<br>&gt; is trying to call X-ETAG instead of X_ETAG (i think its a typo).<br>
&gt; Replacing the dash with an<br>&gt; underscore takes care of the error on my system. If its of any help,<br>&gt; here is the nginx config i used:<br>&gt; <br>&gt; <br>&gt; worker_processes  1;<br>&gt; <br>&gt; events {<br>
&gt;  worker_connections  1024;<br>&gt; }<br>&gt; <br>&gt; <br>&gt; http {<br>&gt;  include       mime.types;<br>&gt;  default_type  application/octet-stream;<br>&gt; <br>&gt;  sendfile        on;<br>&gt;  keepalive_timeout  65;<br>
&gt; <br>&gt;  upstream backend-secure {<br>&gt;      server <a href="http://192.168.5.5:443">192.168.5.5:443</a>&lt;<a href="http://192.168.5.5:443">http://192.168.5.5:443</a>&gt;;<br>&gt;      server <a href="http://192.168.5.6:443">192.168.5.6:443</a>&lt;<a href="http://192.168.5.6:443">http://192.168.5.6:443</a>&gt;;<br>
&gt;  }<br>&gt; <br>&gt; server {<br>&gt;      listen 80;<br>&gt;      client_max_body_size 5G;<br>&gt;      location / {<br>&gt;          proxy_pass <a href="https://backend-secure">https://backend-secure</a>;<br>&gt;          proxy_set_header Host $host;<br>
&gt;          proxy_set_header X-Real-IP $remote_addr;<br>&gt;          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>&gt;          proxy_set_header X-Forwarded-Proto https;<br>&gt;          proxy_redirect     off;<br>
&gt; <br>&gt;      }<br>&gt;  }<br>&gt;  server {<br>&gt;      listen 443 ssl;<br>&gt;      client_max_body_size 5G;<br>&gt;      ssl_certificate      /etc/nginx/ssl/cert.crt;<br>&gt;      ssl_certificate_key  /etc/nginx/ssl/key.key;<br>
&gt;      location / {<br>&gt;          proxy_pass <a href="https://backend-secure">https://backend-secure</a>;<br>&gt;          proxy_set_header Host $host;<br>&gt;          proxy_set_header X-Real-IP $remote_addr;<br>&gt;          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br>
&gt;          proxy_set_header X-Forwarded-Proto https;<br>&gt;          proxy_redirect     off;<br>&gt;      }<br>&gt;  }<br>&gt; }<br>&gt; <br>&gt; <br>&gt; Best regards,<br>&gt; Gabriel<br>&gt; _______________________________________________<br>
&gt; Gluster-users mailing list<br>&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&lt;mailto:<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>&gt;<br>&gt; <a href="http://gluster.org/cgi-bin/mailman/listinfo/gluster-users">http://gluster.org/cgi-bin/mailman/listinfo/gluster-users</a><br>
&gt; <br></div>