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

From: Agung T. Apriyanto <duppeh@dont-contact.us>
Date: Fri, 20 Oct 2006 09:09:15 -0700 (PDT)

> This is the configure output done on a new Slackware
> 11.0 (glibc 2.3.6):
> epoll isn't detected. Of course if I enforce it with
> --enable-epoll,
> squid will be built and run on slack 11. Not a
> problem for me, I only
> wonder why...

here's what i did with my slackware 11 :
first i use epoll patch for kernel 2.4.33.3 ( the
default kernel for slack 11 ) from
http://www.xmailserver.org/linux-patches/nio-improve.html
next i also download some epoll library source from
that website and copy them to /usr/lib
after that i compile using epoll support and it works.
i believe the problem that libepoll didn't exist even
there was epoll.h or eventpoll.h, i didn't know if
this libepoll already include with another kind of
linux, maybe someone that succeded using epoll with
other linux than slackware would like to share their
experience.

2006/10/18 08:33:10| Starting Squid Cache version
2.6.STABLE4-20061011 for i686-pc-linux-gnu...
2006/10/18 08:33:10| Process ID 1002
2006/10/18 08:33:10| With 8192 file descriptors
available
2006/10/18 08:33:10| Using epoll for the IO loop
2006/10/18 08:33:10| DNS Socket created at 0.0.0.0,
port 1026, FD 6
2006/10/18 08:33:10| Adding nameserver 203.x.x.x from
/etc/resolv.conf
2006/10/18 08:33:10| Swap maxSize 10752000 KB,
estimated 827076 objects
2006/10/18 08:33:10| Target number of buckets: 41353
2006/10/18 08:33:10| Using 65536 Store buckets
2006/10/18 08:33:10| Max Mem size: 12288 KB
2006/10/18 08:33:10| Max Swap size: 10752000 KB
2006/10/18 08:33:10| Local cache digest enabled;
rebuild/rewrite every 3600/3600 sec
2006/10/18 08:33:10| Store logging disabled
2006/10/18 08:33:10| Rebuilding storage in /cache/1
(CLEAN)
2006/10/18 08:33:10| Rebuilding storage in /cache/2
(CLEAN)
2006/10/18 08:33:10| Rebuilding storage in /cache/3
(CLEAN)
2006/10/18 08:33:10| Using Least Load store dir
selection
2006/10/18 08:33:10| Current Directory is /root

rgds,

Agung

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Fri Oct 20 2006 - 10:09:23 MDT

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