Re: [squid-users] curious error log epoll related???

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 29 Aug 2006 17:35:27 +0800

It does seem like your kernel doesn't have epoll support compiled in.

Adrian

On Tue, Aug 29, 2006, Monty Ree wrote:
> Hello, all.
>
> When I execute squid it doesn't work.
>
> my system is centos 3.7(x86_64) kernel 2.6.17 / 2.6.18-rc5 (AMD-275)
> squid is 2.6 s2, s3 all same...
>
> strings /usr/local/squid/sbin/squid | grep epoll
> epoll_wait
> epoll_ctl
> epoll_create
> epoll ctl
> Using epoll for the IO loop
> comm_epoll.c
> comm_select_init: epoll_create(): %s
> IO loop method: epoll
> commSetEvents: epoll_ctl(%s): failed on fd=%d: %s
> comm_select: epoll failure: %s
>
> # squid -v
> '--enable-epoll' '--disable-poll' '--disable-select' '--enable-async-io'
> '--with-pthreads' '--enable-storeio=coss' '--enable-large-cache-files'
> '--enable-snmp' '--enable-coss-aio-ops' '--with-large-files'
> '--disable-ident-lookups' '--prefix=/usr/local/squid'
>
>
> below is cache.log.
> How to solve this?
>
>
> 2006/08/29 18:22:26| commSetEvents: epoll_ctl(EPOLL_CTL_ADD): failed on
> fd=13: (38) Function not implemented
> 2006/08/29 18:22:26| Accepting accelerated HTTP connections at 0.0.0.0,
> port 80, FD 13.
> 2006/08/29 18:22:26| commSetEvents: epoll_ctl(EPOLL_CTL_ADD): failed on
> fd=14: (38) Function not implemented
> 2006/08/29 18:22:26| Accepting ICP messages at 0.0.0.0, port 3130, FD 14.
> 2006/08/29 18:22:26| commSetEvents: epoll_ctl(EPOLL_CTL_ADD): failed on
> fd=15: (38) Function not implemented
> 2006/08/29 18:22:26| Select loop Error. Retry 10
> FATAL: Select Loop failed!
> Squid Cache (Version 2.6.STABLE3): Terminated abnormally.
> CPU Usage: 0.028 seconds = 0.008 user + 0.020 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> 2006/08/29 18:22:26| Not currently OK to rewrite swap log.
> 2006/08/29 18:22:26| storeDirWriteCleanLogs: Operation aborted.
>
> _________________________________________________________________
> Áõ±Ç Á¤º¸ °¡Àå ºü¸£°í ÆíÇÏ°Ô º¸½Ç ¼ö ÀÖ½À´Ï´Ù. MSN Áõ±Ç/ÅõÀÚ
> http://www.msn.co.kr/stock/
Received on Tue Aug 29 2006 - 03:35:28 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT