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

时间:2018-03-20 19:45:58

标签: java gemfire spring-data-gemfire geode

我循环遍历嵌套对象并将其写入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万条目。如果您需要更多信息,请告诉我。

1 个答案:

答案 0 :(得分:0)

我明白了。我的消息长度太大,我的套接字由于邮件大小而崩溃。我增加了套接字缓冲区大小,现在可以正常工作。