I tried to get some Memory Snapshots for trending analysis, but each time (twice) I received a Collector is Not Connected incident. The log shows:
2014-06-05 11:00:22 WARNING [FastConnectionPool] connection Closed(Forced)-localhost:6698:Outbound:Plain:Uncompressed:e0d8ca4d-d561-43a9-b59a-3077acc06889 has been lost in Thread: SendQueueBufferSender - reason was 'class java.net.SocketException: Connection reset, while executing request: class com.dynatrace.diagnostics.communication.tcp.session.DefaultSession$SessionRequest': class java.net.SocketException: Connection reset
2014-06-05 11:00:22 WARNING [OutOfProcessEventHandler] Exception happened while trying to send buffer. Retry to send buffer...
2014-06-05 11:00:22 WARNING [OutOfProcessEventHandler] com.dynatrace.diagnostics.communication.tcp.exception.CommunicationException: class java.net.SocketException: Connection reset, while executing request: class com.dynatrace.diagnostics.communication.tcp.session.DefaultSession$SessionRequest....
I did just install a fixpack last night, but taking a memory snapshot was not part of my regression test.
Any ideas?
CollectorCrash.supportarchive.zip
Answer by Srikar M. ·
Hi Marc,
The server log had an entry which said: Collector package exceeds maximum size! Package size: 62932384. So we know that the collector is trying to send packet with size ~60MB and basically we increase the buffer size to a value that is >60MB (to be safe make it 80MB). Hope this answers your question.
Thanks,
Srikar
Answer by Srikar M. ·
Hi Eric,
I found an entry in the server log which says: Collector package exceeds maximum size! Package size: 62932384
This means that the Collector is trying to send packet with size ~60MB.
Please add the below line in dtserver.ini, and restart your dynaTrace Server.
-Dcom.dynatrace.maxEventSenderBufferSize=80
This will set the max event sender buffer to 80MB. In the future if you run into this again then set it to 100.
Hope this helps. FYI we had the same problem and support recommended this setting.
Thanks,
Srikar
JANUARY 15, 3:00 PM GMT / 10:00 AM ET