Re: Detecting runaway process

2011-11-17 Thread Shlomi Fish
Hi Ido, On Thu, 17 Nov 2011 19:34:09 +0200 ik wrote: > Solved it. Thank you for your help > > Ido > Could you, by any chance, share how you solved it and what was the problem? Just for everybody's enlightenment. Regards, Shlomi Fish -- -

Re: Detecting runaway process

2011-11-17 Thread ik
On Thu, Nov 17, 2011 at 21:11, Shlomi Fish wrote: > Hi Ido, > > On Thu, 17 Nov 2011 19:34:09 +0200 > ik wrote: > > > Solved it. Thank you for your help > > > > Ido > > > > Could you, by any chance, share how you solved it and what was the problem? > Just for everybody's enlightenment. > I'ved p

Re: Detecting runaway process

2011-11-17 Thread ik
Solved it. Thank you for your help Ido On Thu, Nov 17, 2011 at 16:25, Nadav Har'El wrote: > On Thu, Nov 17, 2011, ik wrote about "Re: Detecting runaway process": > > Can't use gdb, it's a Ruby daemon (I didn't wrote it). > > And strace gives different outputs on each crash :( > > > > I can't fi

Re: Detecting runaway process

2011-11-17 Thread Oleg Goldshmidt
> Can't use gdb, it's a Ruby daemon (I didn't wrote it). Can you run it with "ruby -rdebug" or something like that? Maybe watching some variables or whatever? [Disclaimer: I looked at ruby exactly twice, very superficially, and it was not recently, I am just waving my hands.] -- Oleg Goldshmidt

Re: Detecting runaway process

2011-11-17 Thread Shlomi Fish
Hi Ido, On Thu, 17 Nov 2011 14:41:48 +0200 ik wrote: > On Thu, Nov 17, 2011 at 13:13, Shlomi Fish wrote: > > > On Thu, 17 Nov 2011 03:03:39 -0800 (PST) > > Valery Reznic wrote: > > > > > You can try > > > strace -p > > > > > > > ik can also use gdb for that. > > > > Can't use gdb, it's a Ru

Re: Detecting runaway process

2011-11-17 Thread Nadav Har'El
On Thu, Nov 17, 2011, ik wrote about "Re: Detecting runaway process": > Can't use gdb, it's a Ruby daemon (I didn't wrote it). > And strace gives different outputs on each crash :( > > I can't figure out what is wrong. The first step is to figure out if it exits because of a signal (e.g. SIGSEGV)

Re: Detecting runaway process

2011-11-17 Thread Shlomi Fish
On Thu, 17 Nov 2011 03:03:39 -0800 (PST) Valery Reznic wrote: > You can try > strace -p > ik can also use gdb for that. Regards, Shlomi Fish -- - Shlomi Fish http://www.shlomifish.org/ Original Riddles - http://w

Re: Detecting runaway process

2011-11-17 Thread ik
On Thu, Nov 17, 2011 at 14:52, Evgeniy Ginzburg wrote: > 2011/11/17 ik : > > Hello list, > > > > I have a daemon that every X amount of time just stop running. There are > no > > logs or any other indicator for what will make it stop running, but it > does. > > I'm looking for ideas on how to fig

Re: Detecting runaway process

2011-11-17 Thread Evgeniy Ginzburg
2011/11/17 ik : > Hello list, > > I have a daemon that every X amount of time just stop running. There are no > logs or any other indicator for what will make it stop running, but it does. > I'm looking for ideas on how to figure out what makes the daemon to stop > running. > > Can you please help

Re: Detecting runaway process

2011-11-17 Thread ik
On Thu, Nov 17, 2011 at 13:13, Shlomi Fish wrote: > On Thu, 17 Nov 2011 03:03:39 -0800 (PST) > Valery Reznic wrote: > > > You can try > > strace -p > > > > ik can also use gdb for that. > Can't use gdb, it's a Ruby daemon (I didn't wrote it). And strace gives different outputs on each crash :(

Re: A good Linux kernel vintage?

2011-11-17 Thread sara fink
try 2.6.38. Works pretty fine on 2 machines and no problems with the sound and hd load. You can always select from which kernel to boot. In the worst case, you will return back to the old version On Thu, Nov 17, 2011 at 1:19 PM, Eli Billauer wrote: > Nadav Har'El wrote: > > Well, basically, all

Re: A good Linux kernel vintage?

2011-11-17 Thread Eli Billauer
Nadav Har'El wrote: Well, basically, all released kernels fit your description. It's not like Linus, and a few hundreds of the kernel developers, are going to release a version, after a few weeks of intensive testing, which doesn't "work". You could be sure that all of them "love multitasking",

Re: Detecting runaway process

2011-11-17 Thread Valery Reznic
You can try strace -p > >From: ik >To: linux-il >Sent: Thursday, November 17, 2011 12:57 PM >Subject: Detecting runaway process > > >Hello list, > >I have a daemon that every X amount of time just stop running. There are no >logs or any other indicator for wh

Detecting runaway process

2011-11-17 Thread ik
Hello list, I have a daemon that every X amount of time just stop running. There are no logs or any other indicator for what will make it stop running, but it does. I'm looking for ideas on how to figure out what makes the daemon to stop running. Can you please help me with that ? Thanks, Ido _