Re: [squid-users] Squid Crashes

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 29 Jul 2011 13:10:32 +1200

On 29/07/11 02:08, khalid touati wrote:
> Hi Guys,
> We are using squid (Squid Cache: Version 2.6.STABLE17) with
> dansguardian, I have a weird issue: squid is crashing and it's giving
> me this (but not sure wether these are logs due to errors or due to
> restaring squid because every time it fails i rush to restart it as it
> was a production server):
> FATAL: Cannot open HTTP Port
> Squid Cache (Version 2.6.STABLE17): Terminated abnormally.
> CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 0
> Memory usage for squid via mallinfo():
> total space in arena: 2391 KB
> Ordinary blocks: 2314 KB 2 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 1364 KB 3 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 77 KB
> Total in use: 3678 KB 98%
> Total free: 77 KB 2%
>
> is it an issue with lack of RAM?

This "FATAL: Cannot open HTTP Port" is from something already using the
port or the user you are running Squid as has no permissions to open it
(usually if its number is in the reserved services range 0-1024).

This might be the main problem if it is happening during reconfigure or
restart operations.

Could be any number of other things though 2.6.STABLE17 is several years
old now with many known crash bugs and vulnerabilities.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.10
Received on Fri Jul 29 2011 - 01:10:41 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 29 2011 - 12:00:03 MDT