LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-22-2004, 06:18 AM   #1
ssnkumar
LQ Newbie
 
Registered: Mar 2004
Location: Bangalore
Posts: 26

Rep: Reputation: 15
Question 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
 
Old 03-22-2004, 01:19 PM   #2
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Rep: Reputation: 30
Can you post what util is actually getting killed (as then we can possibly advise you to where a log might be)...
 
Old 03-22-2004, 11:08 PM   #3
ssnkumar
LQ Newbie
 
Registered: Mar 2004
Location: Bangalore
Posts: 26

Original Poster
Rep: Reputation: 15
It can be any util. What are the chances of it getting "Killed" and what are those chances?
 
Old 03-23-2004, 12:16 AM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Rep: Reputation: 30
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...
 
Old 03-23-2004, 02:50 AM   #5
ssnkumar
LQ Newbie
 
Registered: Mar 2004
Location: Bangalore
Posts: 26

Original Poster
Rep: Reputation: 15
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"!?
 
Old 03-23-2004, 02:59 AM   #6
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Rep: Reputation: 30
What version of the kernel are you running?
 
Old 03-23-2004, 03:15 AM   #7
ssnkumar
LQ Newbie
 
Registered: Mar 2004
Location: Bangalore
Posts: 26

Original Poster
Rep: Reputation: 15
Red Hat Linux release 9 (Shrike)
Kernel 2.4.20-8 on an i686
 
Old 03-23-2004, 04:18 AM   #8
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

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

Sorry
 
Old 03-23-2004, 06:25 AM   #9
ssnkumar
LQ Newbie
 
Registered: Mar 2004
Location: Bangalore
Posts: 26

Original Poster
Rep: Reputation: 15
After doing google search and not finding the answer only I posted the problem here!

-ssnkumar
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM
cannot execute "/sbin/agetty" <-- appears during kernel boot process CestusGW Linux - General 2 01-10-2004 05:16 PM
"Killed" Monitor starting XWindow dlocalized Linux - General 6 11-18-2003 11:58 AM


All times are GMT -5. The time now is 04:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration