FW: [squid-users] running out of filedescriptors

From: Jacobi Michael CRPH <JacobiM@dont-contact.us>
Date: Tue, 5 Nov 2002 19:50:59 -0500

-----Original Message-----
From: Jacobi Michael CRPH
Sent: Tuesday, November 05, 2002 7:45 PM
To: 'Lightfoot.Michael'
Subject: RE: [squid-users] running out of filedescriptors

If I get this correctly, all I have to do is to change the entry in TYPES.H to 4096 or greater, recompile squid, make sure that when squid is run the process has at least 4096 file descriptors and all should be fine... Right?

Mike Jacobi

-----Original Message-----
From: Lightfoot.Michael [mailto:Lightfoot.Michael@comcare.gov.au]
Sent: Tuesday, November 05, 2002 7:04 PM
To: Jacobi Michael CRPH; squid-users@squid-cache.org
Subject: RE: [squid-users] running out of filedescriptors

Be aware that no matter how many FDs that are available on the
production system, if you compiled squid on a system that has only 1024
FDs then that will be what it will compile with.

I ran into this problem at another site where our dev system only had
1024 FDs and I had to hack types.h (as Brian suggests) to set it to 4096
for some of our systems.

You should also remember that unless squid is compiled with
--enable-poll it will use select() which is restricted to 1024 FDs.
Recent squid versions all use poll() by default.

Perhaps it is time to suggest that there be a configure option
--with-filedes=nn so that we don't have to hack types.h?

Michael Lightfoot
Unix Consultant
ISG Host Systems
Comcare
+61 2 62750680
Apologies for the rubbish that follows...
------------------------------------------------------------------------
NOTICE: This e-mail message and attachments may contain confidential
information. If you are not the intended recipient you should not use or
disclose any information in the message or attachments. If received in
error, please notify the sender by return email immediately. Comcare
does not waive any confidentiality or privilege.

Comcare's Canberra and Melbourne offices have moved to new premises.

We hope this notice makes it easier for you to update your records.
 
New street addresses:
 
Canberra office
Level 1
14 Moore street
CANBERRA CITY ACT 2601

Melbourne Office
Level 2
121 William Street
MELBOURNE VIC 3001
Claims Fax Number 03 9620 4721

Please call Comcare on 1300 366 979 if you have any queries.
Received on Tue Nov 05 2002 - 17:51:43 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:10 MST