[MacPorts] #14076: BUG: squid fails to detect max open files on Leopard
#14076: BUG: squid fails to detect max open files on Leopard --------------------------------------+------------------------------------- Reporter: josh+macports@root.id.au | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | --------------------------------------+------------------------------------- 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 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14076> MacPorts </projects/macports> Ports system for Mac OS
#14076: BUG: squid fails to detect max open files on Leopard ---------------------------------------+------------------------------------ Reporter: josh+macports@root.id.au | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: mww@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => mww@macports.org Comment: Assigning to maintainer. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14076#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14076: BUG: squid fails to detect max open files on Leopard ---------------------------------------+------------------------------------ Reporter: josh+macports@root.id.au | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by jmr@macports.org): mww, is there a technical reason why this shouldn't be committed, or have you just been busy? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14076#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14076: BUG: squid fails to detect max open files on Leopard ---------------------------------------+------------------------------------ Reporter: josh+macports@root.id.au | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * status: new => closed * resolution: => fixed Comment: I went ahead and committed this fix in r34963, since the bug severely reduces squid's scalability on Leopard. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14076#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts