[MacPorts] #14076: BUG: squid fails to detect max open files on Leopard

MacPorts trac at macosforge.org
Fri Jan 25 22:06:09 PST 2008


#14076: BUG: squid fails to detect max open files on Leopard
--------------------------------------+-------------------------------------
 Reporter:  josh+macports at root.id.au  |       Owner:  macports-tickets at 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


More information about the macports-tickets mailing list