• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Application Monitoring & UEM
  • AppMon & UEM Open Q&A
avatar image
Question by Eric B. · Jun 06, 2014 at 04:02 AM ·

Collector Not Connected is received when Memory Snapshot is taken

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

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Srikar M. · Jul 25, 2014 at 08:26 AM

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

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Marc G. · Jul 25, 2014 at 06:11 AM

 

Srikar,

Can I ask how you captured the value for the EventSenderBufferSize?

Regards,

Marc Gauthier

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Srikar M. · Jun 06, 2014 at 10:32 AM

Also that default max event sender buffer size is 20MB (or it used to be 20MB) and since the Collector is trying to send packet with size ~60MB it disconnects.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Srikar M. · Jun 06, 2014 at 10:24 AM

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

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A