RE: [squid-users] squid stop responding

From: Alex <o_again2004@dont-contact.us>
Date: Tue, 15 Mar 2005 22:56:50 +1100

Dear Sumith,
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?

Thnx in advanced,
Alex
------------------------------------------

Dear Sumith,
Please note below the cache_mem configuration on my squid.conf
configuration, regarding the the ulimit-HSn 2048 TAG and the
mx_open_disk_fds TAG
can you please tell me what is the use of these tags, and if there is
anything wrong with my configuration shown below kindly correct me.

#Memory the Squid will use. Well, Squid will use far more than that.
cache_mem 128 MB
#250 means that Squid will use 250 megabytes of disk space.
cache_dir ufs /cache 1500 32 512

Regards,
Alex

Sumith Gamage <sumith@cse.mrt.ac.lk> wrote:
  Dear Alex,

> and when the
> hits increased on my squid box it stops responding!!
> can you please let me know whats wrong?

  One of the reason we came across similar problem is that the limitation
  of file descriptors of the system. At the same time it might give
  problems due insufficient allocation of memory for the Squid process.

  Please try by allocating some additional memory by using "cache_mem"
  TAG.

  At the same time you may try to allocate more file descriptors before
  start Squid server. This can be done using "max_open_disk_fds" TAG. In
  addition to that you can allocate more file descriptors at the shell
  level by using following command.

  "ulimit -HSn 2048"

  But for more clearity make sure to check the log files. Sometimes you
  might get better hint for the problem there.

  Regards,
  Sumith
Received on Tue Mar 15 2005 - 04:51:45 MST

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