Search squid archive

Re: comm_select: kqueue event error: (9) Bad file descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 16, 2007, Tek Bahadur Limbu wrote:

> [snip stuff about kqueue and EBADF]

> Adrian may have answers regarding this messages?

Yup!

     [EBADF]            The specified descriptor is invalid.

IIRC, its because sometimes (under heavy loads) you'll end up hitting a minor
race condition where the FD has IO pending and in the list of updates and
then its close()d. What happens there ATM is its left in the list; its
passed to kevent which sees that FD is closed and returns that particular
error.

I know how to fix it, but its (as always) a question of time.
If someone would like to sponsor a few hundred dollars then I'll
add it to my queue of paid work and get around to it in, I hope,
a couple of weeks.

It -should- be cosmetic though. It shouldn't stop the processing of the
rest of the events in the list. I'd still like to get rid of it though
so there's absolutely no way it could interfere.



Adrian


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux