# Lighttpd stops after serving 2 requests

**URL:** <https://www.ruby-forum.com/t/lighttpd-stops-after-serving-2-requests/54808>\
**Category:** Rails\
**Created:** [March 14, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/lighttpd-stops-after-serving-2-requests/54808 "2006-03-14T15:19:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arpan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e480ec/32.png) [@arpan](https://www.ruby-forum.com/u/arpan)\
**Post date:** [March 14, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/lighttpd-stops-after-serving-2-requests/54808/1 "2006-03-14T15:19:01Z")

</div>

I made a clean install of my system yesterday, and installed ROR and  
related items using the script from nubyonrails.

Now whenever I start the server, it stops after a couple requests. If I  
force it to start using webbrick, it works OK. I even created a fresh  
rails app to test it and I continue to get the same problem, so the  
problem is definitely not in the code.

Does anyone know what the problem might be, and how to solve it?

Mac OS X 10.3.9  
Ruby 1.8.4  
Rails 1.0  
Lighttpd 1.4.8

I’ve pasted fastcgi.crash.log here:  
[http://rafb.net/paste/results/080BXF63.html](http://rafb.net/paste/results/080BXF63.html)

All the other log files do not show any error.

Thanks  
Arpan

---

<div class="post-metadata">

**Author:** ![arpan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e480ec/32.png) [@arpan](https://www.ruby-forum.com/u/arpan)\
**Post date:** [March 14, 2006, 7:55pm UTC](https://www.ruby-forum.com/t/lighttpd-stops-after-serving-2-requests/54808/2 "2006-03-14T19:55:03Z")

</div>

does anyone know how to solve this problem?

---

<div class="post-metadata">

**Author:** ![arpan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e480ec/32.png) [@arpan](https://www.ruby-forum.com/u/arpan)\
**Post date:** [March 14, 2006, 8:51pm UTC](https://www.ruby-forum.com/t/lighttpd-stops-after-serving-2-requests/54808/3 "2006-03-14T20:51:12Z")

</div>

On Mar 14, 2006, at 10:55 AM, Arpan wrote:

> does anyone know how to solve this problem?
> 
> –
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

Arpan-

```
I'm not sure why this is but commenting out this line fixed the same

```

problem for me a while ago on osx:

#Server.event-handler = “freebsd-kqueue”

Cheers-  
-Ezra Z.  
Yakima Herald-Republic  
WebMaster

> **[yakimaherald.com | Yakima, Washington - We Tell Your Stories](https://www.yakimaherald.com/)**

509-577-7732  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![arpan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e480ec/32.png) [@arpan](https://www.ruby-forum.com/u/arpan)\
**Post date:** [March 15, 2006, 10:05am UTC](https://www.ruby-forum.com/t/lighttpd-stops-after-serving-2-requests/54808/4 "2006-03-15T10:05:33Z")

</div>

> Arpan-
> 
> I’m not sure why this is but commenting out this line fixed the same  
> problem for me a while ago on osx:
> 
> #server.event-handler = “freebsd-kqueue”

I tried searching for that line, but could not find it. In which file is  
it?

Thanks for the help.  
Arpan
