<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style>
</head>
<body>
<div><span></span><br>
</div>
<div><span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?="">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://10.8.65.42:8008", host: "10.8.65.42:8888"</font><br>
<br>
my nginx conf :</span></div>
<div><span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?=""><span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?="">
location / {<br>
fastcgi_pass 10.8.65.42:8008;<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 style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?="">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 "http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb"<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/1.9.7.4<br>
Transfer-Encoding: chunked<br>
<br>
[root@node-65-42 hss_storage]# http DELETE "http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb"<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/1.9.7.4<br>
Transfer-Encoding: chunked<br>
<br>
[root@node-65-42 hss_storage]# http GET "http://127.0.0.1:8888/v1/admin/jls/xxx.rmvb"<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/1.9.7.4<br>
<br>
<br>
my question is :<br>
1¡¢why did this happen , is the browser or nginx or sheepdog problem ?</span></div>
<div><span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?="">2¡¢when it happend , how should i DELETE the file by force .</span></div>
<div><span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?=""><br>
</span></div>
<div><span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgba(0,font-weight:normal;font-style:normal;text-decoration:none;?="">thanks a lot !</span></div>
<div><br>
</div>
<hr style="width: 210px; 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>
</body>
</html>