[squid-users] Re: commBind: Cannot bind socket FD 12 to *:3128

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 24 Oct 2003 10:31:18 +0200 (CEST)

PLEASE do not crosspost wildly on all the squid addresses you know. Just
posting to squid-users is sufficient.

On Fri, 24 Oct 2003 atpnettlinx@nettlinx.com wrote:

> 2003/10/25 05:37:00| commBind: Cannot bind socket FD 12 to *:3128: (98)
> Address
> already in use
> FATAL: Cannot open HTTP Port

This means that there is something having port 3128 active. Usually this
is caused by other software using the same port, but in some rare
situations it can also be caused by an old connection which is not yet
cleaned up by the TCP/IP stack after an uncontrolled restart of Squid.

To see what kinds of uses there is active for port 3128 you can use the
following command:

netstat -an -t | grep 3128

In the first case (LISTEN, CONNECTED etc) you need to find what
application is having the port open. For this purpose the lsof tool can be
used if it is not obvious from a ps listing.

In the second case (TIMEWAIT) the problem will go away automatically in a
few seconds.

Regards
Henrik

> Squid Cache (Version 2.5.STABLE1): Terminated abnormally.
> CPU Usage: 0.040 seconds = 0.030 user + 0.010 sys
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 457
> Memory usage for squid via mallinfo():
> total space in arena: 1932 KB
> Ordinary blocks: 1922 KB 2 blks
> Small blocks: 0 KB 1 blks
> Holding blocks: 1040 KB 3 blks
> Free Small blocks: 0 KB
> Free Ordinary blocks: 9 KB
> Total in use: 2962 KB 153%
> Total free: 9 KB 1%
>
> 2003/10/25 05:58:17| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 05:58:59| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:00:05| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:00:21| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:00:37| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:00:53| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:01:09| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:06:54| fqdncacheParse: No PTR record
> 2003/10/25 06:06:54| fqdncacheParse: No PTR record
> 2003/10/25 06:15:49| WARNING: 1 swapin MD5 mismatches
> 2003/10/25 06:16:53| WARNING! Your cache is running out of
> filedescriptors
> 2003/10/25 06:17:33| WARNING! Your cache is running out of
> filedescriptors
> after rebooting the system it will work again fine for few more hours.
>
> please i dont understand the problem. what is the problem??
>
Received on Fri Oct 24 2003 - 02:31:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:38 MST