Skip to contentSkip to conversation

softlockup: re-increase hung tasks check from 2 minutes to 8 minutes

PATCH In review Jeff Mahoney 3 participants 5 messages May 6, 2011 – May 10, 2011 Hung task detector

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 softlockup: re-increase hung tasks check from 2 minutes to 8 minutes

Commit e162b39a, which moved the soft lockup code around a bit, accidentally reverted commit fb822db4, which extended the soft lockup timeout from 2 minutes to 8 minutes.

This patch restores it to 8 minutes.

From the original patch:

Quoted 6 lines

Andrew says:

Quoted 2 lines

Seems that about 100% of the reports we get of this warning triggering are sys_sync, transaction commit, etc.

increase the timeout. If it still triggers for people, we can kill it.

---

 kernel/hung_task.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/hung_task.c +1 -1
@@ -33,7 +33,7 @@ unsigned long __read_mostly sysctl_hung_
 /*
  * Zero means infinite timeout - no checking done:
  */
-unsigned long __read_mostly sysctl_hung_task_timeout_secs = 120;
+unsigned long __read_mostly sysctl_hung_task_timeout_secs = 480;
 
 unsigned long __read_mostly sysctl_hung_task_warnings = 10;
 
Signature · 2 lines
Jeff Mahoney
SUSE Labs
#1 lore raw
Quoted 5 lines · Jeff Mahoney

Commit e162b39a, which moved the soft lockup code around a bit, accidentally reverted commit fb822db4, which extended the soft lockup timeout from 2 minutes to 8 minutes.

This patch restores it to 8 minutes.

This patch wont apply, because i already have your other patch committed. Could you do it against latest -tip:

http://people.redhat.com/mingo/tip.git/README

Thanks,

Ingo

#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Ingo Molnar
Quoted 4 lines · Jeff Mahoney

Commit e162b39a, which moved the soft lockup code around a bit, accidentally reverted commit fb822db4, which extended the soft lockup timeout from 2 minutes to 8 minutes.

Quoted 6 lines
Quoted 1 line

This patch restores it to 8 minutes.

This patch wont apply, because i already have your other patch committed. Could you do it against latest -tip:

http://people.redhat.com/mingo/tip.git/README

After Andrew commented, and I agreed, that the sysctl should just be set instead of adding another config option I was thinking we'd just drop the other patch and replace it with this one.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3EUH4ACgkQLPWxlyuTD7JL8ACfS1DnnFGjN0j3zwt1eldfk5pu e20AoInzD0SzxeTH4F1kNKZHHExt9eO+
=qV/f
-----END PGP SIGNATURE-----

#3 lore raw
Quoted 13 lines · Jeff Mahoney

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Ingo Molnar
Quoted 5 lines · Jeff Mahoney

Commit e162b39a, which moved the soft lockup code around a bit, accidentally reverted commit fb822db4, which extended the soft lockup timeout from 2 minutes to 8 minutes.

This patch restores it to 8 minutes.

Quoted 8 lines
Quoted 4 lines

This patch wont apply, because i already have your other patch committed. Could you do it against latest -tip:

http://people.redhat.com/mingo/tip.git/README

After Andrew commented, and I agreed, that the sysctl should just be set instead of adding another config option I was thinking we'd just drop the other patch and replace it with this one.

Well, since i already applied it please revert it in this second change and explain that you and Andrew think the config is unnecessary and we can just up the timeout back to 8 minutes and most everyone will be happy ...

Thanks,

Ingo

maintainer
#4 lore raw
In reply to Jeff Mahoney
Quoted 5 lines · On Fri, 06 May 2011 11:35:26 -0400 Jeff Mahoney <[email protected]> wrote:

Commit e162b39a, which moved the soft lockup code around a bit, accidentally reverted commit fb822db4, which extended the soft lockup timeout from 2 minutes to 8 minutes.

This patch restores it to 8 minutes.

Nit: it's conventional to refer to commits in the following manner:

e162b39a ("softlockup: decouple hung tasks check from softlockup detection")

because a commit can have a different hash in different trees.

Notnit: "softlockup: decouple hung tasks check from softlockup detection" was merged two years ago. Shouldn't we have a Cc:
<[email protected]> in this changelog?