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.
On Tue, May 8, 2012 at 9:03 AM, Sarnam <sarna...@gmail.com> wrote:
> 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 received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
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:
> 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)
> On Tue, May 8, 2012 at 9:03 AM, Sarnam <sarna...@gmail.com> wrote:
> > 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 received this message because you are subscribed to the Google Groups
> > "mongodb-user" group.
> > To post to this group, send email to mongodb-user@googlegroups.com.
> > To unsubscribe from this group, send email to
> > mongodb-user+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/mongodb-user?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
On Tue, May 8, 2012 at 9:25 AM, Sarnam <sarna...@gmail.com> wrote:
> 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:
>> 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)
>> On Tue, May 8, 2012 at 9:03 AM, Sarnam <sarna...@gmail.com> wrote:
>> > 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 received this message because you are subscribed to the Google
>> > Groups
>> > "mongodb-user" group.
>> > To post to this group, send email to mongodb-user@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > mongodb-user+unsubscribe@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/mongodb-user?hl=en.
>> --
>> You received this message because you are subscribed to the Google Groups
>> "mongodb-user" group.
>> To post to this group, send email to mongodb-user@googlegroups.com.
>> To unsubscribe from this group, send email to
>> mongodb-user+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/mongodb-user?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
> Can you please post the output of mongostat and the logs during these
> errors?
> On Tue, May 8, 2012 at 9:25 AM, Sarnam <sarna...@gmail.com> wrote:
> > 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:
> >> 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)
> >> On Tue, May 8, 2012 at 9:03 AM, Sarnam <sarna...@gmail.com> wrote:
> >> > 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
> 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 received this message because you are subscribed to the Google
> >> > Groups
> >> > "mongodb-user" group.
> >> > To post to this group, send email to mongodb-user@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > mongodb-user+unsubscribe@googlegroups.com.
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/mongodb-user?hl=en.
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "mongodb-user" group.
> >> To post to this group, send email to mongodb-user@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> mongodb-user+unsubscribe@googlegroups.com.
> >> For more options, visit this group at
> >> http://groups.google.com/group/mongodb-user?hl=en.
> > --
> > You received this message because you are subscribed to the Google Groups
> > "mongodb-user" group.
> > To post to this group, send email to mongodb-user@googlegroups.com.
> > To unsubscribe from this group, send email to
> > mongodb-user+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/mongodb-user?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.
> On Tue, May 8, 2012 at 10:01 PM, Scott Hernandez <scotthernan...@gmail.com> > wrote:
>> Can you please post the output of mongostat and the logs during these >> errors?
>> On Tue, May 8, 2012 at 9:25 AM, Sarnam <sarna...@gmail.com> wrote: >> > 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:
>> >> 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)
>> >> On Tue, May 8, 2012 at 9:03 AM, Sarnam <sarna...@gmail.com> wrote: >> >> > 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
>> >> > So please help me to fix this problem. Your efforts will be highly >> >> > appreciable.
>> >> > Thanks >> >> > Sarnam
>> >> > -- >> >> > You received this message because you are subscribed to the Google >> >> > Groups >> >> > "mongodb-user" group. >> >> > To post to this group, send email to mongodb-user@googlegroups.com. >> >> > To unsubscribe from this group, send email to >> >> > mongodb-user+unsubscribe@googlegroups.com. >> >> > For more options, visit this group at >> >> > http://groups.google.com/group/mongodb-user?hl=en.
>> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "mongodb-user" group. >> >> To post to this group, send email to mongodb-user@googlegroups.com. >> >> To unsubscribe from this group, send email to >> >> mongodb-user+unsubscribe@googlegroups.com. >> >> For more options, visit this group at >> >> http://groups.google.com/group/mongodb-user?hl=en.
>> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "mongodb-user" group.
On Tuesday, 8 May 2012 21:33:58 UTC+5:30, Sarnam wrote:
> 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.
On Friday, 5 October 2012 16:02:44 UTC+5:30, pohit sharma wrote:
> i m also facing this problem..have u fixed this problem..if yes plz share > with me thanks in advance.
> On Tuesday, 8 May 2012 21:33:58 UTC+5:30, Sarnam wrote:
>> 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.
On Wednesday, October 10, 2012 6:32:40 AM UTC+1, pohit sharma wrote:
> On Friday, 5 October 2012 16:02:44 UTC+5:30, pohit sharma wrote:
>> i m also facing this problem..have u fixed this problem..if yes plz share >> with me thanks in advance.
>> On Tuesday, 8 May 2012 21:33:58 UTC+5:30, Sarnam wrote:
>>> 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.
On Thu, Oct 25, 2012 at 9:23 PM, Gianfranco <gianfra...@10gen.com> wrote:
> 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
> On Wednesday, October 10, 2012 6:32:40 AM UTC+1, pohit sharma wrote:
>> On Friday, 5 October 2012 16:02:44 UTC+5:30, pohit sharma wrote:
>>> i m also facing this problem..have u fixed this problem..if yes plz share
>>> with me thanks in advance.
>>> On Tuesday, 8 May 2012 21:33:58 UTC+5:30, Sarnam wrote:
>>>> 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 received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com
> See also the IRC channel -- freenode.net#mongodb