LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-30-2008, 01:38 AM   #1
kspradhan
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


wall hangs on tty_write system call for about 15 minutes on debian 2.6 kernel

--------------------------------------------------------------------------------

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


===Code===
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
Firmware:
BMC = 2.33
EFI = 1.10
MP = E.03.15
System = 1.10



Thanks
Krupa
 
Old 08-30-2008, 06:02 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,534
Blog Entries: 51

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
No idea. Use shutdown's own message writing capabilities instead of 'wall'?
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wall hangs on tty_write system call for about 15 minutes on debian 2.6 kernel kspradhan Linux - Newbie 1 08-22-2008 10:10 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
system call to get the kernel version appas Programming 2 10-06-2004 03:51 AM
My Athlon System hangs after 5 minutes when i login to redhat 8 keshif Linux - Hardware 12 03-03-2004 01:12 PM


All times are GMT -5. The time now is 02:57 PM.

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