ECS:xDoctor RAP153:ECS 節點上已達到連線限制 (1000),沒有新的連線

Summary: 讀取和寫入 ECS 的應用程式無法建立更多插槽連線。在某些情況下,如果應用程式打開的連接過多,則可能導致潛在的數據不可用,超過預設連接限制。

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

應用程式無法針對 HTTP 要求建立新的網路連線。

Cause

ECS 節點的每個節點連線限制為 1000。如果超過此限制, dataheadsvc 顯示下列錯誤:

169.xxx.2.9 2021-02-24T21:13:08,792 [qtp85102332-247-acceptor-1@4fda771a-TrafficMetricsNetworkTrafficServerConnector@49de2cc4{HTTP/1.1,[http/1.1]}{10.xxx.xxx.xxx:9020}]  INFO  ConnectionLimit.java (line 177) Connection Limit(1000) reached for [TrafficMetricsNetworkTrafficServerConnector@49de2cc4{HTTP/1.1,[http/1.1]}{10.xxx.xxx.xxx:9020}, TrafficMetricsNetworkTrafficServerConnector@4e293c35{SSL,[ssl, http/1.1]}{10.xxx.xxx.xxx:9021}]

若要查看更多資訊,請使用以下方式解析紀錄: svc_log 以計算過去 30 分鐘內「已達到連接限制 (1000)」的條目。

命令:

# svc_log dataheadsvc "Connection Limit(1000) cleared" -start "30 minutes ago" -sh -st minute
# svc_log dataheadsvc "Connection Limit(1000) cleared" -start "24 hour ago" -sh -st hour

範例:

admin@node1:~># svc_log dataheadsvc "Connection Limit(1000) cleared" -start "30 minutes ago" -sh -st minute
svc_log v1.0.24 (svc_tools v1.8.6.0)                 Started 2021-02-26 18:47:10

Running on nodes:              <All nodes>
Time range:                    2021-02-24 21:00:00 - 2021-02-24 21:30:59
Filter string(s):              'Connection Limit(1000) cleared'
Show nodename(s):              True
Search reclaim logs (if any):  False

Count of message occurrences per minute:

                       # Log
Time                   Entries
------------------------------

2021-02-24 21:01:xx    0
2021-02-24 21:02:xx    0
2021-02-24 21:03:xx    0
2021-02-24 21:04:xx    41
2021-02-24 21:05:xx    134
2021-02-24 21:06:xx    8
2021-02-24 21:07:xx    10
2021-02-24 21:08:xx    11
2021-02-24 21:09:xx    0
2021-02-24 21:10:xx    0
2021-02-24 21:11:xx    0
2021-02-24 21:12:xx    412
2021-02-24 21:13:xx    650
2021-02-24 21:14:xx    0
2021-02-24 21:15:xx    0
2021-02-24 21:16:xx    0
2021-02-24 21:17:xx    0
2021-02-24 21:18:xx    0
2021-02-24 21:19:xx    0
2021-02-24 21:20:xx    0
2021-02-24 21:21:xx    0
2021-02-24 21:22:xx    0
2021-02-24 21:23:xx    0
2021-02-24 21:24:xx    0
2021-02-24 21:25:xx    0
2021-02-24 21:26:xx    0
2021-02-24 21:27:xx    0
2021-02-24 21:28:xx    0
2021-02-24 21:29:xx    0
2021-02-24 21:30:xx    0

Total:                 1266

Resolution

此問題通常是應用程式如何打開和關閉網路連接的應用程式問題。使用者的應用程式或負載均衡器應處理連接,並在完成後關閉連接。變更 ECS 之前,應用程式應一律先嘗試自行解決問題,因為這會導致 ECS 增加負載。

若要協助找出問題,請使用 netstat 取得已建立連線的 IP 期間。

命令:

# sudo ss | grep 9020

範例:

admin@ecsnode1:~> sudo ss | grep 9020

ESTAB 0 0 [::ffff:10.xx.xxx.71]:9020 [::ffff:10.xxx.xxx.9]:56134

若要查看目前時間的連線數,請使用此命令:

admin@ecsnode1:~> sudo ss -tn sport = :9020 | wc -l

Affected Products

ECS
Article Properties
Article Number: 000183969
Article Type: Solution
Last Modified: 17 Dec 2025
Version:  15
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.