Skip to contentSkip to conversation

Slow requests

DISCUSSION Jens Kristian Søgaard 6 participants 11 messages Dec 16, 2012 – Jan 15, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

My log is filling up with warnings about a single slow request that has been around for a very long time:

osd.1 10.0.0.2:6800/900 162926 : [WRN] 1 slow requests, 1 included below; oldest blocked for > 84446.312051 secs

osd.1 10.0.0.2:6800/900 162927 : [WRN] slow request 84446.312051 seconds old, received at 2012-12-15 15:27:56.891437: osd_sub_op(client.4528.0:19602219 0.fe 3807b5fe/rb.0.11b7.4a933baa.00000008629e/head//0 [] v 53'185888 snapset=0=[]:[] snapc=0=[]) v7 currently started

How can I identify the cause of this and how can I cancel this request?

I'm running Ceph on Fedora 17 using the latest RPMs available from ceph.com (0.52-6).

Thanks in advance,

Signature · 7 lines
Jens Kristian Søgaard, Mermaid Consulting ApS,
[email protected],
http://www.mermaidconsulting.com/
--
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
#1 lore raw

I heard the solution for this was to restart the osd's. That fixed it for me.

-Chris

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jens Kristian Søgaard
Sent: Sunday, December 16, 2012 9:00 AM
To: [email protected]
Subject: Slow requests

Hi,

My log is filling up with warnings about a single slow request that has been around for a very long time:

osd.1 10.0.0.2:6800/900 162926 : [WRN] 1 slow requests, 1 included below; oldest blocked for > 84446.312051 secs

osd.1 10.0.0.2:6800/900 162927 : [WRN] slow request 84446.312051 seconds old, received at 2012-12-15 15:27:56.891437:
osd_sub_op(client.4528.0:19602219 0.fe
3807b5fe/rb.0.11b7.4a933baa.00000008629e/head//0 [] v 53'185888 snapset=0=[]:[] snapc=0=[]) v7 currently started

How can I identify the cause of this and how can I cancel this request?

I'm running Ceph on Fedora 17 using the latest RPMs available from ceph.com (0.52-6).

Thanks in advance,
--
Jens Kristian Søgaard, Mermaid Consulting ApS, [email protected],
http://www.mermaidconsulting.com/
--
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

________________________________

NOTICE: This e-mail and any attachments is intended only for use by the addressee(s) named herein and may contain legally privileged, proprietary or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify me via reply email or at (800) 927-9800 and permanently delete the original copy and any copy of any e-mail, and any printout. --
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

#2 lore raw

v0.52 is also quite old. This was resolved in v0.55, I believe. Where are you looking for the RPMs? v0.55 should be there...

sage

Quoted 45 lines · Christopher

I heard the solution for this was to restart the osd's. That fixed it for me.

-Chris

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jens Kristian S?gaard
Sent: Sunday, December 16, 2012 9:00 AM
To: [email protected]
Subject: Slow requests

Hi,

My log is filling up with warnings about a single slow request that has been around for a very long time:

osd.1 10.0.0.2:6800/900 162926 : [WRN] 1 slow requests, 1 included below; oldest blocked for > 84446.312051 secs

osd.1 10.0.0.2:6800/900 162927 : [WRN] slow request 84446.312051 seconds old, received at 2012-12-15 15:27:56.891437:
osd_sub_op(client.4528.0:19602219 0.fe
3807b5fe/rb.0.11b7.4a933baa.00000008629e/head//0 [] v 53'185888 snapset=0=[]:[] snapc=0=[]) v7 currently started

How can I identify the cause of this and how can I cancel this request?

I'm running Ceph on Fedora 17 using the latest RPMs available from ceph.com (0.52-6).

Thanks in advance,
--
Jens Kristian S?gaard, Mermaid Consulting ApS, [email protected],
http://www.mermaidconsulting.com/
--
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

________________________________

NOTICE: This e-mail and any attachments is intended only for use by the addressee(s) named herein and may contain legally privileged, proprietary or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify me via reply email or at (800) 927-9800 and permanently delete the original copy and any copy of any e-mail, and any printout. --
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

#3 lore raw

Hi Sage,

Quoted 1 line

v0.52 is also quite old. This was resolved in v0.55, I believe. Where are you looking for the RPMs? v0.55 should be there...

The homepage said to look in:

http://ceph.com/rpms/fc17/x86_64/

The newest there is 0.52-6.fc17.x86_64.

I also looked at the EL6 folder, but the newest there is also 0.52-6.

Signature · 7 lines
Jens Kristian Søgaard, Mermaid Consulting ApS,
[email protected],
http://www.mermaidconsulting.com/
--
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

Hi Jens,

Seems that the RPM packager likes to keep the latest and greatest versions in http://ceph.com/rpm-testing/ but this path isn't defined in the ceph yum repository.

Dino

Quoted 24 lines · Jens Kristian Søgaard

Hi Sage,

Quoted 2 lines

v0.52 is also quite old. This was resolved in v0.55, I believe. Where are you looking for the RPMs? v0.55 should be there...

The homepage said to look in:

http://ceph.com/rpms/fc17/x86_64/

The newest there is 0.52-6.fc17.x86_64.

I also looked at the EL6 folder, but the newest there is also 0.52-6.

--
Jens Kristian Søgaard, Mermaid Consulting ApS,

[email protected],
http://www.mermaidconsulting.com/
--
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

Signature · 7 lines
______________________________
Dino Yancey
2GNT.com Admin
--
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
#5 lore raw

Hi Dino,

Quoted 3 lines

Seems that the RPM packager likes to keep the latest and greatest versions in http://ceph.com/rpm-testing/ but this path isn't defined in the ceph yum repository.

Thanks for the link!

Perhaps the documentation should be updated with this URL?

The release notes link to:

http://ceph.com/docs/master/install/rpm/

Signature · 9 lines
Jens Kristian Søgaard, Mermaid Consulting ApS,
[email protected],
http://wwww.mermaidconsulting.com/


--
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
#6 lore raw
In reply to Sage Weil

Hi,
I have also seen the same warning even when I use v0.56.1 (both kernel rbd and OSD side) when write stress is high enough(Say I have 3 osds but having 4~5 clients doing dd on top of the rbd).

2013-01-15 15:54:05.990052 7ff97dd0c700  0 log [WRN] : slow request 32.545624 seconds old, received at 2013-01-15 15:53:33.444348: osd_op(client.4125.1:51574 rb.0.100f.6b8b4567.000000000827 [write 3670016~524288] 2.1ae8252c) currently waiting for sub ops
2013-01-15 15:54:05.990055 7ff97dd0c700  0 log [WRN] : slow request 32.533197 seconds old, received at 2013-01-15 15:53:33.456775: osd_op(client.4125.1:51599 rb.0.100e.6b8b4567.0000000007a7 [write 3522560~524288] 2.54bcf797) currently waiting for sub ops
2013-01-15 15:54:05.990058 7ff97dd0c700  0 log [WRN] : slow request 32.519738 seconds old, received at 2013-01-15 15:53:33.470234: osd_op(client.4125.1:51600 rb.0.100e.6b8b4567.0000000007a7 [write 4046848~147456] 2.54bcf797) currently waiting for sub ops
2013-01-15 15:54:06.990355 7ff97dd0c700  0 log [WRN] : 2 slow requests, 2 included below; oldest blocked for > 33.225773 secs
2013-01-15 15:54:06.990366 7ff97dd0c700  0 log [WRN] : slow request 33.225773 seconds old, received at 2013-01-15 15:53:33.764540: osd_op(client.4125.1:51665 rb.0.100f.6b8b4567.00000000082e [write 3145728~524288] 2.3c00a0fb) currently waiting for sub ops
2013-01-15 15:54:06.990371 7ff97dd0c700  0 log [WRN] : slow request 33.221343 seconds old, received at 2013-01-15 15:53:33.768970: osd_op(client.4125.1:51666 rb.0.100f.6b8b4567.00000000082e [write 3670016~524288] 2.3c00a0fb) currently waiting for sub ops
2013-01-15 15:54:18.993759 7ff97dd0c700  0 log [WRN] : 6 slow requests, 6 included below; oldest blocked for > 30.313194 secs
2013-01-15 15:54:18.993769 7ff97dd0c700  0 log [WRN] : slow request 30.313194 seconds old, received at 2013-01-15 15:53:48.680488: osd_op(client.4125.1:52333 rb.0.100d.6b8b4567.000000000851 [write 1048576~524288] 2.43b76099) currently waiting for sub ops
2013-01-15 15:54:18.993774 7ff97dd0c700  0 log [WRN] : slow request 30.308800 seconds old, received at 2013-01-15 15:53:48.684882: osd_op(client.4125.1:52334 rb.0.100d.6b8b4567.000000000851 [write 1572864~524288] 2.43b76099) currently waiting for sub ops
2013-01-15 15:54:18.993778 7ff97dd0c700  0 log [WRN] : slow request 30.304389 seconds old, received at 2013-01-15 15:53:48.689293: osd_op(client.4125.1:52335 rb.0.100d.6b8b4567.000000000851 [write 2097152~524288] 2.43b76099) currently waiting for sub ops
2013-01-15 15:54:18.993782 7ff97dd0c700  0 log [WRN] : slow request 30.299783 seconds old, received at 2013-01-15 15:53:48.693899: osd_op(client.4125.1:52336 rb.0.100d.6b8b4567.000000000851 [write 2621440~524288] 2.43b76099) currently waiting for sub ops
2013-01-15 15:54:18.993787 7ff97dd0c700  0 log [WRN] : slow request 30.295340 seconds old, received at 2013-01-15 15:53:48.698342: osd_op(client.4125.1:52337 rb.0.100d.6b8b4567.000000000851 [write 3145728~524288] 2.43b76099) currently waiting for sub ops 

Xiaoxi
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sage Weil
Sent: 2012年12月17日 6:55
To: Holcombe, Christopher
Cc: Jens Kristian Søgaard; [email protected]
Subject: RE: Slow requests

v0.52 is also quite old. This was resolved in v0.55, I believe. Where are you looking for the RPMs? v0.55 should be there...

sage

Quoted 39 lines · Christopher

I heard the solution for this was to restart the osd's. That fixed it for me.

-Chris

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jens Kristian S?gaard
Sent: Sunday, December 16, 2012 9:00 AM
To: [email protected]
Subject: Slow requests

Hi,

My log is filling up with warnings about a single slow request that has been around for a very long time:

osd.1 10.0.0.2:6800/900 162926 : [WRN] 1 slow requests, 1 included below; oldest blocked for > 84446.312051 secs

osd.1 10.0.0.2:6800/900 162927 : [WRN] slow request 84446.312051 seconds old, received at 2012-12-15 15:27:56.891437:
osd_sub_op(client.4528.0:19602219 0.fe
3807b5fe/rb.0.11b7.4a933baa.00000008629e/head//0 [] v 53'185888
snapset=0=[]:[] snapc=0=[]) v7 currently started

How can I identify the cause of this and how can I cancel this request?

I'm running Ceph on Fedora 17 using the latest RPMs available from ceph.com (0.52-6).

Thanks in advance,
--
Jens Kristian S?gaard, Mermaid Consulting ApS, [email protected], http://www.mermaidconsulting.com/
--
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

Quoted 9 lines

________________________________

NOTICE: This e-mail and any attachments is intended only for use by the addressee(s) named herein and may contain legally privileged, proprietary or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify me via reply email or at (800) 927-9800 and permanently delete the original copy and any copy of any e-mail, and any printout. --
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

--
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

#7 lore raw
In reply to Jens Kristian Søgaard
Quoted 15 lines · Jens Kristian Søgaard

Hi,

My log is filling up with warnings about a single slow request that has been around for a very long time:

osd.1 10.0.0.2:6800/900 162926 : [WRN] 1 slow requests, 1 included below; oldest blocked for > 84446.312051 secs

osd.1 10.0.0.2:6800/900 162927 : [WRN] slow request 84446.312051 seconds old, received at 2012-12-15 15:27:56.891437:
osd_sub_op(client.4528.0:19602219 0.fe 3807b5fe/rb.0.11b7.4a933baa.00000008629e/head//0 [] v 53'185888 snapset=0=[]:[] snapc=0=[]) v7 currently started

Quoted 7 lines

How can I identify the cause of this and how can I cancel this request?

I'm running Ceph on Fedora 17 using the latest RPMs available from ceph.com (0.52-6).

Thanks in advance,

Hi Jens,

Please take a look to this thread:
http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/10843

Seems that you`ll need newer rpms to get rid of this.

Quoted 8 lines

--
Jens Kristian Søgaard, Mermaid Consulting ApS, [email protected],
http://www.mermaidconsulting.com/
--
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

--
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

#8 lore raw

Hi Andrey,

Thanks for your reply!

Quoted 2 lines

Please take a look to this thread:
http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/10843

I took your advice and restarted each of my three osd's individually. The first two restarted within a minute or two. The last one took 20 minutes to restart (?)

Afterwards the slow request had disappeared, so it did seem to work!

Quoted 1 line

Seems that you`ll need newer rpms to get rid of this.

Are newer RPMs available for download somewhere, or do I need to compile my own?

I have searched the ceph.com site several times in the past, but I only find older versions.

Signature · 7 lines
Jens Kristian Søgaard, Mermaid Consulting ApS,
[email protected],
http://www.mermaidconsulting.com/
--
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
#9 lore raw
Quoted 16 lines · Jens Kristian Søgaard

Hi Andrey,

Thanks for your reply!

Quoted 2 lines

Please take a look to this thread:
http://comments.gmane.org/gmane.comp.file-systems.ceph.devel/10843

I took your advice and restarted each of my three osd's individually. The first two restarted within a minute or two. The last one took 20 minutes to restart (?)

Afterwards the slow request had disappeared, so it did seem to work!

Quoted 10 lines
Quoted 1 line

Seems that you`ll need newer rpms to get rid of this.

Are newer RPMs available for download somewhere, or do I need to compile my own?

I have searched the ceph.com site several times in the past, but I only find older versions.

Oh, sorry, I maybe misguided you - solution is the patch from Sam, restarts may help only on the short distance and youre not able to check some pgs for consistency until patch have been applied - theyll hang on scrub every time.

Quoted 8 lines

--
Jens Kristian Søgaard, Mermaid Consulting ApS, [email protected],
http://www.mermaidconsulting.com/
--
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

--
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

#10 lore raw

Hi Andrey,

Quoted 4 lines

Oh, sorry, I maybe misguided you - solution is the patch from Sam, restarts may help only on the short distance and youre not able to check some pgs for consistency until patch have been applied - theyll hang on scrub every time.

I'll need to update, yes!

I don't have any pgs in scrubbing though.

Signature · 7 lines
Jens Kristian Søgaard, Mermaid Consulting ApS,
[email protected],
http://www.mermaidconsulting.com/
--
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