Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
why insert data prompt : "couldn't connect to server "
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
gmail  
View profile   Translate to Translated (View Original)
 More options Jul 19 2012, 1:50 am
From: gmail <fly...@gmail.com>
Date: Thu, 19 Jul 2012 13:50:57 +0800
Local: Thurs, Jul 19 2012 1:50 am
Subject: why insert data prompt : "couldn't connect to server "

Hi:
when I insert 2G data , each document is 2k, when I insert about 30000 ,the client prompt: "couldn't connect to server xxxxx", after a few second it can insert normally, and after insert another thousands date , the client prompt the error again.
when insert a new document I start a new connect. I used 16 thread to insert data!
how to fix the problem?
the error is just as following:
......
36256 [12-07-19 09:45:16]DEBUG: testdb.user_2.save(183_user16_63272) ok!
36257 [12-07-19 09:45:16]DEBUG: testdb.user_15.save(183_user16_63271) ok!
36258 [12-07-19 09:45:16]DEBUG: testdb.user_4.save(183_user16_63272) ok!
36259 [12-07-19 09:45:16]DEBUG: testdb.user_12.save(183_user16_63272) ok!
36260 [12-07-19 09:45:16]DEBUG: testdb.user_7.save(183_user16_63272) ok!
36261 [12-07-19 09:45:16]DEBUG: testdb.user_3.save(183_user16_63272) ok!
36262 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_14 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168 .1.183:30001
36263 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_6 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168. 1.183:30001
36264 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_10 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168 .1.183:30001
36265 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_4 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168. 1.183:30001
36266 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_8 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168. 1.183:30001
36267 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_7 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168. 1.183:30001
36268 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_15 183_user16_63270) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168 .1.183:30001
36269 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_0 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168. 1.183:30001
36270 [12-07-19 09:45:16]ERROR: mongo_insert(testdb.user_3 183_user16_63271) tring 1,connect failed! 192.168.1.183:30001,err:couldn't connect to server 192.168. 1.183:30001
........
.........
45856 [12-07-19 09:45:22]DEBUG: testdb.user_2.save(183_user16_62672) ok!
45857 [12-07-19 09:45:22]DEBUG: testdb.user_11.save(183_user16_62672) ok!
45858 [12-07-19 09:45:22]DEBUG: testdb.user_1.save(183_user16_62672) ok!
45859 [12-07-19 09:45:22]DEBUG: testdb.user_14.save(183_user16_62671) ok!
45860 [12-07-19 09:45:22]DEBUG: testdb.user_5.save(183_user16_62672) ok!

gmail


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brendan W. McAdams  
View profile  
 More options Jul 19 2012, 11:33 am
From: "Brendan W. McAdams" <bren...@10gen.com>
Date: Thu, 19 Jul 2012 08:33:35 -0700 (PDT)
Local: Thurs, Jul 19 2012 11:33 am
Subject: Re: why insert data prompt : "couldn't connect to server "

> when insert a new document I start a new connect.

If you are opening a new connection with each insertion you are likely
overloading the maximum number of connections your server can accept.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »