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

From: Henrik Nordstrom <[email protected]>
Date: Fri, 20 Oct 2006 10:15:44 +0200

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

Received on Fri Oct 20 2006 - 02:15:50 MDT

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