Re: [squid-users] squid consuming too much processor/cpu

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Wed, 17 Mar 2010 14:07:33 +0100

> On Wed, Mar 17, 2010 at 05:27:26AM -0700, George Herbert wrote:
> > If it is that same gnu malloc issue on pattern matching, then a
> > restart of Squid should clear it up temporarily. It would
> > consistently appear after some time, after the restart, though.
> >
> > You could either automatically restart more often than that time
> > period, or install the Google malloc library and recompile Squid to
> > use it instead of default gcc malloc. One of these is easier than the
> > other...

On 17.03.10 15:01, Henrik K wrote:
> If the system regex is issue, wouldn't it be better/simpler to just compile
> with PCRE? (LDFLAGS="-lpcreposix -lpcre"). It doesn't leak and as a bonus
> makes your REs faster.

if the regexps are main issue, the best would be get rid of them as much as
possible.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved!
Received on Wed Mar 17 2010 - 13:07:42 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 17 2010 - 12:00:04 MDT