RE: [squid-users] File descriptor problem

From: Niti Lohwithee <[email protected]>
Date: Wed, 5 Mar 2003 09:19:49 +0700

Hi Henrik,

        Now, I am using squid2.3 stable 3 with Rehat 6.2. My hardware box is PIII 500 with 512 memory. The size of file-max is 32768, but it 's still warning messages which is WARNING! Your cache is running out of file descriptors.
        So, I would like to increase it for new machine which is P4 1.6 GM with 2 GM memory.

Please recommend me

Regards and Thank
Niti : )

        

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Tuesday, March 04, 2003 4:16 PM
To: Niti Lohwithee; squid-users@squid-cache.org
Subject: Re: [squid-users] File descriptor problem

Because this is how far configure is willing to test as using more
does not make much sense given todays Squid versions and available
hardware.

As discussed yesterday, you will run into other limits long before
32768 open filedescriptors is reached.

Why is it that you want to configure Squid with such extremely large
number of filedescriptors?

Regards
Henrik

On Tuesday 04 March 2003 09.48, Niti Lohwithee wrote:
> I 'm sorry for question last mail.
>
> My question is that the Maximum number of filedescriptors is not
> over 32768. Right?
>
> Regards and Thanks
> Niti : )
> -----Original Message-----
> From: Niti Lohwithee
> Sent: Tuesday, March 04, 2003 2:22 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] File descriptor problem
>
> Dear all
>
> I have plan to use squid2.5 stable1 with Redhat 7.2. Before I
> config squid,I specify file descriptor using ulimit as following.
>
> ulimit -u ulimited
> ulimit -n 150000
>
> The result is
>
> core file size (blocks) 0
> data seg size (kbytes) unlimited
> file size (blocks) unlimited
> max locked memory (kbytes) unlimited
> max memory size (kbytes) unlimited
> open files 150000
> pipe size (512 bytes) 8
> stack size (kbytes) 8192
> cpu time (seconds) unlimited
> max user processes unlimited
> virtual memory (kbytes) unlimited
>
> While I config squid, I found some message as below
>
> checking Default FD_SETSIZE value... 1024
> checking Maximum number of filedescriptors we can open... 32768
>
>
> Why FD_SETSIZE have value = 1024 ?
>
> Anyone advice me .
>
>
> Regards and Thank you
> Niti : )
Received on Tue Mar 04 2003 - 19:18:54 MST

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