Re: epoll on squid

From: Reuben Farrelly <reuben-squid-dev@dont-contact.us>
Date: Wed, 18 Dec 2002 01:05:34 +1100

Thanks, that fixed the compile problem. Slowly getting there now :)
However upon starting, it spits out an error message:

2002/12/18 00:51:21| Loaded Icons.
2002/12/18 00:51:21| commSetSelect: cpoll_ctl(,EPOLL_CTL_MOD,,) failed on
fd=14!: (0) Success
2002/12/18 00:51:21| Accepting HTTP connections at 203.29.67.170, port
3128, FD 14.
2002/12/18 00:51:21| commSetSelect: cpoll_ctl(,EPOLL_CTL_MOD,,) failed on
fd=15!: (0) Success
2002/12/18 00:51:21| Accepting ICP messages at 0.0.0.0, port 3130, FD 15.
2002/12/18 00:51:21| commSetSelect: cpoll_ctl(,EPOLL_CTL_MOD,,) failed on
fd=16!: (0) Success
2002/12/18 00:51:21| Accepting SNMP messages on port 3401, FD 16.
2002/12/18 00:51:21| commSetSelect: cpoll_ctl(,EPOLL_CTL_MOD,,) failed on
fd=17!: (0) Success
2002/12/18 00:51:21| Accepting WCCP messages on port 2048, FD 17.

and I can't retrieve any objects through it.
Occasionally in a squid -k debug I see these messages (but not many)

2002/12/18 00:54:53| Select loop Error. Retry 1

Upon shutting down squid I get this:

2002/12/18 00:58:32| FD 14 Closing HTTP connection
2002/12/18 00:58:32| commSetSelect: cpoll_ctl(,EPOLL_CTL_DEL,,) failed on
fd=14!: (107) Transport endpoint is not connected
2002/12/18 00:58:32| commSetSelect: cpoll_ctl(,EPOLL_CTL_DEL,,) failed on
fd=15!: (107) Transport endpoint is not connected
2002/12/18 00:58:32| commSetSelect: cpoll_ctl(,EPOLL_CTL_DEL,,) failed on
fd=16!: (107) Transport endpoint is not connected
2002/12/18 00:58:32| commSetSelect: cpoll_ctl(,EPOLL_CTL_DEL,,) failed on
fd=17!: (107) Transport endpoint is not connected
2002/12/18 00:59:03| Shutting down...

Reuben

At 05:02 PM 16/12/2002 -0500, David Nicklay wrote:

>I suspect what is hapenning is that you do not have '--disable-select
>--disable-poll' in your configure line. Unfortunately with the way
>configure in squid is setup right now, if you enable kqueue or epoll it
>will still try to enable select or poll. I will try to fix this, but
>for now I think specifically disabling select and poll should do it.
>
>On Fri, 2002-12-13 at 23:28, Reuben Farrelly wrote:
> > Ok, some progress. The two 'gotchas' I ran into were that:

-------------------------------------------------------------
Reuben Farrelly West Ryde, NSW 2114, Australia
Received on Tue Dec 17 2002 - 07:05:37 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:01 MST