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

From: Henrik K <hege_at_hege.li>
Date: Wed, 17 Mar 2010 15:01:52 +0200

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...

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.
Received on Wed Mar 17 2010 - 13:01:56 MDT

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