Re: Linux:Cannot bind socket FD 63 to *:0: (98) Address already in use

From: Oskar Pearson <[email protected]>
Date: Tue, 15 Jul 1997 08:18:10 +0200

Hi

> I am getting these error messages 400 per day,
> I run squid-1.0.20 on Linux 2.0.30 + filehandle.patch.linux.7
> on a PentionPro 200 + 256 MB memory.

> Does anybody run squid on Linux with high load (>200k reqests)
> without these problems?
Yes - I have about 20 similar ones, all attempting to bind to port 0

The ones I have are these (smallish EG):
cache.log.0:97/07/14 08:58:33| commBind: Cannot bind socket FD 195 to 127.0.0.1:0: (98) Address already in use
cache.log.0:97/07/14 18:29:11| commBind: Cannot bind socket FD 165 to 127.0.0.1:0: (98) Address already in use

There are a couple more too... they all want to bind to port 0 on the
127.0.0.1 port. I don't have 127.0.0.* anywhere in the squid.conf other than
acls....

> If yes, please tell me your configuration!!!
Pretty straight forward - squid NOVM 10 with patch, 2.0.30 with
SYN flooding. I can send you configs or something if you want. the few
errors I do have don't make any difference to performance

> [12/Jul/1997:03:04:22 +0200] main.c:421: With 4096 file descriptors available
Interesting - this should be 3000... not 4096, methinks.

> [12/Jul/1997:03:04:22 +0200] main.c:317: Accepting ICP connections on FD 18.
> [12/Jul/1997:03:04:22 +0200] main.c:331: Accepting ICP connections on FD 19.
Interesting that it's binding to 2 icp sockets... have you patched this?

> [12/Jul/1997:10:28:15 +0200] comm.c:189: commBind: Cannot bind socket FD 27 to *:0: (98) Address already in use
> [12/Jul/1997:10:28:16 +0200] comm.c:189: commBind: Cannot bind socket FD 37 to *:0: (98) Address already in use
> [12/Jul/1997:10:28:17 +0200] comm.c:189: commBind: Cannot bind socket FD 40 to *:0: (98) Address already in use
> [12/Jul/1997:10:28:17 +0200] comm.c:189: commBind: Cannot bind socket FD 45 to *:0: (98) Address already in use

Interesting that the time difference is not like mine, mine are hours apart.

As far as I can see there should be no reason why squid is trying to bind
to port 0.... possible bug, Duane?

Oskar
Received on Mon Jul 14 1997 - 23:21:10 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:46 MST