Translated message

A translation of this page exists in English.

Squid は IPv6 をリッスンし続け、クライアントのアクセスが遅くなる

Solution Verified - Updated -

Issue

  • Squid は IPv6 をリッスンし続け、IPv6 が無効であることを sysctl が示す場合でも、インターネットにアクセスするクライアントは、'dns_retransmit_interval' のデフォルト値に基づいて 5 秒間の遅延を経験します。

以下の sysctl コマンドを実行すると、IPv6 が無効化されていることが表示されます。

# sysctl -a
net.ipv6.conf.default.disable_ipv6=1
net.ipv6.conf.all.disable_ipv6=1

以下の ss コマンドは、Squid が依然として tcp 3128 ポートで IPv6 をリッスンしていることを示しています。

# ss -tulpn | grep squid
tcp    LISTEN     0      128      :::3128                 :::*                   users:(("squid",pid=3095,fd=11))
  • sysctl コマンドが IPv6 の無効化を表示した後に "squid -k check" コマンドを実行すると、以下のメッセージが表示されます。
# squid -k check
WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.

Environment

  • Red Hat Enterprise Linux
  • Squid

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content