Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247488 - net-proxy/squid epoll problem (+ squid-3.1.0.2 ebuild on example)
Summary: net-proxy/squid epoll problem (+ squid-3.1.0.2 ebuild on example)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 19:51 UTC by Denis Kaganovich
Modified: 2008-12-08 17:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
squid-3.1.0.2.ebuild (squid-3.1.0.2.ebuild,6.15 KB, text/plain)
2008-11-18 19:53 UTC, Denis Kaganovich
Details
squid-3.1.0.2-gentoo.patch (squid-3.1.0.2-gentoo.patch,8.40 KB, patch)
2008-11-18 19:54 UTC, Denis Kaganovich
Details | Diff
squid-3.1.0.2.ebuild (squid-3.1.0.2.ebuild,6.50 KB, text/plain)
2008-11-19 15:01 UTC, Denis Kaganovich
Details
squid-3.1.0.2.20081119.ebuild (kerberos at least compiled) (squid-3.1.0.2.20081119.ebuild,6.55 KB, text/plain)
2008-11-19 20:40 UTC, Denis Kaganovich
Details
squid-3.1.0.2.20081119-gentoo.patch (squid-3.1.0.2.20081119-gentoo.patch,8.13 KB, patch)
2008-11-19 20:41 UTC, Denis Kaganovich
Details | Diff
squid-3.1.0.2.20081119.ebuild (squid-3.1.0.2.20081119.ebuild,6.75 KB, text/plain)
2008-11-20 16:00 UTC, Denis Kaganovich
Details
squid-3.1.0.2.20081119.ebuild (+locales) (squid-3.1.0.2.20081119.ebuild,7.17 KB, text/plain)
2008-11-21 14:57 UTC, Denis Kaganovich
Details
rename for at least 20081126 (but same unstable) (squid-3.1.0.2.20081119.ebuild,7.31 KB, text/plain)
2008-11-26 15:35 UTC, Denis Kaganovich
Details
squid-3.1.0.2.20081119.ebuild (squid-3.1.0.2.20081119.ebuild,7.31 KB, text/plain)
2008-11-26 15:56 UTC, Denis Kaganovich
Details
rename 20081119 patch (squid-3.1.0.2.20081127.ebuild,7.33 KB, text/plain)
2008-11-27 16:16 UTC, Denis Kaganovich
Details
Bugfix from cvs. May be (?) for releases too (I will no test). (squid3-cvs.patch,489 bytes, patch)
2008-11-27 16:18 UTC, Denis Kaganovich
Details | Diff
squid-3.1.0.2.20081127.ebuild (+deprecated locales) (squid-3.1.0.2.20081127.ebuild,8.46 KB, text/plain)
2008-11-27 20:30 UTC, Denis Kaganovich
Details
squid-3.1.0.2.20081129.ebuild (simplifyed, RC) (squid-3.1.0.2.20081129.ebuild,8.34 KB, text/plain)
2008-11-29 15:50 UTC, Denis Kaganovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kaganovich 2008-11-18 19:51:13 UTC
In latest environment epoll unstable or slow (kernel+glibc versions related? not too test). Suggested "epoll" to be moved into USE.

I am too complex changing environment - kernel+glibc, then not too sure. In 2.6.27 + glibc-2.8_p20080602 squid was dead sleep, in 2.6.28 + 2.7-r2 ("way to destruction") - only temporary light sleeps. Universal solution - "--disable-epoll". Squid - 2.7 & 3.0. Then I suggest to add "epoll" into USE flags and disable by default. There are squid-3.1.0.2 ebuild (without ZPH & kerberos) with USE example.

Reproducible: Always
Comment 1 Denis Kaganovich 2008-11-18 19:53:27 UTC
Created attachment 172293 [details]
squid-3.1.0.2.ebuild
Comment 2 Denis Kaganovich 2008-11-18 19:54:04 UTC
Created attachment 172294 [details, diff]
squid-3.1.0.2-gentoo.patch
Comment 3 Denis Kaganovich 2008-11-19 15:01:31 UTC
Created attachment 172379 [details]
squid-3.1.0.2.ebuild
Comment 4 Denis Kaganovich 2008-11-19 20:40:35 UTC
Created attachment 172413 [details]
squid-3.1.0.2.20081119.ebuild (kerberos at least compiled)
Comment 5 Denis Kaganovich 2008-11-19 20:41:33 UTC
Created attachment 172415 [details, diff]
squid-3.1.0.2.20081119-gentoo.patch
Comment 6 Denis Kaganovich 2008-11-20 16:00:26 UTC
Created attachment 172524 [details]
squid-3.1.0.2.20081119.ebuild
Comment 7 Denis Kaganovich 2008-11-21 14:57:23 UTC
Created attachment 172700 [details]
squid-3.1.0.2.20081119.ebuild (+locales)
Comment 8 Denis Kaganovich 2008-11-26 15:35:58 UTC
Created attachment 173476 [details]
rename for at least 20081126 (but same unstable)
Comment 9 Denis Kaganovich 2008-11-26 15:56:23 UTC
Created attachment 173478 [details]
squid-3.1.0.2.20081119.ebuild
Comment 10 Denis Kaganovich 2008-11-27 16:16:30 UTC
Created attachment 173596 [details]
rename 20081119 patch
Comment 11 Denis Kaganovich 2008-11-27 16:18:45 UTC
Created attachment 173597 [details, diff]
Bugfix from cvs. May be (?) for releases too  (I will no test).
Comment 12 Denis Kaganovich 2008-11-27 20:30:26 UTC
Created attachment 173609 [details]
squid-3.1.0.2.20081127.ebuild (+deprecated locales)
Comment 13 Denis Kaganovich 2008-11-29 15:50:24 UTC
Created attachment 173766 [details]
squid-3.1.0.2.20081129.ebuild (simplifyed, RC)
Comment 14 Alin Năstac (RETIRED) gentoo-dev 2008-11-30 19:23:32 UTC
Fixed in versions 2.7.5-r1 3.0.10-r1 by adding epoll and kqueue USE flags.
Comment 15 Denis Kaganovich 2008-12-08 17:59:16 UTC
Also fixed in latest kernel 2.6.28 (Dec 1 13:13:55 2008).
I use:
echo 8192 >/proc/sys/fs/epoll/max_user_watches

I am not sure in this (8192) value, just equal to max file handles. You may add this into squid startup script or calculate more correct value.