Libevent error 'Bad File Descriptor'
Wed, 22 Oct 2003 14:53:06 -0700 (PDT)
Mahlon here at Danga had the same problem last night (he runs FreeBSD as
well). I'm looking into it now.
On Wed, 22 Oct 2003, Sara Sioux wrote:
> Dear List,
> I am currently trying to implement memcached in a testing environment to
> see how it performs on my website www.melodramatic.com. I've been
> having terrible speed and db overload issues, so I'm hoping memcached
> will help in this respect.
> Unfortunately, implementation is a nightmare!
> After finally getting libevent and memcached to act like they've been
> installed correctly, I try running memcached with the following command
> memcached -vv -d -m 512 -l 10.0.0.100 -p 1337
> It returns immediately with:
> <3 server listening
> memcached: kevent: Bad file descriptor
> Now, the error seems simple enough, but I cannot for the life of me
> figure out what I need to do in order to have a good file descriptor in
> this situation. I haven't found any documentation or similar threads to
> help explain what I've done wrong. Something tells me it's a problem
> with how I configured libevent, but I have been unable through trial and
> error to figure out how I should be configuring libevent differently.
> I'm attempting to install this on a FreeBSD 5.0-RELEASE-p4 system. Any
> help and suggestions would be HUGELY appreciated.
> Much Love,