Hello. I am using ipfire and the web-proxy for some years now. Today it squid came up with an error and is continously crashing. I hope to find some help here to solve the issue.
I am using the most recent IPFire 2.27 (x86_64) - Core Update 169.
The Web-Proxy log shows entries like the following:
10:19:49 squid[8464]: Squid Parent: (squid-1) process 9161 started
10:19:49 squid[8464]: Squid Parent: squid-1 process 9161 exited due to signal 6 with status 0
10:19:49 squid[8464]: Squid Parent: squid-1 process 9161 will not be restarted for 3600 seconds due to repeated, frequent failures
10:19:49 squid[8464]: Exiting due to repeated, frequent failures
When started via ssh with command squid -d 5 --foreground
I get the following output, including the potential error around dns-resolving with ip v6 addresses:
2022/09/12 17:41:01| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:41:01| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:41:01 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:41:01 kid1| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:41:01 kid1| Current Directory is /root
2022/09/12 17:41:01 kid1| Starting Squid Cache version 5.6 for x86_64-pc-linux-gnu...
2022/09/12 17:41:01 kid1| Service Name: squid
2022/09/12 17:41:01 kid1| Process ID 7151
2022/09/12 17:41:01 kid1| Process Roles: worker
2022/09/12 17:41:01 kid1| NOTICE: Could not increase the number of filedescriptors
2022/09/12 17:41:01 kid1| With 4096 file descriptors available
2022/09/12 17:41:01 kid1| Initializing IP Cache...
2022/09/12 17:41:01 kid1| DNS Socket created at 0.0.0.0, FD 7
2022/09/12 17:41:01 kid1| Adding domain xyz.org from /etc/resolv.conf
2022/09/12 17:41:01 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2022/09/12 17:41:01 kid1| helperOpenServers: Starting 4/4 'redirect_wrapper' processes
2022/09/12 17:41:01 kid1| Logfile: opening log /dev/null
2022/09/12 17:41:01 kid1| WARNING: log name now starts with a module name. Use 'stdio:/dev/null'
2022/09/12 17:41:01 kid1| Store logging disabled
2022/09/12 17:41:01 kid1| Swap maxSize 0 + 131072 KB, estimated 10082 objects
2022/09/12 17:41:01 kid1| Target number of buckets: 504
2022/09/12 17:41:01 kid1| Using 8192 Store buckets
2022/09/12 17:41:01 kid1| Max Mem size: 131072 KB
2022/09/12 17:41:01 kid1| Max Swap size: 0 KB
2022/09/12 17:41:01 kid1| Using Least Load store dir selection
2022/09/12 17:41:01 kid1| Current Directory is /root
2022/09/12 17:41:01 kid1| Finished loading MIME types and icons.
2022/09/12 17:41:01 kid1| HTCP Disabled.
2022/09/12 17:41:01 kid1| Squid plugin modules loaded: 0
2022/09/12 17:41:01 kid1| Adaptation support is off.
2022/09/12 17:41:01 kid1| Accepting HTTP Socket connections at conn10 local=192.168.10.1:3128 remote=[::] FD 17 flags=9
2022/09/12 17:41:02 kid1| storeLateRelease: released 0 objects
2022/09/12 17:48:21 kid1| DNS error while resolving ipv6.msftconnecttest.com: No valid address records
current master transaction: master1906
2022/09/12 17:48:21 kid1| DNS error while resolving ipv6.msftconnecttest.com: No valid address records
current master transaction: master1906
assert "false" at line 663
Ip::Address invalid? with isIPv4()=F, isIPv6()=T
ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(squid-1): Address.cc:663: void Ip::Address::getAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
2022/09/12 17:50:36 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:50:36 kid1| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Starting Squid Cache version 5.6 for x86_64-pc-linux-gnu...
2022/09/12 17:50:36 kid1| Service Name: squid
2022/09/12 17:50:36 kid1| Process ID 8185
2022/09/12 17:50:36 kid1| Process Roles: worker
2022/09/12 17:50:36 kid1| NOTICE: Could not increase the number of filedescriptors
2022/09/12 17:50:36 kid1| With 4096 file descriptors available
2022/09/12 17:50:36 kid1| Initializing IP Cache...
2022/09/12 17:50:36 kid1| DNS Socket created at 0.0.0.0, FD 7
2022/09/12 17:50:36 kid1| Adding domain xyz.org from /etc/resolv.conf
2022/09/12 17:50:36 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2022/09/12 17:50:36 kid1| helperOpenServers: Starting 4/4 'redirect_wrapper' processes
2022/09/12 17:50:36 kid1| Logfile: opening log /dev/null
2022/09/12 17:50:36 kid1| WARNING: log name now starts with a module name. Use 'stdio:/dev/null'
2022/09/12 17:50:36 kid1| Store logging disabled
2022/09/12 17:50:36 kid1| Swap maxSize 0 + 131072 KB, estimated 10082 objects
2022/09/12 17:50:36 kid1| Target number of buckets: 504
2022/09/12 17:50:36 kid1| Using 8192 Store buckets
2022/09/12 17:50:36 kid1| Max Mem size: 131072 KB
2022/09/12 17:50:36 kid1| Max Swap size: 0 KB
2022/09/12 17:50:36 kid1| Using Least Load store dir selection
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Finished loading MIME types and icons.
2022/09/12 17:50:36 kid1| HTCP Disabled.
2022/09/12 17:50:36 kid1| Squid plugin modules loaded: 0
2022/09/12 17:50:36 kid1| Adaptation support is off.
2022/09/12 17:50:36 kid1| Accepting HTTP Socket connections at conn10 local=192.168.10.1:3128 remote=[::] FD 17 flags=9
assert "false" at line 663
Ip::Address invalid? with isIPv4()=F, isIPv6()=T
ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(squid-1): Address.cc:663: void Ip::Address::getAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
2022/09/12 17:50:36 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:50:36 kid1| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Starting Squid Cache version 5.6 for x86_64-pc-linux-gnu...
2022/09/12 17:50:36 kid1| Service Name: squid
2022/09/12 17:50:36 kid1| Process ID 8195
2022/09/12 17:50:36 kid1| Process Roles: worker
2022/09/12 17:50:36 kid1| NOTICE: Could not increase the number of filedescriptors
2022/09/12 17:50:36 kid1| With 4096 file descriptors available
2022/09/12 17:50:36 kid1| Initializing IP Cache...
2022/09/12 17:50:36 kid1| DNS Socket created at 0.0.0.0, FD 7
2022/09/12 17:50:36 kid1| Adding domain xyz.org from /etc/resolv.conf
2022/09/12 17:50:36 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2022/09/12 17:50:36 kid1| helperOpenServers: Starting 4/4 'redirect_wrapper' processes
2022/09/12 17:50:36 kid1| Logfile: opening log /dev/null
2022/09/12 17:50:36 kid1| WARNING: log name now starts with a module name. Use 'stdio:/dev/null'
2022/09/12 17:50:36 kid1| Store logging disabled
2022/09/12 17:50:36 kid1| Swap maxSize 0 + 131072 KB, estimated 10082 objects
2022/09/12 17:50:36 kid1| Target number of buckets: 504
2022/09/12 17:50:36 kid1| Using 8192 Store buckets
2022/09/12 17:50:36 kid1| Max Mem size: 131072 KB
2022/09/12 17:50:36 kid1| Max Swap size: 0 KB
2022/09/12 17:50:36 kid1| Using Least Load store dir selection
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Finished loading MIME types and icons.
2022/09/12 17:50:36 kid1| HTCP Disabled.
2022/09/12 17:50:36 kid1| Squid plugin modules loaded: 0
2022/09/12 17:50:36 kid1| Adaptation support is off.
2022/09/12 17:50:36 kid1| Accepting HTTP Socket connections at conn10 local=192.168.10.1:3128 remote=[::] FD 17 flags=9
assert "false" at line 663
Ip::Address invalid? with isIPv4()=F, isIPv6()=T
ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(squid-1): Address.cc:663: void Ip::Address::getAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
2022/09/12 17:50:36 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:50:36 kid1| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Starting Squid Cache version 5.6 for x86_64-pc-linux-gnu...
2022/09/12 17:50:36 kid1| Service Name: squid
2022/09/12 17:50:36 kid1| Process ID 8205
2022/09/12 17:50:36 kid1| Process Roles: worker
2022/09/12 17:50:36 kid1| NOTICE: Could not increase the number of filedescriptors
2022/09/12 17:50:36 kid1| With 4096 file descriptors available
2022/09/12 17:50:36 kid1| Initializing IP Cache...
2022/09/12 17:50:36 kid1| DNS Socket created at 0.0.0.0, FD 7
2022/09/12 17:50:36 kid1| Adding domain xyz.org from /etc/resolv.conf
2022/09/12 17:50:36 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2022/09/12 17:50:36 kid1| helperOpenServers: Starting 4/4 'redirect_wrapper' processes
2022/09/12 17:50:36 kid1| Logfile: opening log /dev/null
2022/09/12 17:50:36 kid1| WARNING: log name now starts with a module name. Use 'stdio:/dev/null'
2022/09/12 17:50:36 kid1| Store logging disabled
2022/09/12 17:50:36 kid1| Swap maxSize 0 + 131072 KB, estimated 10082 objects
2022/09/12 17:50:36 kid1| Target number of buckets: 504
2022/09/12 17:50:36 kid1| Using 8192 Store buckets
2022/09/12 17:50:36 kid1| Max Mem size: 131072 KB
2022/09/12 17:50:36 kid1| Max Swap size: 0 KB
2022/09/12 17:50:36 kid1| Using Least Load store dir selection
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Finished loading MIME types and icons.
2022/09/12 17:50:36 kid1| HTCP Disabled.
2022/09/12 17:50:36 kid1| Squid plugin modules loaded: 0
2022/09/12 17:50:36 kid1| Adaptation support is off.
2022/09/12 17:50:36 kid1| Accepting HTTP Socket connections at conn10 local=192.168.10.1:3128 remote=[::] FD 17 flags=9
assert "false" at line 663
Ip::Address invalid? with isIPv4()=F, isIPv6()=T
ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(squid-1): Address.cc:663: void Ip::Address::getAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
2022/09/12 17:50:36 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:50:36 kid1| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Starting Squid Cache version 5.6 for x86_64-pc-linux-gnu...
2022/09/12 17:50:36 kid1| Service Name: squid
2022/09/12 17:50:36 kid1| Process ID 8215
2022/09/12 17:50:36 kid1| Process Roles: worker
2022/09/12 17:50:36 kid1| NOTICE: Could not increase the number of filedescriptors
2022/09/12 17:50:36 kid1| With 4096 file descriptors available
2022/09/12 17:50:36 kid1| Initializing IP Cache...
2022/09/12 17:50:36 kid1| DNS Socket created at 0.0.0.0, FD 7
2022/09/12 17:50:36 kid1| Adding domain xyz.org from /etc/resolv.conf
2022/09/12 17:50:36 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2022/09/12 17:50:36 kid1| helperOpenServers: Starting 4/4 'redirect_wrapper' processes
2022/09/12 17:50:36 kid1| Logfile: opening log /dev/null
2022/09/12 17:50:36 kid1| WARNING: log name now starts with a module name. Use 'stdio:/dev/null'
2022/09/12 17:50:36 kid1| Store logging disabled
2022/09/12 17:50:36 kid1| Swap maxSize 0 + 131072 KB, estimated 10082 objects
2022/09/12 17:50:36 kid1| Target number of buckets: 504
2022/09/12 17:50:36 kid1| Using 8192 Store buckets
2022/09/12 17:50:36 kid1| Max Mem size: 131072 KB
2022/09/12 17:50:36 kid1| Max Swap size: 0 KB
2022/09/12 17:50:36 kid1| Using Least Load store dir selection
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Finished loading MIME types and icons.
2022/09/12 17:50:36 kid1| HTCP Disabled.
2022/09/12 17:50:36 kid1| Squid plugin modules loaded: 0
2022/09/12 17:50:36 kid1| Adaptation support is off.
2022/09/12 17:50:36 kid1| Accepting HTTP Socket connections at conn10 local=192.168.10.1:3128 remote=[::] FD 17 flags=9
assert "false" at line 663
Ip::Address invalid? with isIPv4()=F, isIPv6()=T
ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(squid-1): Address.cc:663: void Ip::Address::getAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
2022/09/12 17:50:36 kid1| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2022/09/12 17:50:36 kid1| ERROR: setrlimit: RLIMIT_NOFILE: (1) Operation not permitted
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Starting Squid Cache version 5.6 for x86_64-pc-linux-gnu...
2022/09/12 17:50:36 kid1| Service Name: squid
2022/09/12 17:50:36 kid1| Process ID 8225
2022/09/12 17:50:36 kid1| Process Roles: worker
2022/09/12 17:50:36 kid1| NOTICE: Could not increase the number of filedescriptors
2022/09/12 17:50:36 kid1| With 4096 file descriptors available
2022/09/12 17:50:36 kid1| Initializing IP Cache...
2022/09/12 17:50:36 kid1| DNS Socket created at 0.0.0.0, FD 7
2022/09/12 17:50:36 kid1| Adding domain xyz.org from /etc/resolv.conf
2022/09/12 17:50:36 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2022/09/12 17:50:36 kid1| helperOpenServers: Starting 4/4 'redirect_wrapper' processes
2022/09/12 17:50:36 kid1| Logfile: opening log /dev/null
2022/09/12 17:50:36 kid1| WARNING: log name now starts with a module name. Use 'stdio:/dev/null'
2022/09/12 17:50:36 kid1| Store logging disabled
2022/09/12 17:50:36 kid1| Swap maxSize 0 + 131072 KB, estimated 10082 objects
2022/09/12 17:50:36 kid1| Target number of buckets: 504
2022/09/12 17:50:36 kid1| Using 8192 Store buckets
2022/09/12 17:50:36 kid1| Max Mem size: 131072 KB
2022/09/12 17:50:36 kid1| Max Swap size: 0 KB
2022/09/12 17:50:36 kid1| Using Least Load store dir selection
2022/09/12 17:50:36 kid1| Current Directory is /root
2022/09/12 17:50:36 kid1| Finished loading MIME types and icons.
2022/09/12 17:50:36 kid1| HTCP Disabled.
2022/09/12 17:50:36 kid1| Squid plugin modules loaded: 0
2022/09/12 17:50:36 kid1| Adaptation support is off.
2022/09/12 17:50:36 kid1| Accepting HTTP Socket connections at conn10 local=192.168.10.1:3128 remote=[::] FD 17 flags=9
assert "false" at line 663
Ip::Address invalid? with isIPv4()=F, isIPv6()=T
ADDRESS: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
(squid-1): Address.cc:663: void Ip::Address::getAddrInfo(addrinfo*&, int) const: Assertion `false' failed.
2022/09/12 17:50:37| Removing PID file (/var/run/squid.pid)
Thank you for your help!