Re: [squid-users] file descriptor problem

From: Muthukumar <kmuthu_gct@dont-contact.us>
Date: Thu, 3 Jun 2004 18:25:43 +0530

> For some reason i am unable to mail replies to the list..it complains of
> my MIME version..however i can send my first mail .....strange (??)
>

It is a problem with your outlook express.
Go to Tools > options > send >
Change the mail sending format to Plain text.
Click the Plain text options and change to Uuencode from MIME version.

>
> I have compiled Squid 2.5 stable 5 on a Redhat 9 server
> Linux version 2.4.20-31.9smp (bhcompile@daffy.perf.redhat.com) (gcc
> version 3.2.2
> 20030222 (Red Hat Linux 3.2.2-5)) #1 SMP Tue Apr 13 17:40:10 EDT 2004
>
> but I get a msg saying
>

What is your default ulimit -HSn saying?

> checking for strerror... (cached) yes
> checking Default FD_SETSIZE value... 256
> checking Maximum number of filedescriptors we can open... 256
> WARNING: 256 may not be enough filedescriptors if your
>

If so stop the compilation. Change the #ulimit -Hsn XXXX
Then configure with the modifications,can you now get the changes on FD_SETSIZE value.
Are you configuring and compiling the squid with root permission?

> grep FD_SETSIZE typesizes.h
> #define __FD_SETSIZE 1024
> define __FD_SETSIZE 157272

what is your /proc/sys/net/ipv4/ip_local_port_range settings?
why you are going for this 157272 limit ?
It is enough to have 32768 or 32768*2 limit __FD_SETSIZE as the maximum requirement.

Regards,
Muthukumar.

---
===============  It is a "Virus Free Mail" ===============
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/2004
Received on Thu Jun 03 2004 - 06:56:11 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT