Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 280666

Summary: [patch] net-proxy/squid - squid.inird changes for epoll
Product: Gentoo Linux Reporter: Denis Kaganovich <mahatma>
Component: New packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: squid.initd epoll fix

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!