"Fritze, Stefan" wrote:
>
> Hi all,
>
> i´m running squid for webaccess of round 500 users. it runs very good for
> about 12 month. since this weekend i get the following problem. Users get
> the Error Page with the information "Socked failure". into the cache_log i
> see this ...
You may have run into some kernel resource exhausting
related problem.
Check available kernel parameters concerning, socket buffer space
in free bsd.
Perhaps some of them need tweaking.
M.
>
> 2002/11/25 08:47:25| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:25| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:25| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:26| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:26| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:26| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:34| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:34| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:36| comm_open: socket failure: (55) No buffer space
> available
> FATAL: Received Segment Violation...dying.
> 2002/11/25 08:47:36| storeDirWriteCleanLogs: Starting...
> 2002/11/25 08:47:36| WARNING: Closing open FD 26
> 2002/11/25 08:47:36| 65536 entries written so far.
> 2002/11/25 08:47:36| 131072 entries written so far.
> 2002/11/25 08:47:36| 196608 entries written so far.
> 2002/11/25 08:47:36| 262144 entries written so far.
> 2002/11/25 08:47:37| 327680 entries written so far.
> 2002/11/25 08:47:37| Finished. Wrote 387904 entries.
> 2002/11/25 08:47:37| Took 1.0 seconds (402211.9 entries/sec).
> CPU Usage: 12.472 seconds = 7.777 user + 4.694 sys
> Maximum Resident Size: 44812 KB
> Page faults with physical i/o: 0
> 2002/11/25 08:47:47| Starting Squid Cache version 2.4.STABLE6 for
> i386-unknown-freebsd4.4...
> 2002/11/25 08:47:47| Process ID 1060
> 2002/11/25 08:47:47| With 1064 file descriptors available
> 2002/11/25 08:47:47| Performing DNS Tests...
> 2002/11/25 08:47:47| Successful DNS name lookup tests...
> 2002/11/25 08:47:47| helperOpenServers: Starting 10 'dnsserver' processes
> 2002/11/25 08:47:47| helperOpenServers: Starting 5 'ncsa_auth' processes
> 2002/11/25 08:47:47| Unlinkd pipe opened on FD 24
> 2002/11/25 08:47:47| Swap maxSize 5120000 KB, estimated 393846 objects
> 2002/11/25 08:47:47| Target number of buckets: 19692
> 2002/11/25 08:47:47| Using 32768 Store buckets
> 2002/11/25 08:47:47| Max Mem size: 131072 KB
> 2002/11/25 08:47:47| Max Swap size: 5120000 KB
> 2002/11/25 08:47:47| Rebuilding storage in /proxy/squid/cache (CLEAN)
> 2002/11/25 08:47:47| Using Least Load store dir selection
> 2002/11/25 08:47:47| Set Current Directory to /proxy/squid/cache
> 2002/11/25 08:47:47| Loaded Icons.
> 2002/11/25 08:47:47| Accepting HTTP connections at 0.0.0.0, port 81, FD 26.
> 2002/11/25 08:47:47| Accepting HTTP connections at 0.0.0.0, port 443, FD 27.
> 2002/11/25 08:47:47| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
> 2002/11/25 08:47:47| WCCP Disabled.
> 2002/11/25 08:47:47| Ready to serve requests.
> 2002/11/25 08:47:47| Store rebuilding is 1.1% complete
> 2002/11/25 08:47:50| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:50| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:50| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:50| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:50| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:50| comm_open: socket failure: (55) No buffer space
> available
> 2002/11/25 08:47:51| comm_open: socket failure: (55) No buffer space
> available
> FATAL: Received Segment Violation...dying.
> 2002/11/25 08:47:51| Not currently OK to rewrite swap log.
> 2002/11/25 08:47:51| storeDirWriteCleanLogs: Operation aborted.
> CPU Usage: 3.345 seconds = 1.837 user + 1.508 sys
> Maximum Resident Size: 22208 KB
> Page faults with physical i/o: 0
> 2002/11/25 08:48:01| Starting Squid Cache version 2.4.STABLE6 for
> i386-unknown-freebsd4.4...
> 2002/11/25 08:48:01| Process ID 1085
> 2002/11/25 08:48:01| With 1064 file descriptors available
> 2002/11/25 08:48:01| Performing DNS Tests...
> 2002/11/25 08:48:01| Successful DNS name lookup tests...
> 2002/11/25 08:48:01| helperOpenServers: Starting 10 'dnsserver' processes
> 2002/11/25 08:48:01| helperOpenServers: Starting 5 'ncsa_auth' processes
> 2002/11/25 08:48:01| Unlinkd pipe opened on FD 24
> 2002/11/25 08:48:01| Swap maxSize 5120000 KB, estimated 393846 objects
> 2002/11/25 08:48:01| Target number of buckets: 19692
> 2002/11/25 08:48:01| Using 32768 Store buckets
> 2002/11/25 08:48:01| Max Mem size: 131072 KB
> 2002/11/25 08:48:01| Max Swap size: 5120000 KB
> 2002/11/25 08:48:01| Rebuilding storage in /proxy/squid/cache (DIRTY)
> 2002/11/25 08:48:01| Using Least Load store dir selection
> 2002/11/25 08:48:01| Set Current Directory to /proxy/squid/cache
> 2002/11/25 08:48:01| Loaded Icons.
> 2002/11/25 08:48:01| Accepting HTTP connections at 0.0.0.0, port 81, FD 26.
> 2002/11/25 08:48:01| Accepting HTTP connections at 0.0.0.0, port 443, FD 27.
> 2002/11/25 08:48:01| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
> 2002/11/25 08:48:01| WCCP Disabled.
> 2002/11/25 08:48:01| Ready to serve requests.
> 2002/11/25 08:48:01| Store rebuilding is 1.1% complete
> 2002/11/25 08:48:02| comm_open: socket failure: (55) No buffer space
> available
> FATAL: Received Segment Violation...dying.
> 2002/11/25 08:48:02| Not currently OK to rewrite swap log.
> 2002/11/25 08:48:02| storeDirWriteCleanLogs: Operation aborted.
> CPU Usage: 0.534 seconds = 0.295 user + 0.239 sys
> Maximum Resident Size: 8700 KB
> Page faults with physical i/o: 0
> 2002/11/25 08:48:12| Starting Squid Cache version 2.4.STABLE6 for
> i386-unknown-freebsd4.4...
> 2002/11/25 08:48:12| Process ID 1110
> 2002/11/25 08:48:12| With 1064 file descriptors available
> 2002/11/25 08:48:12| Performing DNS Tests...
> 2002/11/25 08:48:12| Successful DNS name lookup tests...
> 2002/11/25 08:48:12| helperOpenServers: Starting 10 'dnsserver' processes
> 2002/11/25 08:48:12| helperOpenServers: Starting 5 'ncsa_auth' processes
> 2002/11/25 08:48:12| Unlinkd pipe opened on FD 24
> 2002/11/25 08:48:12| Swap maxSize 5120000 KB, estimated 393846 objects
> 2002/11/25 08:48:12| Target number of buckets: 19692
> 2002/11/25 08:48:12| Using 32768 Store buckets
> 2002/11/25 08:48:12| Max Mem size: 131072 KB
> 2002/11/25 08:48:12| Max Swap size: 5120000 KB
> 2002/11/25 08:48:12| Rebuilding storage in /proxy/squid/cache (DIRTY)
> 2002/11/25 08:48:12| Using Least Load store dir selection
> 2002/11/25 08:48:12| Set Current Directory to /proxy/squid/cache
> 2002/11/25 08:48:12| Loaded Icons.
> 2002/11/25 08:48:12| Accepting HTTP connections at 0.0.0.0, port 81, FD 26.
> 2002/11/25 08:48:12| Accepting HTTP connections at 0.0.0.0, port 443, FD 27.
> 2002/11/25 08:48:12| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
> 2002/11/25 08:48:12| WCCP Disabled.
> 2002/11/25 08:48:12| Ready to serve requests.
> 2002/11/25 08:48:12| Store rebuilding is 1.1% complete
> 2002/11/25 08:48:16| comm_open: socket failure: (55) No buffer space
> available
> FATAL: Received Segment Violation...dying.
> 2002/11/25 08:48:16| Not currently OK to rewrite swap log.
> 2002/11/25 08:48:16| storeDirWriteCleanLogs: Operation aborted.
> CPU Usage: 3.960 seconds = 2.188 user + 1.771 sys
> Maximum Resident Size: 25332 KB
> Page faults with physical i/o: 0
> 2002/11/25 08:48:26| Starting Squid Cache version 2.4.STABLE6 for
> i386-unknown-freebsd4.4...
> 2002/11/25 08:48:26| Process ID 1135
> 2002/11/25 08:48:26| With 1064 file descriptors available
> 2002/11/25 08:48:26| Performing DNS Tests...
> 2002/11/25 08:48:26| Successful DNS name lookup tests...
> 2002/11/25 08:48:26| helperOpenServers: Starting 10 'dnsserver' processes
> 2002/11/25 08:48:26| helperOpenServers: Starting 5 'ncsa_auth' processes
> 2002/11/25 08:48:26| Unlinkd pipe opened on FD 24
> 2002/11/25 08:48:26| Swap maxSize 5120000 KB, estimated 393846 objects
> 2002/11/25 08:48:26| Target number of buckets: 19692
> 2002/11/25 08:48:26| Using 32768 Store buckets
> 2002/11/25 08:48:26| Max Mem size: 131072 KB
> 2002/11/25 08:48:26| Max Swap size: 5120000 KB
> 2002/11/25 08:48:26| Rebuilding storage in /proxy/squid/cache (DIRTY)
> 2002/11/25 08:48:26| Using Least Load store dir selection
> 2002/11/25 08:48:26| Set Current Directory to /proxy/squid/cache
> 2002/11/25 08:48:26| Loaded Icons.
> 2002/11/25 08:48:26| Accepting HTTP connections at 0.0.0.0, port 81, FD 26.
> 2002/11/25 08:48:26| Accepting HTTP connections at 0.0.0.0, port 443, FD 27.
> 2002/11/25 08:48:26| Accepting ICP messages at 0.0.0.0, port 3130, FD 28.
> 2002/11/25 08:48:26| WCCP Disabled.
> 2002/11/25 08:48:26| Ready to serve requests.
> 2002/11/25 08:48:26| Store rebuilding is 1.1% complete
>
> and this is my squid.conf
> # DLE-GER Squid Config DLEPRX01 Squid 2.4 STABLE6
> http_port 81
> http_port 443
> #
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
> cache_mem 128 MB
> maximum_object_size 4096 KB
> ipcache_size 4096
> cache_dir ufs /proxy/squid/cachedir 5000 16 256
> cache_access_log /usr/local/squid/logs/access.log
> cache_log /usr/local/squid/logs/cache.log
> cache_store_log /usr/local/squid/logs/store.log
> pid_filename /var/run/squid.pid
> ftp_user ftp@diamondlink.com
> dns_children 10
> dns_defnames on
> dns_nameservers 10.226.120.132 212.121.128.10 212.121.128.11
> authenticate_program /usr/local/bin/ncsa_auth /usr/local/etc/passwd
> authenticate_children 5
> request_body_max_size 0 MB
> #
> # DLE Access Control Lists
> #
> acl all src 0.0.0.0/0.0.0.0
> acl toptools src 10.226.120.66/255.255.255.255
> acl manager proto cache_object
> acl manageruser proxy_auth zsfe zmwo zkws zdkb zchaggarj zgce
> acl SSL_ports port 443 563 11005
> acl Safe_ports port 80 81 # http
> acl Safe_ports port 21 # ftp
> acl Safe_ports port 443 563 # https, snews
> acl Safe_ports port 70 # gopher
> acl Safe_ports port 119 # news over http
> acl Safe_ports port 210 # wais
> acl Safe_ports port 1024-65535 # unregistered ports
> acl Safe_ports port 280 # http-mgmt
> acl Safe_ports port 488 # gss-http
> acl Safe_ports port 591 # filemaker
> acl Safe_ports port 777 # multiling http
> acl CONNECT method CONNECT
> acl noauth_nets dst 10.0.0.0/8 192.168.0.0/16 133.229.0.0/16
> acl password proxy_auth REQUIRED
> acl victoriauser proxy_auth cabn
> acl badurl url_regex -i "/usr/local/etc/squid/badurl.conf"
> acl victoria url_regex -i "/usr/local/etc/squid/victoria.conf"
> acl worm urlpath_regex -i \.eml$
> acl fileupload req_mime_type -i ^multipart/form-data$
> #
> http_access allow manager manageruser
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
> http_access allow noauth_nets
> http_access deny badurl
> http_access deny worm
> http_access allow toptools
> http_access allow victoriauser victoria
> http_access deny victoria
> http_access allow password
> http_access allow fileupload
> http_access deny all
> icp_access allow all
> miss_access allow all
> #
> proxy_auth_realm DLE Internet Gateway Username/Password required
> logfile_rotate 7
> memory_pools off
>
> can anybody help me?
>
> Stefan
-- 'Time is a consequence of Matter thus General Relativity is a direct consequence of QM (M.E. Mar 2002)Received on Mon Nov 25 2002 - 05:45:50 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:33 MST