Search squid archive

RE: [squid-users] squid stop responding

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

 



> -----Original Message-----
> From: Alex [mailto:o_again2004@xxxxxxxxx]
> Cc: squid-users@xxxxxxxxxxxxxxx
> Subject: RE: [squid-users] squid stop responding
> 
> can you please let me know the details to compile my squid 
> with the ulimit -HSn option and in order to get rid of 
> this problem?
> 

Dear Alex,

Just write a script to start squid. Let's say squid_start.sh. Put
following lines in the script. 

# Setting number of file descriptors 
ulimit -HSn 2048 
# Assuming default location of squid installation 
exec /usr/local/squid/sbin/squid

Now use this script to start the squid server. This way you can set
number of file descriptors prier to start squid process. Sometimes you
might need super user privileges to access ulimit utility.

Remember that you do not need to do any thing at the squid compilation. 

If still the problem is there, this might be due to some other problem
(http://www.squid-cache.org/mail-archive/squid-users/200503/0454.html).
I am afraid then I can not help.

Good luck!

Sumith



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

  Powered by Linux