← Back to team overview

graphite-dev team mailing list archive

Re: [Question #219360]: Load Testing using Java

 

Question #219360 on Graphite changed:
https://answers.launchpad.net/graphite/+question/219360

Description changed to:
I am doing a Load test on your Graphite server.

Tool for Load Testing: Custom code written using Java

Method:

Create Graphite Metrics using a Text File and random generated
timestamps and then writing it into Graphite as plaintext.

I am simultaneously sending the same Metrics using multiple threads
where each of the thread creates a socket.

I get socket reset by peer error when I try to flush the data through
the sockets outputstream.

What are the reasons for which graphite resets the sockets?

Detailed Log :

Connection reset by peer: socket write error
java.net.SocketException: Connection reset by peer: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at java.io.DataOutputStream.write(Unknown Source)
	at java.io.DataOutputStream.writeUTF(Unknown Source)
	at java.io.DataOutputStream.writeUTF(Unknown Source)

Thanks,
Sriram

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.