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

I would kill it and see if it does it again before trying to hunt down
the
reason. kill -9

Yeah, it kept happening. Found out an infinite loop buried deep in
the code. Seems to be working fine now.