RE: [squid-users] squid performance epoll. 350req/sec 100% cpu

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 24 May 2006 17:13:26 +0200

ons 2006-05-24 klockan 09:53 +0200 skrev Sommariva Graziano:
> On another linux system epoll does not complile:
> [root@netapp epoll-lib-0.11]# make
> gcc -g -I- -I./include -I/usr/src/linux/include -DUNIX -D_DEBUG -o lib/epoll.o -c ./src/epoll.c
> src/epoll.c: In function `epoll_create':
> src/epoll.c:28: `__NR_epoll_create' undeclared (first use in this function)
> src/epoll.c:28: (Each undeclared identifier is reported only once
> src/epoll.c:28: for each function it appears in.)
> src/epoll.c: In function `epoll_ctl':
> src/epoll.c:30: `__NR_epoll_ctl' undeclared (first use in this function)
> src/epoll.c: In function `epoll_wait':
> src/epoll.c:32: `__NR_epoll_wait' undeclared (first use in this function)
> make: *** [lib/epoll.o] Error 1
>
>
> Even thought I successfully built and installed libpcl-1.6.
>
> The system is:
> Linux 2.4.18-14smp #1 SMP Wed Sep 4 12:34:47 EDT 2002 i686 i686 i386 GNU/Linux

Your most likely does not support epoll, or is at least missing the
epoll include file.

epoll was added to the Linux kernel in 2.6.

Regards
Henrik

Received on Wed May 24 2006 - 09:13:42 MDT

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