LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-23-2011, 01:06 AM   #1
dhirajkaushik84
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Linux server hang state


Hi Team,

I am facing problem of Linux server going to hang state.
It is very random and also very rare, during this time I am not able to login to server.

I dont see any output on console screen.

Also when I see /var/log/messages I dont see any output during the time server was hanged.

I doubt that there is some process which is taking all Server resources and server is hanged. That is why no logs are seen in messages file as well.

PLease suggest how I can verify this. Also how can I find the culprit process.

Regards
Dhiraj
 
Old 07-23-2011, 02:27 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
If there is nothing in the /var/log/* files then chances are it is a hardware problem. How does the server get out of the hung state?
 
Old 07-23-2011, 02:38 AM   #3
dhirajkaushik84
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi

Server has to be rebooted. Also checked with HP. And as per them there is no hardware issue.
 
Old 07-23-2011, 04:33 AM   #4
soulman_yu
LQ Newbie
 
Registered: Jan 2009
Posts: 8

Rep: Reputation: 0
I've had similar issue on Solaris cluster with Oracle, and was ping-ponged from SUN to Oracle

After this happened I created script that gave me ps and sar for each 5 minutes on the system and cron to put those data into file.
Then created other cron to rotate it on daily basis, so I have all data during one day in one file.

when the issue happened again, I could see what process ID had most of the resources and found out that Oracle was the one who crashed one node of the SUN cluster

you could try something like that
 
Old 07-23-2011, 06:19 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks soulman_yu, a good suggestion

Can you tell us how Oracle software was crashing a node? AFAIK (theory!) it should not be possible for applications running in user space to halt the kernel ... ?

Last edited by catkin; 07-23-2011 at 06:23 AM. Reason: AFAIL -> AFAIK
 
Old 07-23-2011, 06:19 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
<duplicate post deleted>

Last edited by catkin; 07-23-2011 at 06:22 AM.
 
  


Reply



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: Unmounting a NFS mount on a server when the mounted server has gone down, causing the applications thread to hang up. rahulk LinuxAnswers Discussion 3 06-21-2013 10:25 AM
"Checking battery state" hang when killing gdm to install Nvidia drivers Takara Ubuntu 1 08-08-2009 06:27 PM
iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --set deadeyes Linux - Server 14 07-29-2009 04:30 AM
RHEL3 server going in hang state bkak Linux - Enterprise 4 01-31-2007 02:41 PM
Linux sockets hang in FIN_WAIT1 state pavan Linux - Networking 2 06-19-2005 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration