Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280666 - [patch] net-proxy/squid - squid.inird changes for epoll
Summary: [patch] net-proxy/squid - squid.inird changes for epoll
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 16:42 UTC by Denis Kaganovich
Modified: 2009-08-16 11:04 UTC (History)
0 users

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


Attachments
squid.initd epoll fix (squid_fd_epoll.patch,786 bytes, patch)
2009-08-07 16:45 UTC, Denis Kaganovich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kaganovich 2009-08-07 16:42:50 UTC
To simplify epoll usage on kernel after 2.6.27 (needs to update /proc/sys/fs/epoll/max_user_watches like /proc/sys/fs/file-max) I suggest next patch. To solve cases when epoll needs to be restricted - handles updated only if squid compiled without "--disable-epoll". squid.inird patch attached next.

max_user_watches value may be calculated some else, but while no ideas how - let be equal. This is just work, "epoll" useflag may be changed to "+epoll" like squid default.

Reproducible: Always
Comment 1 Denis Kaganovich 2009-08-07 16:45:03 UTC
Created attachment 200516 [details, diff]
squid.initd epoll fix
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-08-16 11:04:07 UTC
Fixed in cvs w/o revbumps.

Thanks!