Server Hang in Linux RHEL 5.5

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Server Hang in Linux RHEL 5.5
# 1  
Old 11-17-2014
Server Hang in Linux RHEL 5.5

Dear All ,

One of our Oracle Database Server , which got hanged a couple of days before , so that we could not login to the Server , but it was pinging.
So we tried various options and at last we did a reboot of this server.
To find out the root cause of the Server Hang , when i checked the logs in /var/log /messages , i dont find any entry in the period it got hanged and logs are updated after the restart.

To find out the RAM , CPU Usage also , i checked sar outputs , there also i dont find any entry for the day it got hanged.

Now i want to know how to find the root cause for this.

Can any one pl help me.
# 2  
Old 11-17-2014
little silly things can lead to such issues you know, like an employee printing on a friday 17:00 but decides its weekend and so leave before it had time to print and swithes off the printer and leaves... the machine load will inevitably start to raise with all the attempts to print...
You dont give us enough information for us to give you our thoughts only to say yes it can happen like my example (happened to me years ago...) but also "dead processes" big cache flush can take quite some time etc... And a faulty network interface: on a AIX I had once a card that would ping but not much more haha
# 3  
Old 11-17-2014
Code:
dmesg | grep -i killed

What's the status of memory overcommit?

Code:
echo /proc/sys/vm/overcommit_memory

For a database server, memory overcommit should be disabled:

Code:
sysctl vm.overcommit_memory=2
echo "vm.overcommit_memory=2" >> /etc/sysctl.conf

You do not want to overcommit memory on a server where long-lived processes WILL use the memory they allocate.

Otherwise the OOM killer will kill important processes, possibly hanging the machine. And when a machine is hung badly, it may not even be able to log anything or record SAR data.

If you find your database or other processes no longer start up after you disable memory overcommit, you were using too much memory in the first place. Buy more RAM and/or add swap.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 5.3 NFS export not mounting, rpcinfo hang/timeout on server

Been trying to get a directory NFS-mounted with no success. I've tried both NFS v3 and v4, but currently trying v4. I can't figure out what's going on here. server: sbkovwadmd01 sbkovwadmd01# chnfsdom Current local domain: edw.dev sbkovwadmd01# lssrc -a | grep nfs | grep active nfsd ... (3 Replies)
Discussion started by: eckertd
3 Replies

2. Red Hat

RHEL 6.3 Errata Server?

I'm attempting to build a RHEL 6.3 yum errata server inside our company firewall with no luck. Is this something Red Hat attempts to prevent people from doing? I have done all the steps that I've been able to find to create a repository and configure it. My two repo files look like the... (2 Replies)
Discussion started by: redwing471
2 Replies

3. Red Hat

Commands with options hang server

Hello Folks, when i run simple ls command i am getting the output properly. See below: # ls ecapPlat.err FileMover.log.2 FileScrubber.log.1 MeasServer.log mysentfile surv.log ecapPlat.log FileMover.log.3 FileScrubber.log.2 MeasServer.log.1 netConfig.err TimeServer.log FileMover.log... (1 Reply)
Discussion started by: manuswami
1 Replies

4. Linux

Linux System became hang-up

Hi all, I am working on Red hat Linux 2.6 and I am trying to compile some java files and when I am trying to do it,it compiles some file and then became hang up and doesn't allow me to do any operation.. I write one ksh script to compile all files by this script and move those file in... (1 Reply)
Discussion started by: smartgupta
1 Replies

5. Shell Programming and Scripting

Hang in linux

Hi guys sorry for my English I am from GREECE and I speak from translator.I have in my school work to hang the program I've done is this encounter the problems is that the meter that I have put on the mistakes does not work (I have not stated anywhere lathi = 0, not to reset the meter at each of... (1 Reply)
Discussion started by: soula
1 Replies

6. Red Hat

server hang problem

Hello everybody.. I have RHEL-4 Server with kernel - Linux 2.6.9-78.0.1.ELlargesmp x86_64 It is used for Development usage.. That server got hang and so reboot was required, when checked log file i found following messages, kernel: warning: many lost ticks. kernel: Your time source... (4 Replies)
Discussion started by: laxmikant
4 Replies

7. Solaris

Server Hang @ init command

Guys, I am having difficulties in bringing my server to OBP. The server hung infinitely after issuing init 0 command. I have already stopped all the applications running but to no avail. :confused: Has anyone encountered this problem before? Appreciate if you could shed some lights. ... (4 Replies)
Discussion started by: honmin
4 Replies

8. UNIX for Advanced & Expert Users

Server Unixware hang up

Hi, I,ve a Unixware 7.1.4 Server, that it works OK, but suddenly it's hang up for six hours. In the server's console appears the messages of the registration product, the same that appears when the machine restart normally. while thats messages appears the console is lock and the server is out... (0 Replies)
Discussion started by: By_Jam
0 Replies

9. UNIX for Dummies Questions & Answers

Hang linux server :(

All greetings:) I had problem: hangs linux a server, and hangs always on miscellaneous and at various times, for example, can stand about one week, and can and in some minutes after reboot. Tried on a server to put windows 2003, with him problems do not arise. What could it be?:) I from... (4 Replies)
Discussion started by: SDaniel
4 Replies

10. Linux

Help for Linux hang up

Hi everybody, i need help regarding my Linux start up.I was trying to configure internet connection with my Red Hat in order to use for Internet,but of no avail and I think I have changed one parameter to activate device during computer start up. Now the problem is during start up and... (1 Reply)
Discussion started by: andysastre
1 Replies
Login or Register to Ask a Question