【问题标题】:Gemfire write data exception. Server crashing when writing large datasetGemfire 写入数据异常。写入大型数据集时服务器崩溃
【发布时间】:2018-03-20 19:45:58
【问题描述】:

我正在遍历一个嵌套对象并将其写入 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 spring-data-gemfire geode


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-03-06
    • 2017-05-16
    • 2014-03-19
    • 1970-01-01
    • 2011-11-05
    • 1970-01-01
    • 2018-03-29
    • 1970-01-01
    相关资源
    最近更新 更多