Search squid archive

Re: High CPU usage and degraded service time after 2 weeks of activity

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

 



On Mon, Jun 16, 2008, Anthony Tonns wrote:

> CentOS is Linux ;-) so I will look into getting oprofile setup in our
> sandbox environment and hammering away as a first step.

Ok.

> Also, what do you consider "lots" of regex rules? I have about 20 or so
> rules that match on req_header with a regex of .* (i.e. does this header
> exist) and then around 150 lines in some files that match Via and
> User-Agent headers.

That might qualify as a lot.

> A quick search for "squid gnumalloc regex", etc. etc. didn't yield too
> many useful results. Can you clue me into the problems (and solutions!)
> you're referring to? Is it gnumalloc or the regex that is the problem?
> Is dlmalloc the solution?

The problem was gnumalloc + gnuregex + time == fail.

The solution was Google malloc; but I'd really suggest you hook up oprofile
first to see where the CPU is going before you try another malloc.
No, dlmalloc isn't the solution. :)



Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -

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

  Powered by Linux