Hanging copy when request times out
geNAZt opened this issue · comments
Fabian Jonassen commented
Context
- svfs version : 0.9.1
- storage provider : OVH
- product : public cloud (openstack)
Steps to reproduce this issue :
- Get a Digital Ocean Droplet located in Frankfurt
- Mount via: mount -t svfs -o container=test test /mnt/svfs/test
- Copy ~240 MB worth of data from (unzipped https://www.feed-the-beast.com/projects/ftb-beyond/files/2420140/download) local SSD via: cp ~/server/* /mnt/svfs/test/ -R
- Wait till errors may show up and the cp hangs
Results you expected :
Either no request timeout, retry or at least a FS level error which will cause CP not to hang
Results you observed
I got those logs:
2017/05/24 10:26:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
root@Fuse-Prototype:/mnt/svfs/test# 2017/05/24 10:27:30 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control: no-cache\r\nConnection: close\r\nContent-Type: text/html\r\n\r\n<html><body><h1>408 Request Time-out</h1>\nYour browser didn't send a complete request in time.\n</body></html>\n"; err=<nil>
and in result of that all requests died. iftop showed no traffic and cp hangs and i had to SIGKILL it.
Romain Lalaut commented
Same problem here. I periodically need to SIGKILL svfs
.
Frédéric MASSOT commented
I try to copy backups of a few giga created with BackupPC, and the copy fails regularly, more than two thirds fails.
Dulu Thomas commented
same problem ! (Object Storage container)
tested with cp, rsync (with FAQ recomandations) and swift client