LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-23-2006, 10:26 AM   #1
KM3
LQ Newbie
 
Registered: Oct 2006
Location: UK
Distribution: 2.6.16-gentoo-r7
Posts: 3

Rep: Reputation: 0
something is killing my daemon process


Hi,
I am starting a daemon bash script like:
Code:
nohup mydaemonscript.sh &
It is basically an infinite loop and it appears to be dying about once every hour, by a SIGKILL (I think it's SIGKILL since my exit 0 trap is not triggered.)

Can anyone tell me if linux has some sort of auto-kill clean-up for orphans (like my daemon becomes after I log out)? And if so, is there a list of 'don't kill' etc.
Any other theories?
thanks.
 
Old 10-23-2006, 10:43 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Run it in a screen session to debug or do an strace on it.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem killing process paddyjoy Linux - Newbie 6 01-12-2006 11:20 PM
Process killing script owix Linux - General 2 07-19-2005 11:08 AM
Killing a process by its name rabeea Linux - Networking 3 03-17-2005 05:30 AM
Killing/Ending a process james_cwy Linux - Newbie 6 12-16-2003 09:45 PM
Really Killing a Process! lazlow69 Linux - Newbie 14 05-10-2003 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:07 PM.

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