Skip to contentSkip to conversation

timed out in osd1 error in dmes

DISCUSSION madhusudhana 3 participants 7 messages Mar 13, 2012 – Mar 15, 2012

lore
Share & tools
lore
#0 lore raw

Hi all,
The server in which i have mounted file system using mount -t ceph is showing below errors in dmesg.

libceph:  tid 79987 timed out on osd2, will reset osd
libceph:  tid 81516 timed out on osd0, will reset osd
libceph:  tid 81133 timed out on osd1, will reset osd
libceph: skipping osd1 10.25.12.127:6800 seq 1 expected 2
libceph:  tid 80108 timed out on osd2, will reset osd
libceph:  tid 81134 timed out on osd1, will reset osd
libceph:  tid 81641 timed out on osd1, will reset osd

Is is because of this, write/copy operation in my cluster is slow ? is this a error which needs attention or can be safely ignored ?

Thanks
Madhusudhan

#1 lore raw
Quoted 14 lines · madhusudhana

Hi all,
The server in which i have mounted file system using mount -t ceph is showing below errors in dmesg.

libceph:  tid 79987 timed out on osd2, will reset osd
libceph:  tid 81516 timed out on osd0, will reset osd
libceph:  tid 81133 timed out on osd1, will reset osd
libceph: skipping osd1 10.25.12.127:6800 seq 1 expected 2
libceph:  tid 80108 timed out on osd2, will reset osd
libceph:  tid 81134 timed out on osd1, will reset osd
libceph:  tid 81641 timed out on osd1, will reset osd
Quoted 3 lines

Is is because of this, write/copy operation in my cluster is slow ? is this a error which needs attention or can be safely ignored ?

These are usually harmless, and could just mean the osds can't keep up with the requests you're giving them. Given your other issues, it might be a symptom of a problem with your osds.

What filesystem are the osds using? Are there any warnings from these filesystems in dmesg?

Quoted 3 lines

Thanks
Madhusudhan

#2 lore raw
Quoted 20 lines · Josh Durgin <josh.durgin <at> dreamhost.com> writes:
Quoted 14 lines · madhusudhana

Hi all,
The server in which i have mounted file system using mount -t ceph is showing below errors in dmesg.

libceph:  tid 79987 timed out on osd2, will reset osd
libceph:  tid 81516 timed out on osd0, will reset osd
libceph:  tid 81133 timed out on osd1, will reset osd
libceph: skipping osd1 10.25.12.127:6800 seq 1 expected 2
libceph:  tid 80108 timed out on osd2, will reset osd
libceph:  tid 81134 timed out on osd1, will reset osd
libceph:  tid 81641 timed out on osd1, will reset osd
Quoted 3 lines

Is is because of this, write/copy operation in my cluster is slow ? is this a error which needs attention or can be safely ignored ?

Quoted 6 lines

These are usually harmless, and could just mean the osds can't keep up with the requests you're giving them. Given your other issues, it might be a symptom of a problem with your osds.

What filesystem are the osds using? Are there any warnings from these filesystems in dmesg?

All my osd's are using btrfs. below are the dmesg tailed from all osd's

ceph-node-6
generic-usb 0003:0603:00F2.0004: input,hiddev0: USB HID v1.10 Device [NOVATEK USB Keyboard] on usb-0000:00:1d.1-1/input1
usb 5-1: USB disconnect, device number 3
device fsid aed12ad8-4053-4066-9074-9a9f2419c03f devid 1 transid 7 /dev/sda5 device fsid aed12ad8-4053-4066-9074-9a9f2419c03f devid 1 transid 7 /dev/sda5 device fsid ee29fef4-5e07-4be7-bf2c-592e3b9fa62b devid 1 transid 7 /dev/sda5 device fsid ee29fef4-5e07-4be7-bf2c-592e3b9fa62b devid 1 transid 7 /dev/sda5 device fsid ee29fef4-5e07-4be7-bf2c-592e3b9fa62b devid 1 transid 12 /dev/sda5
btrfs: truncated 1 orphans
btrfs: truncated 1 orphans

ceph-node-7
device fsid 7baa8339-8d1e-4cca-9e61-c5f9bd4c3ab0 devid 1 transid 10 /dev/sda5 device fsid b8aa714a-347a-4d6c-8bae-8a732bfc380f devid 1 transid 13 /dev/sda4 device fsid 3c3a56cf-2d00-4fea-a49d-c2cb19af1ea2 devid 1 transid 7 /dev/sda5 device fsid 3c3a56cf-2d00-4fea-a49d-c2cb19af1ea2 devid 1 transid 7 /dev/sda5 device fsid b8aa714a-347a-4d6c-8bae-8a732bfc380f devid 1 transid 13 /dev/sda4 device fsid 7c3d2b55-118f-447e-9e65-767005893fec devid 1 transid 7 /dev/sda5 device fsid 7c3d2b55-118f-447e-9e65-767005893fec devid 1 transid 7 /dev/sda5 device fsid b8aa714a-347a-4d6c-8bae-8a732bfc380f devid 1 transid 13 /dev/sda4 device fsid 7c3d2b55-118f-447e-9e65-767005893fec devid 1 transid 12 /dev/sda5
btrfs: truncated 1 orphans

ceph-node-8
usb 5-1: New USB device found, idVendor=0603, idProduct=00f2
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 5-1: Product: USB Keyboard
usb 5-1: Manufacturer: NOVATEK
input: NOVATEK USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb5/5-1/5- 1:1.0/input/input3
generic-usb 0003:0603:00F2.0001: input: USB HID v1.10 Keyboard [NOVATEK USB Keyboard] on usb-0000:00:1d.1-1/input0
input: NOVATEK USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb5/5-1/5- 1:1.1/input/input4
generic-usb 0003:0603:00F2.0002: input,hiddev0: USB HID v1.10 Device [NOVATEK USB Keyboard] on usb-0000:00:1d.1-1/input1
usb 5-1: USB disconnect, device number 2
btrfs: truncated 1 orphans

do you see any issue with osd? all 3 osd's are showing "btrfs: truncated 1 orphans" error.

#3 lore raw
Quoted 22 lines · madhusudhana
Quoted 20 lines · Josh Durgin <josh.durgin <at> dreamhost.com> writes:
Quoted 17 lines · madhusudhana

Hi all,
The server in which i have mounted file system using mount -t ceph is showing below errors in dmesg.

libceph:  tid 79987 timed out on osd2, will reset osd
libceph:  tid 81516 timed out on osd0, will reset osd
libceph:  tid 81133 timed out on osd1, will reset osd
libceph: skipping osd1 10.25.12.127:6800 seq 1 expected 2
libceph:  tid 80108 timed out on osd2, will reset osd
libceph:  tid 81134 timed out on osd1, will reset osd
libceph:  tid 81641 timed out on osd1, will reset osd

Is is because of this, write/copy operation in my cluster is slow ? is this a error which needs attention or can be safely ignored ?

Quoted 8 lines
Quoted 6 lines

These are usually harmless, and could just mean the osds can't keep up with the requests you're giving them. Given your other issues, it might be a symptom of a problem with your osds.

What filesystem are the osds using? Are there any warnings from these filesystems in dmesg?

All my osd's are using btrfs. below are the dmesg tailed from all osd's

Heh, I should read my mail in order. It sounds like the cp's are probably slow due to the OSDs.

Quoted 11 lines

