- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: shutdown is taking more than about 15 minutes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2008 08:00 PM
тАО07-29-2008 08:00 PM
Linux Node1 2.6.10-telco-1.46-mckinley-smp #1 SMP Fri May 30 18:29:43 UTC 2008 ia64 GNU/Linux
I have above linux platform. When I issue shutdown, sometimes I find system is taking about 15 minutes after it had broadcasted the message about shutdown. I issue shutdown -r now
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-29-2008 10:45 PM
тАО07-29-2008 10:45 PM
Re: shutdown is taking more than about 15 minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 08:59 AM
тАО07-30-2008 08:59 AM
Re: shutdown is taking more than about 15 minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 09:27 AM
тАО07-30-2008 09:27 AM
Re: shutdown is taking more than about 15 minutes
Processes can be in an 'uninterruptable sleep', for example when performing I/O operations. They will then only receive the KILL when coming out of that state. Maybe you have a process blocked in such a state for a while. (your fencing mechanism, maybe?)
Can you see where it's hanging, exactly ? The console should be telling you what the machine is currently trying to do. It could be useful to provide the last few lines of console output you see when it hangs.
You can also try to pinpoint this by stopping services manually. Since the cluster software would be our prime suspect, see what happens when you manually shut down these services (using the init scripts in /etc/init.d) while the machine is still up.
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 09:29 AM
тАО07-30-2008 09:29 AM
Re: shutdown is taking more than about 15 minutes
Are you using HP ServiceGuard for linux or another clustering solution ?
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 09:33 AM
тАО07-30-2008 09:33 AM
Re: shutdown is taking more than about 15 minutes
I did not observe any console message flashed after shutdown issued. No console messages for 15 minutes. Do you suggest any degug I should add? Like
1. Adding "top" output to see , if any process is hung
2. Adding ps output and check out the status of processes after shutdown command is issued.
If you have any such specific debug command that I can insert in my perl code to find out which processes goes in uninterruptable sleep, that would be great help
Another question , why would a process goes for uninterruptable sleep ? KILL -9 also can not kill them ? though I have seen many a times, kill -9 too does not help in killing out the processes
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 09:43 AM
тАО07-30-2008 09:43 AM
Re: shutdown is taking more than about 15 minutes
I have one important question. Will shutdown hang , if any of the process does not exit , or hung. I thought "shutdown -r now" would anyway proceed for rebooting, if its not able to kill any of the process that are hung.
Pls clerify , if my concept is right or wrong. Describe how shutdown works in steps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 10:13 AM
тАО07-30-2008 10:13 AM
Re: shutdown is taking more than about 15 minutes
r u really wathcing the console (not the terminal you issued the shutdown). Or try watching the /var/log/boot.log or /var/log/messages from another terminal parallay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 10:26 AM
тАО07-30-2008 10:26 AM
Re: shutdown is taking more than about 15 minutes
Thay only illustrates why a process would not react to a kill -9 immediately, though.
The man page for shutdown is quite short and describes the shutdown process well.
Are you working on the system console, or through telnet/ssh ?
We still need to know which cluster software you are using.
What's the output of these commands:
# whereis cmviewcl
# service cman status
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2008 10:45 AM
тАО07-30-2008 10:45 AM
Re: shutdown is taking more than about 15 minutes
-su: service: command not found
service tcp status
-su: service: command not found
whereis cmviewcl
cmviewcl:
I have console connection to platform. Its not telnet / ssh sessions. thats for sure.
I did not find boot.log file under /var/log
kern.log
Jul 7 02:29:05 Node1 kernel: EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
Jul 7 02:45:18 Node1 kernel: nfsd: last server has exited
Jul 7 02:45:18 Node1 kernel: nfsd: unexporting all filesystems
Shutdown was issued around 02:29:46
There is no messages in syslog and kern.log around 15 mins after shutdown was invoked.
Thanks