Search squid archive

Re: squid consuming too much processor/cpu

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

 



On Fri, 2010-03-19 at 09:24 +0100, Matus UHLAR - fantomas wrote:
> > > On Wed, 2010-03-17 at 19:54 +1100, Ivan . wrote:
> > > > you might want to check out this thread
> > > >
> > > > http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/msg56216.html
> 
> > On Wed, Mar 17, 2010 at 11:09 PM, Muhammad Sharfuddin
> > <m.sharfuddin@xxxxxxxxxx> wrote:
> > > I checked, but its not clear to me
> > > do I need to install some packages/rpms ? and then ?
> > > I mean how can I resolve this issue
> 
> On 18.03.10 08:46, Ivan . wrote:
> > run a cron job to restart Squid once a week?
> 
> or simply not using tons ov regular expressions within squid access lists
> and leave the job to external program(s).

Thanks list for help.

restarting squid is not a solution, I noticed only after 20 minutes
after restarting, squid started consuming/eating CPU again.

On Wed, 2010-03-17 at 19:54 +1100, Ivan . wrote:
>you might want to check out this thread
>http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/msg56216.html
Neither I installed any package.. i.e not checked

On Wed, 2010-03-17 at 05:27 -0700, George Herbert wrote:
>or install the Google malloc library and recompile Squid to
>use it instead of default gcc malloc.

On Wed, 2010-03-17 at 15:01 +0200, 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.
Nor I re-compiled Squid, as I have to use binary/rpm version of squid
that shipped with the Distro I am using

issue resolved via removing acl that blocked almost 60K urls/domains

commenting following worked
##acl porn_deny url_regex "/etc/squid/domains.deny"
##http_access deny porn_deny

so how can I deny illegal contents/website ?


-- 
Regards
Muhammad Sharfuddin | NDS Technologies Pvt Ltd | +92-333-2144823

Novice: name a single major diff b/w Redhat and SUSE
GURU:   One is Red and the other one is Green



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

  Powered by Linux