Search squid archive

Re: [squid-users] file descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-------------------------------------------------------------------------
ok,, i will recompile the package now and see ,,
anyway, before i recompile the package im going to edit the include/autoconf.h in the squid directory to 8192 then i will recompile,,
im using squid 2.4 on red hat 9.0 ;) ... but this problem is killing me man !!


Thnx
Alex
--------------------------------------------------------------------------


You know Alex do us a favour and recompile.By the way which release are we dealing with here?Sorry to ask ;-) Regards Ronny Alex wrote:

-------------------------
Dear Ronny,
i stopped the service, restarted the whole server, after that i run
the command ulimit -HSn 8102 , after that i started the squid service
but still when i checked the cache.log file , i saw only 1024 as file
desripor.!!
i still need your help please.
Alex
------------------------------------


Alex wrote:

my squid stars with the following command
/opt/squid/bin/squid
i have added this line to the following file
/etc/rc.d/rc.local
i have also added the ulimit command to the same file, so that when
ever i reboot my machine this file will run before the squid
command.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Good during compiling you must have seen that the __FD_SETSIZE
number
was detected by the compiler right?
We have this setup too and as Henrik says just try and stop your
squid
after machine boots then
run the ulimit with your set number------->then start squid.Then
monitor
And please reply.
Ronny

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


but still i see 1024 in the cache.log file. anyway, can u please guide me solve this problem, and what is the

link

for the FAQ so that i can check it.
Regards,
Alex


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






--
***************************************************************************
/ ''We can't become what we need to be by remaining what we are''\
\ ,, ,,/
***************************************************************************




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux