Re: [squid-users] epoll on squid 2.6.STABLE4-20061009 under linux

From: Marco Berizzi <pupilla@dont-contact.us>
Date: Fri, 20 Oct 2006 10:51:38 +0200

Henrik Nordstrom wrote:

>tor 2006-10-19 klockan 15:43 +0200 skrev Marco Berizzi:
>
> > Here is the strace. Clues?
>
>Looks very much like a borked libc.
>
>With a working libc the strace should look like
>
>getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
>setrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
>getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) =
>0
>mmap(NULL, 356352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
>= 0x2aaaaaac9000
>epoll_create(1024) = 3
>
>where = 3 is = ENOSYS if the kernel doesn't support epoll.
>
>(3 can also be another number depending on the configuration).
>
>Regards
>Henrik

thanks for the explanation.
JFYI: glibc is 2.3.4

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Received on Fri Oct 20 2006 - 02:51:45 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST