ECS:特定のノードへのログイン時または認証時に発生するレイテンシー
Summary: SSHを使用してシステムにログインするとき、またはリモート セッションの認証を必要とするコマンドを実行するときに、レイテンシーまたは応答の遅さが発生する。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
ノードにssh接続する場合、sudoを実行する場合、または認証を必要とするその他のコマンドを実行する場合、遅延が発生します。遅延の後、コマンドは正常に実行されます。 ノードの負荷は高くなく、アップタイムは通常の負荷平均を示します。
vvvを使用してssh接続に対して冗長性が有効になっている場合、「pledge: exec」の後にログイン遅延が発生します
例:
20+秒間一時停止した後、ログインは正常に続行されます
問題が発生しているノードでは、 dbus サービス ステータスを確認すると、タイムアウトが報告されます。
同様のタイムアウト メッセージが/var/log/messagesにあります
vvvを使用してssh接続に対して冗長性が有効になっている場合、「pledge: exec」の後にログイン遅延が発生します
例:
admin:~> ssh 169.254.1.2 -vvv OpenSSH_7.2p2, OpenSSL 1.0.2p-fips 14 Aug 2018 debug1: Reading configuration data /home/admin/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 25: Applying options for * debug2: resolving "169.254.1.2" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to 169.254.1.2 [169.254.1.2] port 22. debug1: Connection established. ... <truncated debugging> debug3: ssh_session2_open: channel_new: 0 debug2: channel 0: send open debug3: send packet: type 90 debug1: Requesting no-more-sessions@openssh.com debug3: send packet: type 80 debug1: Entering interactive session. debug1: pledge: exec
20+秒間一時停止した後、ログインは正常に続行されます
問題が発生しているノードでは、 dbus サービス ステータスを確認すると、タイムアウトが報告されます。
admin:~> sudo systemctl status dbus
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
Active: active (running) since Fri 2024-01-23 04:56:00 UTC; 1 months 2 days ago
Docs: man:dbus-daemon(1)
Main PID: 3060 (dbus-daemon)
Tasks: 1 (limit: 512)
Memory: 5.8M
CPU: 10h 45min 897ms
CGroup: /system.slice/dbus.service
└─3060 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:29:22 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30009ms)
Mar 22 18:29:24 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30002ms)
Mar 22 18:29:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:30:01 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
同様のタイムアウト メッセージが/var/log/messagesにあります
Cause
dbusサービスの接続制限に達したため、ログインや認証に遅延が発生します
Resolution
この問題は、dbusサービスを再起動し、プライマリー ノードの場合はdnsmasqサービスを再起動することで修正できます。予想される影響はありませんが、必要に応じてお客様の承認を得てください。
問題が発生しているノードから、次のコマンドを使用してdbusを再起動します。
コマンドが完了したら、次のコマンドを実行してdbusサービスのステータスを確認し、「アクティブ(実行中)」であることを確認します。
ノードがプライマリー ノード(通常はノード1)の場合は、次のコマンドを使用してdnsmasqを再起動する必要もあります。
dnsmasqを再起動した後、次のコマンドを使用して、サービスが「アクティブ(実行中)」であることを確認します。
サービスが再起動されたら、sshを使用するか、sudoコマンドを実行してノードへのアクセスをテストし、遅延が解消されたことを確認します。
問題が発生しているノードから、次のコマンドを使用してdbusを再起動します。
sudo systemctl restart dbus admin:~> sudo systemctl restart dbusこのコマンドからの出力は想定されていません。
コマンドが完了したら、次のコマンドを実行してdbusサービスのステータスを確認し、「アクティブ(実行中)」であることを確認します。
sudo systemctl status dbus
admin ~> sudo systemctl status dbus
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
Active: active (running) since Fri 2024-07-19 18:07:00 UTC; 5s ago
Docs: man:dbus-daemon(1)
Main PID: 19340 (dbus-daemon)
Tasks: 1 (limit: 512)
Memory: 884.0K
CPU: 22ms
CGroup: /system.slice/dbus.service
└─19340 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
ノードがプライマリー ノード(通常はノード1)の場合は、次のコマンドを使用してdnsmasqを再起動する必要もあります。
sudo systemctl restart dnsmasq admin:~> sudo systemctl restart dnsmasqこのコマンドからの出力は想定されていません。
dnsmasqを再起動した後、次のコマンドを使用して、サービスが「アクティブ(実行中)」であることを確認します。
sudo systemctl status dnsmasq
admin~> sudo systemctl status dnsmasq
● dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; disabled; vendor preset: disabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-insserv.conf-$named.conf
Active: active (running) since Fri 2024-07-19 18:14:47 UTC; 2s ago
Process: 61272 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 61297 (dnsmasq)
Tasks: 1 (limit: 512)
Memory: 2.1M
CPU: 8ms
CGroup: /system.slice/dnsmasq.service
└─61297 /usr/sbin/dnsmasq --log-async --enable-dbus --keep-in-foreground
サービスが再起動されたら、sshを使用するか、sudoコマンドを実行してノードへのアクセスをテストし、遅延が解消されたことを確認します。
Affected Products
ECS, ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Hardware Gen1 C-Series, ECS Appliance Hardware Gen2 C-Series, ECS Appliance Hardware Gen2 D-Series
, ECS Appliance Hardware Gen2 U-Series
...
Products
ECS Appliance Hardware Gen3 EX5000, ECS Appliance Hardware Gen3 EX300, ECS Appliance Hardware Gen3 EX3000, ECS Appliance Hardware Gen3 EX500, ECS Appliance Hardware Gen3 EXF900, ECS Appliance Hardware Series, ECS Appliance Software with Encryption
, ECS Appliance Software without Encryption, ECS Software
...
Article Properties
Article Number: 000227096
Article Type: Solution
Last Modified: 02 Aug 2024
Version: 1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.