Project

General

Profile

Actions

Bug #17664

closed

async msgr: keepalive2 acks aren't sent if the connection is idle

Added by Ilya Dryomov over 7 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The kernel client sends keepalive2 tags every 10 seconds and resets the mon session when keepalive timeout fires (~30 seconds). With simple msgr everything is fine, but with async msgr I get:

[   66.399271] libceph: mon0 192.168.122.1:6789 session established
[   66.400093] libceph: client14100 fsid 5332c5ef-c1ee-4233-bd3b-be3dc1df51f3
[   66.420333] rbd: rbd0: capacity 1073741824 features 0x4
[  100.832051] libceph: mon0 192.168.122.1:6789 session lost, hunting for new mon
[  100.834191] libceph: mon0 192.168.122.1:6789 session established
[  138.720170] libceph: mon0 192.168.122.1:6789 session lost, hunting for new mon
[  138.723570] libceph: mon0 192.168.122.1:6789 session established
[  176.096080] libceph: mon0 192.168.122.1:6789 session lost, hunting for new mon
[  176.098380] libceph: mon0 192.168.122.1:6789 session established
[  213.984045] libceph: mon0 192.168.122.1:6789 session lost, hunting for new mon
[  213.986025] libceph: mon0 192.168.122.1:6789 session established

This isn't specific to the kernel client - it's just that its mon session is otherwise idle most of the time.

Actions #1

Updated by Ilya Dryomov over 7 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Kefu Chai over 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions #3

Updated by Greg Farnum about 5 years ago

  • Project changed from Ceph to Messengers
  • Category deleted (msgr)
Actions

Also available in: Atom PDF