Libevent error 'Bad File Descriptor'
Wed, 22 Oct 2003 14:53:00 -0700
On Wednesday, Oct 22, 2003, at 14:37 US/Pacific, Sara Sioux wrote:
> memcached -vv -d -m 512 -l 10.0.0.100 -p 1337
> It returns immediately with:
> <3 server listening
> memcached: kevent: Bad file descriptor
> I'm attempting to install this on a FreeBSD 5.0-RELEASE-p4 system.=A0=20=
> Any help and suggestions would be HUGELY appreciated.
This seems to be related to how the open file descriptors get treated=20
by the fork to a background process. I posted a workaround which seems=20=
to work on FreeBSD 5.1-RELEASE yesterday, by forking before doing=20
Alternatively, you can just run it in the background without the -d=20
option and it should work fine.
-- brion vibber (brion @ pobox.com)=