Search squid archive

Re: limit squid memory ram use - squid becomes slow when ram full

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

 



>
>  Given those cache sizes, your Squid box should be using around 110 MB
of RAM for index plus a little. Even assuming a worst-case of a minutes
traffic accumulated in transit buffers comes nowhere close to filling
16
>  GB up.
>
>  Some questions that may help narrow down where the slow is coming from:
>   What version of Squid is this?
>   What are your avg object size?
>   How many concurrent client connections?
>   "slow" and "normal" response speeds?
>   Do you notice any change in the Squid->Internet request types during
>  the slowdown? (ie a move to extra MISS/HIT/IMS/REFRESH)
>
>  And like Michael said the disk IO stats are important to look at. When
the cache_dir gets to 94% full it will start spending CPU and disk
cycles on erasing objects. If it reaches 95% a larger portion of cycles
get used until it drops down below 94% again.
>
>
>  Amos
_______________________________________________________________________
>

Hi Amos

Thanks a lot to all for the help.

I'm suspecting now that is a problem of I / O. The cache is on the same
disk that the system, I'll try to put it on a second disc or distributed
between two disks.

I followed exactly this tutorial (in Portuguese):

http://www.vivaolinux.com.br/artigo/Squid-+-Bridge-+-TProxy-no-CentOS-5.4/

Kernel: 2.6.30.10
Squid: 3.1.1
iptables: 1.4.3

All compiled from sources.

>   How many concurrent client connections?
>   "slow" and "normal" response speeds?
>   Do you notice any change in the Squid->Internet request types during
>  the slowdown? (ie a move to extra MISS/HIT/IMS/REFRESH)

How to I know those values ?

Thanks again.

roberto







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

  Powered by Linux