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
Connection reset problem
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
  10 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
 
Sarnam  
View profile  
 More options May 8 2012, 12:03 pm
From: Sarnam <sarna...@gmail.com>
Date: Tue, 8 May 2012 21:33:58 +0530
Local: Tues, May 8 2012 12:03 pm
Subject: Connection reset problem

Hi,
   I am doing load testing (using jmeter tool) of mongoDb (2.0.5)
implementation with C# driver version 1.4.2. I encountered a connection
reset problem like:

java.net.SocketException: Connection reset
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at
sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown
Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSample r.java:267)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java :516)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerB ase.java:965)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerB ase.java:951)
    at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:34 8)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read1(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
    at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown
Source)
    at java.net.URLConnection.getHeaderFieldInt(Unknown Source)
    at java.net.URLConnection.getContentLength(Unknown Source)
    at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSample r.java:237)
    ... 6 more

So please help me to fix this problem. Your efforts will be highly
appreciable.

Thanks
Sarnam


 
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.
Scott Hernandez  
View profile  
 More options May 8 2012, 12:12 pm
From: Scott Hernandez <scotthernan...@gmail.com>
Date: Tue, 8 May 2012 09:12:02 -0700
Local: Tues, May 8 2012 12:12 pm
Subject: Re: [mongodb-user] Connection reset problem
What is the cause of network issue? Are you seeing network errors or
is this a replica set?

What does the server state/logs look like during this time? (please
post logs/mongostat to gist/pastebin/pastie/etc during these errors)


 
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.
Sarnam  
View profile  
 More options May 8 2012, 12:25 pm
From: Sarnam <sarna...@gmail.com>
Date: Tue, 8 May 2012 21:55:52 +0530
Local: Tues, May 8 2012 12:25 pm
Subject: Re: [mongodb-user] Connection reset problem

Hi,
Thanks for reply.

I am not seeing any exception either in application log or in MongoDB log.
But while doing load testing using Jmeter tool , its gives this error in
2-3 threads out of 100 threads.
  I am not using any replica, just using only single replica or we can say
primary database. No sharding or no replica.

Thanks
Sarnam

On Tue, May 8, 2012 at 9:42 PM, Scott Hernandez <scotthernan...@gmail.com>wrote:


 
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.
Scott Hernandez  
View profile  
 More options May 8 2012, 12:31 pm
From: Scott Hernandez <scotthernan...@gmail.com>
Date: Tue, 8 May 2012 09:31:36 -0700
Local: Tues, May 8 2012 12:31 pm
Subject: Re: [mongodb-user] Connection reset problem
Can you please post the output of mongostat and the logs during these errors?


 
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.
Sarnam  
View profile  
 More options May 10 2012, 7:08 am
From: Sarnam <sarna...@gmail.com>
Date: Thu, 10 May 2012 16:38:03 +0530
Local: Thurs, May 10 2012 7:08 am
Subject: Re: [mongodb-user] Connection reset problem

Please find Mongostats:

> db.serverStatus()

