Re: squid-3.0-PRE3-20031008 w epoll bug?

2003-10-15 Thread Robert Collins
On Thu, 2003-10-16 at 03:54, David Nicklay wrote: Hi, I have been looking at this in a little more detail now. Currently, I am using read_handler and write_handler as variables to make decisions about what epoll is interested in inside of the kernel. Now I can see that this is not a

Re: squid-3.0-PRE3-20031008 w epoll bug?

2003-10-14 Thread David Nicklay
Hi, The early epoll API was virtual impossible to write for, because it did not do an initial poll on new file descriptors you register an interest for, so it could not know about notifications that happened before then. I just about tore my hair out trying to code around that, and still had

Re: squid-3.0-PRE3-20031008 w epoll bug?

2003-10-14 Thread Gonzalo Arana
Hi, On Mon, 2003-10-13 at 09:37, Robert Collins wrote: On Sat, 2003-10-11 at 06:30, Gonzalo Arana wrote: Hi, (I'm back to squid-gzip task now). I come up to this situation: squid 3.0-PRE3-20031008 with epoll kernel 2.4.21 patched with

Re: squid-3.0-PRE3-20031008 w epoll bug?

2003-10-13 Thread Robert Collins
On Sat, 2003-10-11 at 06:30, Gonzalo Arana wrote: Hi, (I'm back to squid-gzip task now). I come up to this situation: squid 3.0-PRE3-20031008 with epoll kernel 2.4.21 patched with http://www.xmailserver.org/linux-patches/epoll-lt-2.4.21-0.18.diff When a client requests a very long

squid-3.0-PRE3-20031008 w epoll bug?

2003-10-10 Thread Gonzalo Arana
Hi, (I'm back to squid-gzip task now). I come up to this situation: squid 3.0-PRE3-20031008 with epoll kernel 2.4.21 patched with http://www.xmailserver.org/linux-patches/epoll-lt-2.4.21-0.18.diff When a client requests a very long object (such as a video), squid uses 100% of CPU. It was