Pat Maddox
2005-Dec-22 19:57 UTC
Lighttpd/fastcgi - one ruby process taking up 98% of the cpu
My app goes unresponsive after running for a while. I checked out top, and one of the ruby processes is taking up 98% of the cpu. I have no clue why this is happening, and I doubt anyone can tell me specifically, but does anyone at least have any ideas as to where I should look? Pat
Ben Reubenstien
2005-Dec-22 20:23 UTC
Re: Lighttpd/fastcgi - one ruby process taking up 98% of the cpu
I would kill it and see if it does it again before trying to hunt down the reason. kill -9 <processid> On 12/22/05, Pat Maddox <pergesu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > My app goes unresponsive after running for a while. I checked out > top, and one of the ruby processes is taking up 98% of the cpu. I > have no clue why this is happening, and I doubt anyone can tell me > specifically, but does anyone at least have any ideas as to where I > should look? > > Pat > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ben Reubenstein benr-gpfhg/Mf3zw@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Pat Maddox
2005-Dec-22 21:22 UTC
Re: Lighttpd/fastcgi - one ruby process taking up 98% of the cpu
Yeah, it kept happening. Found out an infinite loop buried deep in the code. Seems to be working fine now. On 12/22/05, Ben Reubenstien <benr-gpfhg/Mf3zw@public.gmane.org> wrote:> I would kill it and see if it does it again before trying to hunt down the > reason. kill -9 <processid> > > > On 12/22/05, Pat Maddox < pergesu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > My app goes unresponsive after running for a while. I checked out > > top, and one of the ruby processes is taking up 98% of the cpu. I > > have no clue why this is happening, and I doubt anyone can tell me > > specifically, but does anyone at least have any ideas as to where I > > should look? > > > > Pat > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > -- > Ben Reubenstein > benr-gpfhg/Mf3zw@public.gmane.org > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >