Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-14-2008, 11:07 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 8

Rep: Reputation: 0
wall hangs on tty_write system call for about 15 minutes on debian 2.6 kernel

My system was about 20% cpu utilization. Console was open and some other terminals were oepn.

0. system info Linux Node1 2.6.10-telco-1.35.1-mckinley-smp #1 SMP Sun Nov 18 20:58:46 UTC 2007 ia64 GNU/Linux
1. System had invoked shutdown -r now commmand
2. As part of it , it was putting wall message to all ttys
The wall message is "The system is going down for reboot NOW!"
3. We found that wall was hanging for 15mins and was not posting this message to tty.
4. Because of above reason, shutdown was hanging for about 15 minutes.

system ("while ( true );do sleep 25;date >> $rnps;ps -emo pid,ppid,psr,pcpu,pmem,vsz,rss,lwp,state,time,wchan=WIDE-WIDE-WCHAN-COLUMN,args>> $rnps; echo >> $rnps;done &");
echo "System is about to reboot Now " | wall
shutdown -r now

====Code Ends===

Below is seen for about 15-mins as captured from ps -e
30133 30131 - 0.0 0.0 3632 1744 - - 00:00:00 -/usr/bin/wall
- - 3 0.0 - - - 30133 S 00:00:00 tty_write

System hardware informations. System is connected to minicom and console
hp Z7849B server cx2600
BMC Sub ID = 0x0107
BMC = 2.33
EFI = 1.10
MP = E.03.15
System = 1.10


Last edited by kspradhan; 08-16-2008 at 06:46 PM.
Old 08-22-2008, 10:10 PM   #2
LQ Newbie
Registered: Aug 2008
Posts: 8

Original Poster
Rep: Reputation: 0
**anyone Is Helping Me Out Here**


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
How to add a system call in 2.6.x kernel SungWon Chung Linux - Kernel 2 11-26-2007 09:32 PM
how to add another system call in to the kernel?? Pratik H Pandya Programming 1 03-26-2006 02:02 AM
new kernel system call Ephracis Programming 1 05-06-2005 10:23 AM
My Athlon System hangs after 5 minutes when i login to redhat 8 keshif Linux - Hardware 12 03-03-2004 01:12 PM
Adding new System Call to Kernel kurt_ram Linux - General 1 10-22-2002 03:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:25 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