All:
I am using 1.8.164bit on a windows 7 64bit system.
In a number of my scripts/programsI am getting the the following
message is too large from the mongo shell:
Tue Apr 26 22:06:20 recv(): message len -788499871 is too
large-788499871
Tue Apr 26 22:06:20 Error: dbclient error communicating with server:
127.0.0.1 s
hell/query.js:104Tue Apr 26 22:06:20 recv(): message len -788499871 is
too large-788499871
Tue Apr 26 22:06:20 Error: dbclient error communicating with server:
127.0.0.1 s
hell/query.js:104
The size varies depending on what I am doing but the rest of the
message is the
same.
The following is how I am running the server:
David Boyd@DavidBoyd-PC /cygdrive/c/Program Files/mongodb-win32-
x86_64-1.8.1
$ bin/mongod --dbpath ./db/ --logpath data.log --logappend --journal
The following is the relevant part of the log file:
Tue Apr 26 22:23:36 [initandlisten] MongoDB starting : pid=4868
port=27017 dbpat
h=./db/ 64-bit
Tue Apr 26 22:23:36 [initandlisten] db version v1.8.1, pdfile version
4.5
Tue Apr 26 22:23:36 [initandlisten] git version:
a429cd4f535b2499cc4130b06ff7c26
f41c00f04
Tue Apr 26 22:23:36 [initandlisten] build sys info: windows (6, 1,
7600, 2, '')
BOOST_LIB_VERSION=1_42
Tue Apr 26 22:23:36 [initandlisten] journal dir=./db/journal
Tue Apr 26 22:23:36 [initandlisten] recover : no journal files
present, no recov
ery needed
Tue Apr 26 22:23:36 [initandlisten] waiting for connections on port
27017
Tue Apr 26 22:23:36 [websvr] web admin interface listening on port
28017
Tue Apr 26 22:23:53 [initandlisten] connection accepted from
127.0.0.1:49467 #1
Tue Apr 26 22:23:57 [conn1] end connection
127.0.0.1:49467
Tue Apr 26 22:24:12 [initandlisten] connection accepted from
127.0.0.1:49475 #2
Tue Apr 26 22:24:24 [conn2] CMD: drop BankData.GeneralBalance
Tue Apr 26 22:24:32 [initandlisten] connection accepted from
127.0.0.1:49476 #3
Tue Apr 26 22:24:32 [conn3] building new index on { _id: 1 } for
BankData.Genera
lBalance
Tue Apr 26 22:24:32 [conn3] done for 0 records 0.004secs
Tue Apr 26 22:24:33 [conn3] end connection
127.0.0.1:49476
Tue Apr 26 22:24:36 [dur] lsn set 59723
Tue Apr 26 22:25:20 [initandlisten] connection accepted from
127.0.0.1:49477 #4
Tue Apr 26 22:25:31 [conn4] terminating, shutdown command received
Tue Apr 26 22:25:31 dbexit: shutdown called
Tue Apr 26 22:25:31 [conn4] shutdown: going to close listening
sockets...
Tue Apr 26 22:25:31 [conn4] closing listening socket: 248
Tue Apr 26 22:25:31 [conn4] closing listening socket: 256
Tue Apr 26 22:25:31 [conn4] shutdown: going to flush diaglog...
Tue Apr 26 22:25:31 [conn4] shutdown: going to close sockets...
Tue Apr 26 22:25:31 [conn4] shutdown: waiting for fs preallocator...
Tue Apr 26 22:25:31 [conn4] shutdown: lock for final commit...
Tue Apr 26 22:25:31 [conn4] shutdown: final commit...
Tue Apr 26 22:25:31 [conn2] end connection
127.0.0.1:49475
Tue Apr 26 22:25:31 [conn4] shutdown: closing all files...
Tue Apr 26 22:25:31 closeAllFiles() finished
Tue Apr 26 22:25:31 [conn4] shutdown: journalCleanup...
Tue Apr 26 22:25:31 [conn4] removeJournalFiles
Tue Apr 26 22:25:31 [conn4] shutdown: removing fs lock...
Tue Apr 26 22:25:31 dbexit: really exiting now
~
The collection I am reading that is causing the error was loaded from
a number of
CSV files using mongoimport. There were no errors on the loading.
There are slightly more than 1M records in the collection.
The javascript I am running is trying to reformat the data and just
does a
find and loops through the cursor.
I had similar issues the other day trying to do some restores to the
same install.