ceph-node-6
generic-usb 0003:0603:00F2.0004: input,hiddev0: USB HID v1.10 Device [NOVATEK USB Keyboard] on usb-0000:00:1d.1-1/input1
usb 5-1: USB disconnect, device number 3
device fsid aed12ad8-4053-4066-9074-9a9f2419c03f devid 1 transid 7 /dev/sda5 device fsid aed12ad8-4053-4066-9074-9a9f2419c03f devid 1 transid 7 /dev/sda5 device fsid ee29fef4-5e07-4be7-bf2c-592e3b9fa62b devid 1 transid 7 /dev/sda5 device fsid ee29fef4-5e07-4be7-bf2c-592e3b9fa62b devid 1 transid 7 /dev/sda5 device fsid ee29fef4-5e07-4be7-bf2c-592e3b9fa62b devid 1 transid 12 /dev/sda5
btrfs: truncated 1 orphans
btrfs: truncated 1 orphans

These are harmless noise, BTW, you can ignore them.

Can you tell us how your OSDs are configured? Where are the data directories and journals located? (The [osd] section of ceph.conf would be helpful.)

Another useful piece of information would be the ceph-osd's raw performance writing to the local disk+journal, which you can get with

 $ ceph tell osd.0 bench

You might want to check it for several nodes to see if it's consistent, etc.

Thanks!
sage

Quoted 38 lines

ceph-node-7
device fsid 7baa8339-8d1e-4cca-9e61-c5f9bd4c3ab0 devid 1 transid 10 /dev/sda5 device fsid b8aa714a-347a-4d6c-8bae-8a732bfc380f devid 1 transid 13 /dev/sda4 device fsid 3c3a56cf-2d00-4fea-a49d-c2cb19af1ea2 devid 1 transid 7 /dev/sda5 device fsid 3c3a56cf-2d00-4fea-a49d-c2cb19af1ea2 devid 1 transid 7 /dev/sda5 device fsid b8aa714a-347a-4d6c-8bae-8a732bfc380f devid 1 transid 13 /dev/sda4 device fsid 7c3d2b55-118f-447e-9e65-767005893fec devid 1 transid 7 /dev/sda5 device fsid 7c3d2b55-118f-447e-9e65-767005893fec devid 1 transid 7 /dev/sda5 device fsid b8aa714a-347a-4d6c-8bae-8a732bfc380f devid 1 transid 13 /dev/sda4 device fsid 7c3d2b55-118f-447e-9e65-767005893fec devid 1 transid 12 /dev/sda5
btrfs: truncated 1 orphans

ceph-node-8
usb 5-1: New USB device found, idVendor=0603, idProduct=00f2
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 5-1: Product: USB Keyboard
usb 5-1: Manufacturer: NOVATEK
input: NOVATEK USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb5/5-1/5- 1:1.0/input/input3
generic-usb 0003:0603:00F2.0001: input: USB HID v1.10 Keyboard [NOVATEK USB Keyboard] on usb-0000:00:1d.1-1/input0
input: NOVATEK USB Keyboard as /devices/pci0000:00/0000:00:1d.1/usb5/5-1/5- 1:1.1/input/input4
generic-usb 0003:0603:00F2.0002: input,hiddev0: USB HID v1.10 Device [NOVATEK USB Keyboard] on usb-0000:00:1d.1-1/input1
usb 5-1: USB disconnect, device number 2
btrfs: truncated 1 orphans

do you see any issue with osd? all 3 osd's are showing "btrfs: truncated 1 orphans" error.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 7 lines

These are harmless noise, BTW, you can ignore them.

Can you tell us how your OSDs are configured? Where are the data directories and journals located? (The [osd] section of ceph.conf would be helpful.)

Quoted 8 lines

Another useful piece of information would be the ceph-osd's raw performance writing to the local disk+journal, which you can get with

 $ ceph tell osd.0 bench

You might want to check it for several nodes to see if it's consistent, etc.

Below are the results from above command run against all osd's

2012-03-15 13:06:19.980924 osd.0 -> 'bench: wrote 1024 MB in blocks of 
4096 KB in 67.474949 sec at 15540 KB/sec' (0)
2012-03-15 13:09:20.573176 osd.1 -> 'bench: wrote 1024 MB in blocks of 
4096 KB in 70.815932 sec at 14807 KB/sec' (0)
2012-03-15 13:11:57.895738 osd.2 -> 'bench: wrote 1024 MB in blocks of 

