[OpenAFS] Connection timed out - problem with cache manager?
Staffan Hämälä
sh@ltu.se
Wed, 30 Nov 2016 11:56:50 +0100
This is a cryptographically signed message in MIME format.
--------------ms020905040903020002070107
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Some users at our site reports problems with downloading files directly=20
to AFS (and this problem has existed for years).
I'm now working to try to find the cause. Just to eliminate the server,=20
we have moved the user's volume to our YFS server, but we experience=20
exactly the same problem.
I can't seem to reproduce it on my own machine (Ubuntu 14.04.1 LTS with=20
openafs client 1.6.7-1ubuntu1.1).
However, the machine where I have managed to reproduce the problem is a=20
terminal server (with lots of users). It's a Ubuntu 12.04.5 LTS with=20
openafs version 1.6.1-1+ubuntu0.7.
The AFS cache is set to:
> cat /etc/openafs/cacheinfo
/afs:/cache/openafs:5000000
What happens is this:
I run a wget (from siemens in this case, but probably not important).=20
The wget either aborts at 70% or so, with a "Connection timed out", or,=20
as happened for me just now:
HTTP request sent, awaiting response... 200 OK
Length: 1983588866 (1,8G) [application/zip]
Saving to: `nx-9.0.3.zip.1'
100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] 1 983 588 866 17,7M/s in=20
1m 50s
utime(nx-9.0.3.zip.1): Connection timed out
2016-11-30 11:33:39 (17,3 MB/s) - `nx-9.0.3.zip.1' saved=20
[1983588866/1983588866]
So, the file downloaded 100% (to the AFS cache). Then there was a delay=20
for some time before the error popped up (while flushing the cache, I=20
would guess).
If I look at the resulting file, I see that it's corrupt.
Downloading to local disk first, and then copy to AFS seems to work=20
every time.
Does anyone recognize this problem?
/Staffan
--------------ms020905040903020002070107
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACA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