System not responding and Automatic process kill


 
Thread Tools Search this Thread
Operating Systems HP-UX System not responding and Automatic process kill
# 1  
Old 02-22-2014
System not responding and Automatic process kill

Hi All,

One of our servers stopped responding , unable to take any logins into it, the response is almost nil...later it resumed

Also during this time one of our application processes which was costly on memory got killed..is it an OOM kill?

Would like to know to know how to avoid such things in future.
Also any logs where to look for how the process got killed etc?

Thanks for your help
# 2  
Old 02-22-2014
With everything that you have told us (a system was slow, a memory-hogging process terminated), you haven't given us any clue as to who or what might have terminated the process.

Did the terminated process have a log file? If so, does it indicate why it terminated?

Was your system running job accounting? If so, does it indicate why the job in question terminated? Does it indicate if anyone ran the kill command close to the time when the job in question terminated?

Who was logged in when the process terminated?

What else was running when the process terminated?

Why was the system running slow?
# 3  
Old 02-22-2014
Also, you can check the syslog or dmesg to see if OOM Killer was invoked. The OOM killer is because of an out of memory condition, which is often caused by an application that uses to much memory, because of a memory leak (bad programming) for example, but there may be other causes..
# 4  
Old 02-22-2014
Trying to find out what killed the process

The log file of the process shows when it was terminated but we want to know who terminated it.

there were many users in the system at that time but none with amdin rights and no fresh logins could be taken. The admin did something Iam not sure what he did.

Iam trying to find out how the process got killed.

dmesg give below output


Feb 22 09:53
Can't read kernel memory
# 5  
Old 02-22-2014
You need to execute dmesg as root. Can you become root.? Otherwise, can you read what is in /var/adm/syslog/syslog.log ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

System should not kill the child process when parent id is 1

HI i would like to know how i can simulate a shell scripts for my requirement. example Server name child Process id Parent Process id Vpesh 16013 15637 Server name child Process id Parent Process id Vpesh 16014 15637 Server name child... (1 Reply)
Discussion started by: vpesh
1 Replies

2. Shell Programming and Scripting

Kill an specific process ID using the KILL and GREP commands

Good afternoon I need to KILL a process in a single command sentence, for example: kill -9 `ps -aef | grep 'CAL255.4ge' | grep -v grep | awk '{print $2}'` That sentence Kills the process ID corresponding to the program CAL255.4ge. However it is possible that the same program... (6 Replies)
Discussion started by: enriquegm82
6 Replies

3. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

4. Solaris

Help! System not responding!

Hello All! please help. I have a solaris8 server (NIS client) that lost network connectivity to NIS master server. After restoring connectivity to NIS master server, I can't access the server. 1. The server responds to ping. 2. Telnet -- after it authenticates I do not get a prompt. 3.... (3 Replies)
Discussion started by: pingmeback
3 Replies

5. Shell Programming and Scripting

[REQ] Automatic script kill process

HI, I'm using CentOS 5.1 x86_64, CPanel .. a lot of my users used too much resource, i want to write a script to kill all of them. Eg: LFD always notify me: Time: Sun Apr 27 07:40:08 2008 Account: xxxx (my user) Resource: Virtual Memory Size Exceeded: 110 > 100 (MB)... (3 Replies)
Discussion started by: onisoc
3 Replies

6. Linux

Kill a process without using kill command

I want to Kill a process without using kill command as i don't have privileges to kill the process. I know the pid and i am using Linux 2.6.9 OS. (6 Replies)
Discussion started by: sudhamacs
6 Replies

7. Shell Programming and Scripting

Kill a process without using kill command

Sorry, posted the question in other forum. (0 Replies)
Discussion started by: sudhamacs
0 Replies

8. Programming

kill(0,-9) don't kill the process

Hi all i have simple c program , when i wish to kill the app im using kill(0,-9) , but it seams this command don't do any thing and the program. just ignore it . what im doing wrong here ? im using HP-UX ia64 Thanks (9 Replies)
Discussion started by: umen
9 Replies

9. UNIX for Advanced & Expert Users

When kill doesnt work, how to kill a process ?

Hi All, I am unable to kill a process using kill command. I am using HP-UX system. I have tried with kill -9 and i have root privilages. How can i terminate this daemon ? ? ? Regards, Vijay Hegde (3 Replies)
Discussion started by: VijayHegde
3 Replies

10. UNIX for Dummies Questions & Answers

Automatic Kill -help

Hello We are using UNIX, (?) there were reports to us thAt their login was automatically killed, however we (root) did not issue a kill -9 PID, can anyone give me an idea what happen. To add, the user is not idled, he is actually doing something. also, i search all the thread, donno if i... (5 Replies)
Discussion started by: lancemendioro
5 Replies
Login or Register to Ask a Question