Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-17-2012, 09:05 AM   #1
Registered: Jun 2012
Posts: 118
Blog Entries: 1

Rep: Reputation: Disabled
Kernel Error echo 0 > /proc/sys/kernel/hung _task_timeout_secsin Redhat 5.8

I have the problem with with 2.6.18-308.el5 kernel release in Redhat release 5.8.The system get frequent hangs ,I had raised the ticket to redhat support regarding the kernel issue.

Redhat give the RFC report

They had replied the problem is not with kernel issue,the problem is with I/o ERROR leads with system crash.I could not get clear idea whether is my application error are system error.

Any help regarding these how can i set the parameter hung_task_timeout_secs" in kernel.What does the function does if i disable hung_task_timeout_secs to Zero.

[root@localhost ~]# cat /etc/issue RedHat Enterprise Linux Server release 5.8 (Tikanga)
Kernel \r on an \m

#uname -a
Linux localhost.localdomain 2.6.18-308.el5 #1 SMP Fri Jan 27 17:21:15 EST 2012 i686 i686 i386 GNU/Linux

** Kernel log: cat /var/log/messages

INFO: task kjournald:5479 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Old 10-18-2012, 09:32 AM   #2
Registered: Jul 2011
Distribution: CentOS, Ubuntu, Fedora, Solaris, RHEL, Debian
Posts: 100

Rep: Reputation: 3
You can set the parameter in sysctl.conf to make it persistent, but all it does is disable the warning when a task blocks for more than 2 minutes. I've seen this before as a symptom when an application was opening database connections but not closing them. All the memory on the system was used up, and either kjournald or firebird would block, generating the warning.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't create file using echo: /proc/sys/net/ipv4/ip_local_port_change rsumbeling Linux - General 4 07-17-2013 04:20 AM
What is /proc/sys/kernel/real-root-device HaroldWho Linux - Kernel 2 10-15-2008 01:58 PM
echo '214748364' > /proc/sys/kernel/shmmax rubendarioportillo SUSE / openSUSE 1 11-03-2005 06:05 PM
echo '214748364' > /proc/sys/kernel/shmmax SwannAnderson Linux - General 2 11-03-2005 02:54 PM
/proc/sys/kernel/hostname quesiton caps_phisto Linux - General 1 12-14-2004 07:22 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration