Search squid archive

Re: 3.2.0.13: Cannot bind socket FD 21 to [::]:22381: (98) Address already in use

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

 



Le lundi 24 octobre 2011 à 10:40 +0200, Fred B a écrit :
>                                De: 
> Fred B <fredbmail@xxxxxxx>
>                                 À: 
> squid-users@xxxxxxxxxxxxxxx
>                             Sujet: 
> Re:  3.2.0.13: Cannot
> bind socket FD 21 to [::]:22381:
> (98) Address already in use
>                              Date: 
> Mon, 24 Oct 2011 10:40:49 +0200
> (CEST)
> 
> 
> Hi David,
> 
> Please remove icp_port 
> 
> > Oct 24 09:35:32 prxysquid squid[3586]: assertion failed:
> > icp_v2.cc:778:
> > "Comm::IsConnOpen(icpOutgoingConn)"  -> maybe ICP Bug with workers ?
> 
> 
> ----- "David Touzeau" <david@xxxxxxxxxx> a écrit :
> 
> > Dear
> > 
> > I encounter many times this issue.
> > 
> > "Cannot bind socket FD 21 to [::]:xxxxx: (98) Address already in
> use"
> > 
> > Perhaps it is a misunderstand of the SMP working process.
> > I have 2 processors.
> > Is each worker try to bind the same Port/IP ?
> > 
> > 
> > 
> > 
> > Oct 24 09:35:31 prxysquid-squid squid[3586]: Starting Squid Cache
> > version 3.2.0.13-20111023-r11381 for i686-pc-linux-gnu...
> > Oct 24 09:35:31 prxysquid squid[3586]: Process ID 3586
> > Oct 24 09:35:31 prxysquid squid[3586]: Process Roles: worker
> > Oct 24 09:35:31 prxysquid squid[3586]: With 1024 file descriptors
> > available
> > Oct 24 09:35:31 prxysquid squid[3586]: Initializing IP Cache...
> > Oct 24 09:35:31 prxysquid squid[3586]: DNS Socket created at [::],
> FD
> > 8
> > Oct 24 09:35:31 prxysquid squid[3586]: DNS Socket created at
> 0.0.0.0,
> > FD
> > 9
> > Oct 24 09:35:31 prxysquid squid[3586]: Adding nameserver 192.168.1.1
> > from squid.conf
> > Oct 24 09:35:31 prxysquid squid[3586]: Logfile: opening log
> > daemon:/var/log/squid/access.log
> > Oct 24 09:35:31 prxysquid squid[3586]: Logfile Daemon: opening
> > log /var/log/squid/access.log
> > Oct 24 09:35:31 prxysquid squid[3586]: Logfile: opening log
> > daemon:/var/log/squid/sarg.log
> > Oct 24 09:35:31 prxysquid squid[3586]: Logfile Daemon: opening
> > log /var/log/squid/sarg.log
> > Oct 24 09:35:32 prxysquid squid[3586]: Unlinkd pipe opened on FD 17
> > Oct 24 09:35:32 prxysquid squid[3586]: Local cache digest enabled;
> > rebuild/rewrite every 3600/3600 sec
> > Oct 24 09:35:32 prxysquid squid[3586]: Logfile: opening log
> > stdio:/var/log/squid/store.log
> > Oct 24 09:35:32 prxysquid squid[3586]: Swap maxSize 2048000 + 8192
> > KB,
> > estimated 158168 objects
> > Oct 24 09:35:32 prxysquid squid[3586]: Target number of buckets:
> 7908
> > Oct 24 09:35:32 prxysquid squid[3586]: Using 8192 Store buckets
> > Oct 24 09:35:32 prxysquid squid[3586]: Max Mem  size: 8192 KB
> > Oct 24 09:35:32 prxysquid squid[3586]: Max Swap size: 2048000 KB
> > Oct 24 09:35:32 prxysquid squid[3586]: Version 1 of swap file with
> > LFS
> > support detected... 
> > Oct 24 09:35:32 prxysquid squid[3586]: Rebuilding storage
> > in /var/cache/squid (DIRTY)
> > Oct 24 09:35:32 prxysquid squid[3586]: Using Least Load store dir
> > selection
> > Oct 24 09:35:32 prxysquid squid[3586]: Set Current Directory
> > to /var/squid/cache
> > Oct 24 09:35:32 prxysquid squid[3586]: Loaded Icons.
> > Oct 24 09:35:32 prxysquid squid[3586]: commBind: Cannot bind socket
> > FD
> > 21 to [::]:22381: (98) Address already in use
> > Oct 24 09:35:32 prxysquid squid[3586]: HTCP Disabled.
> > Oct 24 09:35:32 prxysquid squid[3586]: Squid plugin modules loaded:
> 0
> > Oct 24 09:35:32 prxysquid squid[3586]: Adaptation support is on
> > Oct 24 09:35:32 prxysquid squid[3586]: Ready to serve requests.
> > Oct 24 09:35:32 prxysquid squid[3586]: Stop receiving ICP on
> > [::]:3130
> > Oct 24 09:35:32 prxysquid squid[3586]: assertion failed:
> > icp_v2.cc:778:
> > "Comm::IsConnOpen(icpOutgoingConn)"
> > Oct 24 09:35:32 prxysquid squid[3480]: Squid Parent: (squid-1)
> > process
> > 3586 exited due to signal 11 with status 0
> > Oct 24 09:35:32 prxysquid squid[3480]: Squid Parent: (squid-1)
> > process
> > 3586 will not be restarted due to repeated, frequent failures
> > Oct 24 09:35:32 prxysquid squid[3480]: Exiting due to repeated,
> > frequent
> > failures
> > Oct 24 09:35:32 prxysquid kernel: [145331.125748] squid[3586]:
> > segfault
> > at 40 ip 081b842c sp bfbab6b0 error 4 in squid[8048000+3d8000] 


