为什么每次mongoimport之后都会报SocketException?


  • 註冊用戶

    在Linux下执行以下命令,

    mongoimport --host localhost:27050 --type csv -d wja -c tmp --headerline --file mongoimport_1000000.csv -j 4

    数据全部都成功导入,但是在mongo的日志中看到在最后会报出SocketException,这是为什么呢?

    1068 2017-04-11T14:46:34.303+0800 D NETWORK  [conn5] Socket recv() conn closed? 127.0.0.1:49786
    1069 2017-04-11T14:46:34.303+0800 D NETWORK  [conn4] Socket recv() conn closed? 127.0.0.1:49784
    1070 2017-04-11T14:46:34.303+0800 D NETWORK  [conn1] Socket recv() conn closed? 127.0.0.1:49778
    1071 2017-04-11T14:46:34.303+0800 D NETWORK  [conn3] Socket recv() conn closed? 127.0.0.1:49782
    1072 2017-04-11T14:46:34.303+0800 D NETWORK  [conn2] Socket recv() conn closed? 127.0.0.1:49780
    1073 2017-04-11T14:46:34.303+0800 D NETWORK  [conn5] SocketException: remote: 127.0.0.1:49786 error: 9001 socket exception [CLOSED] server [127.0.0.1:49786]
    1074 2017-04-11T14:46:34.303+0800 D NETWORK  [conn3] SocketException: remote: 127.0.0.1:49782 error: 9001 socket exception [CLOSED] server [127.0.0.1:49782]
    1075 2017-04-11T14:46:34.303+0800 D NETWORK  [conn4] SocketException: remote: 127.0.0.1:49784 error: 9001 socket exception [CLOSED] server [127.0.0.1:49784]
    1076 2017-04-11T14:46:34.303+0800 I -        [conn3] end connection 127.0.0.1:49782 (5 connections now open)
    1077 2017-04-11T14:46:34.303+0800 D NETWORK  [conn2] SocketException: remote: 127.0.0.1:49780 error: 9001 socket exception [CLOSED] server [127.0.0.1:49780]
    1078 2017-04-11T14:46:34.303+0800 I -        [conn4] end connection 127.0.0.1:49784 (5 connections now open)
    1079 2017-04-11T14:46:34.303+0800 I -        [conn5] end connection 127.0.0.1:49786 (5 connections now open)
    1080 2017-04-11T14:46:34.303+0800 D NETWORK  [conn1] SocketException: remote: 127.0.0.1:49778 error: 9001 socket exception [CLOSED] server [127.0.0.1:49778]
    1081 2017-04-11T14:46:34.303+0800 I -        [conn1] end connection 127.0.0.1:49778 (2 connections now open)
    1082 2017-04-11T14:46:34.303+0800 I -        [conn2] end connection 127.0.0.1:49780 (2 connections now open)

  • Lv 1

    可參考

    本帖下載内容已隐藏,请登入以查看隐藏内容!


  • 註冊用戶

    @leo

    似乎并不能解决我的问题


  • Lv 1

    @AJW

    如果是在本機的話,是否監測一下服務器的壓力


登录后回复
 

与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待