{
        "host" : "Techserver1",
        "version" : "2.0.5-rc1",
        "process" : "mongod",
        "uptime" : 8127,
        "uptimeEstimate" : 6518,
        "localTime" : ISODate("2012-05-10T10:55:55.935Z"),
        "globalLock" : {
                "totalTime" : 8127689654,
                "lockTime" : 18500,
                "ratio" : 0.0000022761695866297405,
                "currentQueue" : {
                        "total" : 0,
                        "readers" : 0,
                        "writers" : 0
                },
                "activeClients" : {
                        "total" : 0,
                        "readers" : 0,
                        "writers" : 0
                }
        },
        "mem" : {
                "bits" : 64,
                "resident" : 94,
                "virtual" : 513,
                "supported" : true,
                "mapped" : 208,
                "mappedWithJournal" : 416
        },
        "connections" : {
                "current" : 29,
                "available" : 19971
        },
        "extra_info" : {
                "note" : "fields vary by platform",
                "page_faults" : 1742561,
                "usagePageFileMB" : 31,
                "totalPageFileMB" : 131049,
                "availPageFileMB" : 104092,
                "ramMB" : 65525
        },
        "indexCounters" : {
                "note" : "not supported on this platform"
        },
        "backgroundFlushing" : {
                "flushes" : 135,
                "total_ms" : 5487,
                "average_ms" : 40.644444444444446,
                "last_ms" : 7,
                "last_finished" : ISODate("2012-05-10T10:55:29.361Z")
        },
        "cursors" : {
                "totalOpen" : 2,
                "clientCursors_size" : 2,
                "timedOut" : 38
        },
        "network" : {
                "bytesIn" : 1841768,
                "bytesOut" : 4195249950,
                "numRequests" : 22857
        },
        "opcounters" : {
                "insert" : 0,
                "query" : 19942,
                "update" : 0,
                "delete" : 0,
                "getmore" : 1208,
                "command" : 1704
        },
        "asserts" : {
                "regular" : 0,
                "warning" : 0,
                "msg" : 0,
                "user" : 0,
                "rollovers" : 0
        },
        "writeBacksQueued" : false,
        "dur" : {
                "commits" : 22,
                "journaledMB" : 0,
                "writeToDataFilesMB" : 0,
                "compression" : 0,
                "commitsInWriteLock" : 0,
                "earlyCommits" : 0,
                "timeMs" : {
                        "dt" : 3090,
                        "prepLogBuffer" : 0,
                        "writeToJournal" : 0,
                        "writeToDataFiles" : 0,
                        "remapPrivateView" : 0
                }
        },
        "ok" : 1

}

there is no error in logfile.

So please look at these statistics.

Thanks
Sarnam Singh

On Tue, May 8, 2012 at 10:01 PM, Scott Hernandez
<scotthernan...@gmail.com>wrote:


 
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.
Scott Hernandez  
View profile  
 More options Jun 1 2012, 4:26 pm
From: Scott Hernandez <scotthernan...@gmail.com>
Date: Fri, 1 Jun 2012 16:26:17 -0400
Local: Fri, Jun 1 2012 4:26 pm
Subject: Re: [mongodb-user] Connection reset problem
mongostat is a tool which show samples of data over intervals as
described here: http://docs.mongodb.org/manual/reference/mongostat/

These static stats don't help much, unfortunately.

...

read more »


 
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.
pohit sharma  
View profile  
 More options Oct 5 2012, 6:32 am
From: pohit sharma <pohitsharma1...@gmail.com>
Date: Fri, 5 Oct 2012 03:32:44 -0700 (PDT)
Local: Fri, Oct 5 2012 6:32 am
Subject: Re: Connection reset problem

i m also facing this problem..have u fixed this problem..if yes plz share
with me thanks in advance.


 
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.
pohit sharma  
View profile  
 More options Oct 10 2012, 1:32 am
From: pohit sharma <pohitsharma1...@gmail.com>
Date: Tue, 9 Oct 2012 22:32:40 -0700 (PDT)
Local: Wed, Oct 10 2012 1:32 am
Subject: Re: Connection reset problem


 
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.
Gianfranco  
View profile  
 More options Oct 25 2012, 11:53 am
From: Gianfranco <gianfra...@10gen.com>
Date: Thu, 25 Oct 2012 08:53:27 -0700 (PDT)
Local: Thurs, Oct 25 2012 11:53 am
Subject: Re: Connection reset problem

Are you using the same versions 2.0.5?
Please open a new Topic/Thread specifying the problem and reason why using
2.0.5 instead 2.0.7 or 2.2.0


 
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.
pohit sharma  
View profile  
 More options Oct 25 2012, 11:03 pm
From: pohit sharma <pohitsharma1...@gmail.com>
Date: Fri, 26 Oct 2012 08:33:14 +0530
Local: Thurs, Oct 25 2012 11:03 pm
Subject: Re: [mongodb-user] Re: Connection reset problem
Hi Gianfranco,

Thanks for Your reply..I am using Jmeter 2.7 version and testing my
moodle e-learning site on localhost.

Thanks and regards,
Pohit


 
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 »