Todd Tarsi
04/24/2025, 1:18 PMJason Bosco
04/24/2025, 1:19 PMTodd Tarsi
04/24/2025, 1:20 PMRequest #1745500225908: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1745500225908: Sleeping for 0.1s and then retrying request...
Request #1745500226030: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1745500226030: Sleeping for 0.1s and then retrying request...
Request #1745500226037: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1745500226037: Sleeping for 0.1s and then retrying request...
Request #1745500226204: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1745500226204: Sleeping for 0.1s and then retrying request...
Request #1745500226333: Request to Node 0 failed due to "ECONNRESET socket hang up"
Request #1745500226333: Sleeping for 0.1s and then retrying request...
^C
Todd Tarsi
04/24/2025, 1:21 PMTodd Tarsi
04/24/2025, 1:21 PMJason Bosco
04/24/2025, 1:21 PMTodd Tarsi
04/24/2025, 1:22 PMJason Bosco
04/24/2025, 1:22 PMTodd Tarsi
04/24/2025, 1:22 PMJason Bosco
04/24/2025, 1:22 PMJason Bosco
04/24/2025, 1:23 PMTodd Tarsi
04/24/2025, 1:23 PMTodd Tarsi
04/24/2025, 1:24 PMTodd Tarsi
04/24/2025, 1:25 PMTodd Tarsi
04/24/2025, 1:26 PMTodd Tarsi
04/24/2025, 1:40 PMTodd Tarsi
04/24/2025, 2:22 PMTodd Tarsi
04/24/2025, 2:24 PMJason Bosco
04/24/2025, 2:28 PMN-1
, where N is the number of cores on your cluster and then increase the number of documents you send within each API call.
If you're already doing this, then another source of the issue could be that you have a short connection timeout configured in the client that does the import, so connections are timing out before the import is fully complete and so the client ends up terminating an in-progress import and retrying it on a new connection. This results in a thundering herd issueTodd Tarsi
05/16/2025, 9:46 AMJason Bosco
05/16/2025, 4:32 PM