I had removed icp_port but the problem still occur : 

notice that i have 

http_port 22381

perhaps it is an ipv6 issue ??

Oct 24 11:34:19 kprxy squid[19120]: Squid Parent: (squid-1) process
19554 exited with status 1
Oct 24 11:34:22 kprxy squid[19120]: Squid Parent: (squid-1) process
19567 started
Oct 24 11:34:22 kprxy squid[19567]: Starting Squid Cache version
3.2.0.13-20111023-r11381 for i686-pc-linux-gnu...
Oct 24 11:34:22 kprxy squid[19567]: Process ID 19567
Oct 24 11:34:22 kprxy squid[19567]: Process Roles: worker
Oct 24 11:34:22 kprxy squid[19567]: With 1024 file descriptors available
Oct 24 11:34:22 kprxy squid[19567]: Initializing IP Cache...
Oct 24 11:34:22 kprxy squid[19567]: DNS Socket created at [::], FD 8
Oct 24 11:34:22 kprxy squid[19567]: DNS Socket created at 0.0.0.0, FD 9
Oct 24 11:34:22 kprxy squid[19567]: Adding nameserver 192.168.1.1 from
squid.conf
Oct 24 11:34:22 kprxy squid[19567]: Logfile: opening log
daemon:/var/log/squid/access.log
Oct 24 11:34:22 kprxy squid[19567]: Logfile Daemon: opening
log /var/log/squid/access.log
Oct 24 11:34:22 kprxy squid[19567]: Logfile: opening log
daemon:/var/log/squid/sarg.log
Oct 24 11:34:22 kprxy squid[19567]: Logfile Daemon: opening
log /var/log/squid/sarg.log
Oct 24 11:34:22 kprxy squid[19567]: Unlinkd pipe opened on FD 17
Oct 24 11:34:22 kprxy squid[19567]: Local cache digest enabled;
rebuild/rewrite every 3600/3600 sec
Oct 24 11:34:22 kprxy squid[19567]: Logfile: opening log
stdio:/var/log/squid/store.log
Oct 24 11:34:22 kprxy squid[19567]: Swap maxSize 2048000 + 8192 KB,
estimated 158168 objects
Oct 24 11:34:22 kprxy squid[19567]: Target number of buckets: 7908
Oct 24 11:34:22 kprxy squid[19567]: Using 8192 Store buckets
Oct 24 11:34:22 kprxy squid[19567]: Max Mem  size: 8192 KB
Oct 24 11:34:22 kprxy squid[19567]: Max Swap size: 2048000 KB
Oct 24 11:34:22 kprxy squid[19567]: Version 1 of swap file with LFS
support detected... 
Oct 24 11:34:22 kprxy squid[19567]: Rebuilding storage
in /var/cache/squid (DIRTY)
Oct 24 11:34:22 kprxy squid[19567]: Using Least Load store dir selection
Oct 24 11:34:22 kprxy squid[19567]: Set Current Directory
to /var/squid/cache
Oct 24 11:34:22 kprxy squid[19567]: Loaded Icons.
Oct 24 11:34:22 kprxy squid[19567]: commBind: Cannot bind socket FD 21
to [::]:22381: (98) Address already in use
Oct 24 11:34:22 kprxy squid[19567]: HTCP Disabled.
Oct 24 11:34:22 kprxy squid[19567]: Squid plugin modules loaded: 0
Oct 24 11:34:22 kprxy squid[19567]: Adaptation support is on
Oct 24 11:34:22 kprxy squid[19567]: Ready to serve requests.
Oct 24 11:34:22 kprxy squid[19567]: Unable to open HTTP Socket
Oct 24 11:34:22 kprxy squid[19120]: Squid Parent: (squid-1) process
19567 exited with status 1
Oct 24 11:34:22 kprxy squid[19120]: Squid Parent: (squid-1) process
19567 will not be restarted due to repeated, frequent failures
Oct 24 11:34:22 kprxy squid[19120]: Exiting due to repeated, frequent
failures




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

  Powered by Linux