[OpenAFS] Client running out of thread with high connection number

Ximeng Guan xmgu@royole.com
Thu, 6 Sep 2018 17:04:56 +0000


--_000_26b70982c7a141878a837331f1d43108royolecom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

Tm8sIHdlIG9ubHkgZXhwZXJpZW5jZSB0aGUgaXNzdWUgb24gdGhpcyBwYXJ0aWN1bGFyIG1hY2hp
bmUsIHdoaWNoIGlzIHVuaXF1ZSBpbiBpdHMgT1MgYW5kIE9wZW5BRlMgY2xpZW50IHZlcnNpb25z
LiBJdCBpcyB0aGUgZmlyc3Qgc2VydmVyIHdlIHB1dCBpbiBhIHByb2R1Y3Rpb24gZW52aXJvbm1l
bnQgZm9yIGRlc2lnbiBwdXJwb3Nlcy4gT3VyIElUIGlzIHN0aWxsIHN0cnVnZ2xpbmcgd2l0aCBi
cmluZ2luZyB1cCBuZXcgc2VydmVycyAoT3BlbkFGUyBjbGllbnRzKSB0byBzaGlmdCB0aGUgd29y
a2xvYWQgb2ZmIHRoaXMgb25lIGJlZm9yZSB3ZSBjYW4gdXBkYXRlIGl0cyBPUy4NCg0KV2UgYXJl
IGNvb3JkaW5hdGluZyBhIHJlLWJvb3Qgb2YgdGhpcyBtYWNoaW5lIG92ZXIgdGhlIHVwY29taW5n
IHdlZWtlbmQuIElmIHRoZSBzYW1lIGlzc3VlIGlzIG9ic2VydmVkIGFmdGVyIHRoZSByZS1ib290
LCBJIHdpbGwgc2VuZCBhbiB1cGRhdGUgdG8gdGhpcyBtYWlsIGdyb3VwLg0KDQpUaGFua3MgZm9y
IHRoZSBpbmZvcm1hdGlvbi4gV2UgZ3JlYXRseSBhcHByZWNpYXRlIHlvdXIgZWZmb3J0IGluIG1h
aW50YWluaW5nIHRoZSBsYXRlc3QgY29tcGlsZWQgY2xpZW50cyBmb3IgQ2VudE9TL1JIRUwgNy4g
VGhleSBzYXZlZCB1cyB0aW1lIQ0KDQpCZXN0IHJlZ2FyZHMsDQpTaW1vbg0KDQpGcm9tO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