# Data buffering of OneAgent/SecurityGateway

**URL:** <https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595>\
**Category:** Open Q&A\
**Tags:** activegate, oneagent\
**Created:** [June 13, 2018, 10:30am UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595 "2018-06-13T10:30:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkobayashi1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nkobayashi1/32/5187_2.png) [@nkobayashi1](https://community.dynatrace.com/u/nkobayashi1)\
**Post date:** [June 13, 2018, 10:30am UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595/1 "2018-06-13T10:30:42Z")

</div>

Hi,

When OneAgent cannot connect to SaaS Cluster due to network problems, for example, how long will measurement data be kept in OneAgent?  
And if the connection between the Security Gateway and the SaaS Cluster is lost, how long will measurement data be kept in SG?

We concern about the loss of measurement data.

Thanks, Noah Kobayashi

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Alex](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_alex/32/27497_2.png) [@Romanenkov\_Alex](https://community.dynatrace.com/u/Romanenkov_Alex)\
**Post date:** [October 25, 2018, 1:49pm UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595/2 "2018-10-25T13:49:03Z")

</div>

Hello,

Anyone can answer for this question?

We have this question too. (from customers technical admins)

It is clear to me - that connection must be good, but they try investigate some cases, in which we have situation with network problems (OneAgent \<--\> Dynatrace Server)

Regards,

Alexander

---

<div class="post-metadata">

**Author:** ![pshinde](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pshinde/32/10356_2.png) [@pshinde](https://community.dynatrace.com/u/pshinde)\
**Post date:** [October 25, 2018, 2:31pm UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595/3 "2018-10-25T14:31:44Z")

</div>

OneAgent use 400mib . You can refer this file ruxitagent.conf file to confirm . For ActiveGate it is not fixed value , it will be 80% of available memory in Version 152.

---

<div class="post-metadata">

**Author:** ![Romanenkov\_Alex](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_alex/32/27497_2.png) [@Romanenkov\_Alex](https://community.dynatrace.com/u/Romanenkov_Alex)\
**Post date:** [October 25, 2018, 2:36pm UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595/4 "2018-10-25T14:36:19Z")

</div>

Thank you. It is clear now.

---

<div class="post-metadata">

**Author:** ![yuchida](https://avatars.discourse-cdn.com/v4/letter/y/57b2e6/32.png) [@yuchida](https://community.dynatrace.com/u/yuchida)\
**Post date:** [July 5, 2019, 5:02am UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595/5 "2019-07-05T05:02:03Z")

</div>

Hello,

I have a question about OneAgent buffer size.

I found “BufferSize 400mib” in ruxitagent.conf.

..\dynatrace\oneagent\agent\conf\ruxitagent.conf

# Maximum amount of memory that may be allocated by protobuf messages  
BufferSize 400mib

[Q] Can I change the buffer size? Is there an upper limit?

Regards,

Yuki Uchida

---

<div class="post-metadata">

**Author:** ![yuchida](https://avatars.discourse-cdn.com/v4/letter/y/57b2e6/32.png) [@yuchida](https://community.dynatrace.com/u/yuchida)\
**Post date:** [July 16, 2019, 1:07am UTC](https://community.dynatrace.com/t/data-buffering-of-oneagent-securitygateway/12595/6 "2019-07-16T01:07:19Z")

</div>

I’ve got reply from Myrvin-san.(by chat)

I’ll share this information. Please see below.

This parameter is not configurable.

Dynatrace designed the agent to be light weight, although we have a buffer, it is not recommended to modify what has been set. The recommended way is to either place 2 or more Active Gates for the setup.
