Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Random Connection Reset By Peer on client machine.

843790Jun 17 2010 — edited Jul 20 2010
Just hopping to get more insight as I aksed the NETTY forums also.

Hi I wrote a server application using the NETTY API and now I'm attempting to stress my application. The goal is to be able to handle 200 request/responses per second.

I have a custom application written by my QA team which uses a ScheduleExecutor to execute 200 requests every second...

The stress application starts creates the first 200 threads waits for a couple of seconds and the begings to stress for x amount of time and shuts down.

I get randomly Connection reset by peer: socket write error

Meaning sometimes the stress tool runs cleanly no errors and sometimes the errors happens.

I also notice some cpu spikes when the errors happens.

Is there something I should be looking for? How can I monitor the server and what should I monitor?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2010
Added on Jun 17 2010
34 comments
5,106 views