4096 KB in 60.370233 sec at 17369 KB/sec' (0)

Do you see any issues

Thanks

#5 lore raw
Quoted 5 lines
Quoted 5 lines

These are harmless noise, BTW, you can ignore them.

Can you tell us how your OSDs are configured? Where are the data directories and journals located? (The [osd] section of ceph.conf would be helpful.)

Can you share your ceph.conf please?

Quoted 11 lines
Quoted 8 lines

Another useful piece of information would be the ceph-osd's raw performance writing to the local disk+journal, which you can get with

 $ ceph tell osd.0 bench

You might want to check it for several nodes to see if it's consistent, etc.

Below are the results from above command run against all osd's

Quoted 6 lines
2012-03-15 13:06:19.980924 osd.0 -> 'bench: wrote 1024 MB in blocks of 
4096 KB in 67.474949 sec at 15540 KB/sec' (0)
2012-03-15 13:09:20.573176 osd.1 -> 'bench: wrote 1024 MB in blocks of 
4096 KB in 70.815932 sec at 14807 KB/sec' (0)
2012-03-15 13:11:57.895738 osd.2 -> 'bench: wrote 1024 MB in blocks of 

4096 KB in 60.370233 sec at 17369 KB/sec' (0)

This is pretty slow, and probably due to the way your osd journals are configured. Please share your ceph.conf!

Thanks-
sage

#6 lore raw
Quoted 22 lines

Can you share your ceph.conf please?

Quoted 11 lines
Quoted 8 lines

Another useful piece of information would be the ceph-osd's raw performance writing to the local disk+journal, which you can get with

 $ ceph tell osd.0 bench

You might want to check it for several nodes to see if it's consistent, etc.

Below are the results from above command run against all osd's

Quoted 6 lines
2012-03-15 13:06:19.980924 osd.0 -> 'bench: wrote 1024 MB in blocks of 
4096 KB in 67.474949 sec at 15540 KB/sec' (0)
2012-03-15 13:09:20.573176 osd.1 -> 'bench: wrote 1024 MB in blocks of 
4096 KB in 70.815932 sec at 14807 KB/sec' (0)
2012-03-15 13:11:57.895738 osd.2 -> 'bench: wrote 1024 MB in blocks of 

4096 KB in 60.370233 sec at 17369 KB/sec' (0)

Quoted 3 lines

This is pretty slow, and probably due to the way your osd journals are configured. Please share your ceph.conf!

Below is my ceph conf file

[root@ceph-node-8 ~]# cat /etc/ceph/ceph.conf
[global]
;auth supported = cephx
keyring = /etc/ceph/admin.keyring
debug ms = 1
debug mds = 10

[mon]
mon data = /data/mon.$id

[mon.a]
host = ceph-node-4
mon addr = xx.xx.xx.xx

[mon.b]
host = ceph-node-5
mon addr = xx.xx.xx.xx

[mon.c]
host = ceph-node-6
mon addr = xx.xx.xx.xx
[mds]
keyring = /etc/ceph/keyring.$name

[mds.ceph-node-1]
host = ceph-node-7

[mds.ceph-node-2]
host = ceph-node-8

[osd]
osd data = /data/osd.$id
keyring = /etc/ceph/keyring.$name
osd journal = /journal/osd.$id.journal
osd journal size = 10000
debug ms = 1
debug osd = 20
debug filestore = 20
debug journal = 20

[osd.0]
host = ceph-node-1
btrfs devs = /dev/sda4

[osd.1]
host = ceph-node-2
btrfs devs = /dev/sda4

[osd.2]
host = ceph-node-3
btrfs devs = /dev/sda4

To brief, i have different partitions for mounting journal and osd.

/journal is used for mounting journal
/data is used for mounting osd