Re: [IPCop-user] bug in relase 2.1.0 or 2.1.1: causes squid high cpu usage

Eric Oberlander <[email protected]> Sun, 16 Feb 2014 13:56:38 +0000
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <CAPkz44HsMfU6GSALN=26_s1Wky=HaT5P6uVJJxBa-SAJVY1PKA@mail.gmail.com>
Hi Davis

Thanks for the suggestions.

After running squid -N -D -d1 I get a load of error messages
ERROR: No forward-proxy ports configured.   followed by:
FATAL: No HTTP or HTTPS ports configured

Turning off 'transparent'  seems to reduce the number of 'no forward-proxy
ports configured' in the system logs, but caching is not happening.

I have a feeling I may have comprehensively broken squid on my machine, if
nobody else is seeing this.

Eric



On 15 February 2014 18:16, davis <[email protected]> wrote:

>  Hi Eric
>
>
>  It seams that the upgrade changed some conf.
>
>
>  Stop the proxy and run:
>
>  squid -N -D -d1
>  squid -k check
>  squid -z
>
>  /usr/local/bin/restartsquid
>
> The in url filter, change the source > save and to and instant update.
> Shalla Secure Services seams to work ok.
>
>  Regards,
>  RedOne
>
>
>  -----Original Message-----
> From: Eric Oberlander <[email protected]>
> To: davis <[email protected]>
> Date: Sat, 15 Feb 2014 17:05:22 +0000
> Subject: Re: [IPCop-user] bug in relase 2.1.0 or 2.1.1: causes squid high
> cpu usage
>
>   Hi
> I have a different proxy problem after upgrading to 2.1.1
> The proxy is running, and urlfilter is working, but I have a lot of
> "ERROR: No forward-proxy ports configured." in the proxy logs, and nothing
> seems to be in the cache? But, it could be my test box misbehaving. Anybody
> else see this behaviour?
>
> Eric
>
>
>
>  On 15 February 2014 10:21, davis <[email protected]> wrote:
>
>> Hello,
>>
>> First time I post as I never had a single problem in years...
>>
>> I patched with release 2.1.0 and 2.1.1 and rebooted.
>> I then got alerts from my syslog machine:
>> Feb 14 13:01:47 ipcop squid[3396]: xmalloc: Unable to allocate 1073741700
>> bytes!
>> Feb 14 09:01:09 ipcop squid[3343]: xmalloc: Unable to allocate 1073741700
>> bytes!
>> Feb 14 02:30:39 ipcop squid[7606]: xmalloc: Unable to allocate 536870788
>> bytes!
>> CPU is a 100% on SQUID
>> When I turn of the proxy, it comes back to normal.
>>
>> I DL the new ISO on IPCOP, burned it, took another machine and installed a
>> fresh version.
>> I Did not use any backup to ensure the test environment was clean.
>> Got the same issue. High cpu usage.
>> When I turn of the proxy, it comes back to normal.
>>
>> Thanks in advance for any help.
>>
>> RedOne
>>
>> ------------------------------------------------------------------------------
>> Android apps run on BlackBerry 10
>> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
>> Now with support for Jelly Bean, Bluetooth, Mapview and more.
>> Get your Android app in front of a whole new audience.  Start now.
>> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> IPCop-user mailing list
>>  [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ipcop-user
>
>
>

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk

_______________________________________________
IPCop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-devel