gpt4 book ai didi

java - Gemfire 写入数据异常。写入大型数据集时服务器崩溃

转载 作者:行者123 更新时间:2023-11-30 10:18:16 25 4
gpt4 key购买 nike

我正在遍历嵌套对象并将其写入 gemfire。写入数据时出现异常。

java.io.EOFException: The connection has been reset while reading the header
Pool unexpected closed socket on server connection=Pooled Connection to
as42.nj1.hcmny.com:37549: Connection[DESTROYED]). Server unreachable: could
not connect after 1 attempts; nested exception is
org.apache.geode.cache.client.ServerConnectivityException: Pool unexpected
closed socket on server connection=Pooled Connection to
as42.nj1.hcmny.com:37549: Connection[DESTROYED]). Server unreachable: could
not connect after 1 attempts

大约有 100 万个条目。如果您需要更多信息,请告诉我。

最佳答案

我想通了。我的消息长度太大,我的套接字因消息大小而崩溃。我增加了套接字缓冲区大小,现在工作正常。

关于java - Gemfire 写入数据异常。写入大型数据集时服务器崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49392925/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com