<div dir="ltr">Hi,<div><br></div><div>Thanks for reporting the problem. I cannot answer it quickly because I'm on business travel. Could you add a github issue?</div><div><br></div><div>Thanks,</div><div>Hitoshi</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 11:26 AM, 郑晓川 <span dir="ltr"><<a href="mailto:zhengxiaochuan@jd.com" target="_blank">zhengxiaochuan@jd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">




<div>
<div><span></span><br>
</div>
<div><span>HI all:<br>
<br>
I PUTed a film xxx.rmvb to sheepdog object http storage , failed 。<br>
<br>
nginx error.log:<br>
<br>
<font color="#ff0000">2016/05/09 10:23:16 [info] 8655#0: *42006 epoll_wait() reported that client prematurely closed connection, so upstream connection is closed too while sending request to upstream, client: 10.8.65.42, server: obs, request: "PUT /v1/admin/jls/xxx.rmvb HTTP/1.0", upstream: "fastcgi://<a href="http://10.8.65.42:8008" target="_blank">10.8.65.42:8008</a>", host: "<a href="http://10.8.65.42:8888" target="_blank">10.8.65.42:8888</a>"</font><br>
<br>
my nginx conf :</span></div>
<div><span><span> 
       location / {<br>
            fastcgi_pass    <a href="http://10.8.65.42:8008" target="_blank">10.8.65.42:8008</a>;<br>
<br>
            fastcgi_connect_timeout 600s;<br>
            fastcgi_read_timeout 600s;<br>
            fastcgi_send_timeout 600s;<br>
<br>
<br>
            fastcgi_param   SCRIPT_NAME             $fastcgi_script_name;<br>
            fastcgi_param   REQUEST_METHOD          $request_method;<br>
            fastcgi_param   CONTENT_LENGTH          $content_length;<br>
            fastcgi_param   HTTP_RANGE              $http_range;<br>
            fastcgi_param   DOCUMENT_URI            $document_uri;<br>
            fastcgi_param   REQUEST_URI             $request_uri;<br>
        }<br>
</span></span></div>
<div><br>
</div>
<div><span>sheep.log:<br>
<br>
May 09 10:23:18 ERROR [http 8273] onode_populate_extents(838) Failed to do_vdi_write data_vid: eec946, offset: 7800000, total: 58b7d771, ret: I/O error<br>
May 09 10:23:18 ERROR [http 8273] kv_create_object(1469) Failed to write data to onode xxx.rmvb<br>
May 09 10:23:18 INFO [http 8273] swift_handle_request(352) /v1/admin/jls/xxx.rmvb PUT, status = 500 Internal Server Error, data_length = 1488443249<br>
<br>
<br>
<br>
After this ,  GET or DELETE  all goes wrong , like this :<br>
<br>
[root@node-65-42 hss_storage]# http DELETE "<a href="http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb" target="_blank">http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb</a>"<br>
HTTP/1.1 409 Conflict<br>
Connection: keep-alive<br>
Content-Type: text/plain;<br>
Date: Mon, 09 May 2016 14:36:26 GMT<br>
Server: openresty/<a href="http://1.9.7.4" target="_blank">1.9.7.4</a><br>
Transfer-Encoding: chunked<br>
<br>
[root@node-65-42 hss_storage]# http DELETE "<a href="http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb" target="_blank">http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb</a>"<br>
HTTP/1.1 409 Conflict<br>
Connection: keep-alive<br>
Content-Type: text/plain;<br>
Date: Mon, 09 May 2016 14:36:58 GMT<br>
Server: openresty/<a href="http://1.9.7.4" target="_blank">1.9.7.4</a><br>
Transfer-Encoding: chunked<br>
<br>
[root@node-65-42 hss_storage]# http GET "<a href="http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb" target="_blank">http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb</a>"<br>
HTTP/1.1 206 Partial Content<br>
Connection: keep-alive<br>
Content-Length: 0<br>
Content-Type: text/plain;<br>
Date: Mon, 09 May 2016 14:39:38 GMT<br>
Server: openresty/<a href="http://1.9.7.4" target="_blank">1.9.7.4</a><br>
<br>
<br>
my question is :<br>
1、why did this happen , is the browser or  nginx or sheepdog problem ?</span></div>
<div><span>2、when it happend , how should i DELETE the file by force .</span></div>
<div><span><br>
</span></div>
<div><span>thanks a lot !</span></div>
<div><br>
</div>
<hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span>
<div style="MARGIN:10px;FONT-FAMILY:verdana;FONT-SIZE:10pt">
<div>郑晓川</div>
</div>
</span></div>
</div>

</div></div><br>--<br>
sheepdog-users mailing lists<br>
<a href="mailto:sheepdog-users@lists.wpkg.org">sheepdog-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/sheepdog-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/mailman/listinfo/sheepdog-users</a><br>
<br></blockquote></div><br></div>