Re: select() efficiency / epoll

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

 



Jari Sundell wrote:

On 8/23/05, Davy Durham <[email protected]> wrote:
However, I'm getting segfaults because some pointers in places are
getting set to low integer values (which didn't used to have those values).

Is it possible that you are overwritting the pointers with file
descriptors, as those would have low integer values?

Yes, that is what I was thinking and is why I mentioned that. But I'm apparently not overwriting the pointers with FDs.. it seems that epoll is the cause at this point (unless I'm misusing the epoll API). I've made some changes to now use select() instead of epoll and things work flawlessly (although it obviously won't work as efficiently when I really connect a lot of clients to this server)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux