LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Process getting "Killed"!? (https://www.linuxquestions.org/questions/programming-9/process-getting-killed-160870/)

ssnkumar 03-22-2004 06:18 AM

Process getting "Killed"!?
 
I am running a process and it is getting killed suddenly and I can see the message "Killed".
It is not giving segmentation fault and core file is not dumped!
So, is it possible to find out why the process is getting killed and signal from which process has killed this process?

-ssnkumar

AMMullan 03-22-2004 01:19 PM

Can you post what util is actually getting killed (as then we can possibly advise you to where a log might be)...

ssnkumar 03-22-2004 11:08 PM

It can be any util. What are the chances of it getting "Killed" and what are those chances?

AMMullan 03-23-2004 12:16 AM

Well the thing is it shouldn't just be getting "Killed" - there must be a reason behind this and thats why it would be good to find a log file...

So if it's any util maybe try looking at /var/log/messages as this stores alot of the daemon Success/Failure information... If theres anything you feel looks perculiar in there post it and we can say what we think might be happening...

ssnkumar 03-23-2004 02:50 AM

I found out what the problem was!:-)
My util is creating a file and it's size is more than what the system stipulated limit. Now I changed it using ulimit and it is working.......
I found out this by accident!
So, my question is, "What are the different circumstances in which a process can get Killed instead of crash"!?

AMMullan 03-23-2004 02:59 AM

What version of the kernel are you running?

ssnkumar 03-23-2004 03:15 AM

Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i686

AMMullan 03-23-2004 04:18 AM

Hmmmm k I wish I could help but after a google search I still can't find anything on this...

Sorry :confused:

ssnkumar 03-23-2004 06:25 AM

After doing google search and not finding the answer only I posted the problem here!

-ssnkumar


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