Ticket #14076 (closed defect: fixed)
BUG: squid fails to detect max open files on Leopard
| Reported by: | josh+macports@… | Owned by: | mww@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
The behaviour of setrusage has changed in Leopard. It will now return an error when called the way squid's configure script does. That makes squid use its rather low default of a maximum of 256 files open at once. The attached patch fixes the problem in the way suggested by the setrusage man page. The change is harmless on pre-Leopard versions of OS X.
I've also opened a bug upstream: http://www.squid-cache.org/bugs/show_bug.cgi?id=2204
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


