# Lighttpd/fastcgi - one ruby process taking up 98% of the cpu

**URL:** <https://www.ruby-forum.com/t/lighttpd-fastcgi-one-ruby-process-taking-up-98-of-the-cpu/74362>\
**Category:** Rails\
**Created:** [December 22, 2005, 8:59pm UTC](https://www.ruby-forum.com/t/lighttpd-fastcgi-one-ruby-process-taking-up-98-of-the-cpu/74362 "2005-12-22T20:59:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [December 22, 2005, 8:59pm UTC](https://www.ruby-forum.com/t/lighttpd-fastcgi-one-ruby-process-taking-up-98-of-the-cpu/74362/1 "2005-12-22T20:59:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [December 22, 2005, 9:23pm UTC](https://www.ruby-forum.com/t/lighttpd-fastcgi-one-ruby-process-taking-up-98-of-the-cpu/74362/2 "2005-12-22T21:23:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [December 22, 2005, 10:24pm UTC](https://www.ruby-forum.com/t/lighttpd-fastcgi-one-ruby-process-taking-up-98-of-the-cpu/74362/3 "2005-12-22T22:24:14Z")

</div>

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