Re: [squid-users] file descriptor

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 24 Mar 2005 15:46:07 +0100 (CET)

On Thu, 24 Mar 2005, Alex wrote:

> im still not able to change the file descriptor in my squid box,
> i have found an article on the internet advising me to do the following :
>
> vi /usr/include/bits/types.h
> and then add the line
> # define __FD_SETSIZE 8192

Why did you edit this file? (no longer required).

> after that , i have saved the file, and put this command on the shell
> ulimit -HSn 8192

OK.

> then i have compiled the squid., anyway,, when i tail to the cache.log file i
> still see the file descriptor as 1024 which means the modification i made
> didnt take place.

Did you also set the ulimit before starting Squid?

All of this is explained in detail in the FAQ.

Regards
Henrik
Received on Thu Mar 24 2005 - 07:46:12 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST