question

Upvotes
Accepted

configuration didn’t seem to take effect. We were trying to throttle at 250 in progress at a time.

We are seeing problems with one of our clients disconnecting because it is too slow.


We wanted to throttle our client but noticed that our configuration didn’t seem to take effect. We were trying to throttle at 250 in progress at a time.



<map>
<!---- some stuff removed ------>
<entry key="throttleEnabled" value="true"/>
<entry key="throttleMaxCount" value="250"/>
<entry key="throttleType" value="count"/>
<entry key="sysRecvBufSize" value="131070" />
</map>

treprfarfa-apithrottling
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
23.8k 52 17 14

Hello @gowrisankar.dasarathan

Regarding "our clients disconnecting because it is too slow." message, If the RFA application cannot keep up with the high updates sent from ADS, ADS cuts the connection of the slow consumer application. It is a slow consumer situation.

Please check the conversation in this post and the solution section in How to Diagnose and Solve Out-of-Memory Issues in RFA Java Applications article .

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
23.8k 52 17 14

Hello @gowrisankar.dasarathan

I am assuming that you are using the RFA Java API. Did you re-populate the configuration and restart the application yet? You can re-populate the RFA Java configurations via the following steps:

  1. Modify the configuration XML file based on your requirement
  2. Reload the configuration back to Java configuration database with the following command $>java –jar config_loader.jar -file config.xml
  3. Restart the application to let new configurations take effect

Sometimes, you may need to remove configuration first and then reload the modified configurations file

  1. $>java -jar config_remover.jar -user -path /com/reuters/rfa/ myNamespace
  2. $>java –jar config_loader.jar -file config.xml

Note: #This path needs to be match with your configuration XML-tree structure

You can find the RFA Java tools in in <RFA Java package>/Tools folder

  • config_loader.jar: A tool for populating a configuration database from an xml file.
  • config_exporter.jar: A tool for exporting a configuration database sub-tree to an xml file.
  • config_remover.jar: A tool for removing a configuration database sub-tree.
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes

Hi,


Yes we did. It doesn’t take effect

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes

We are using the below Version, is it possible to have email communication on this issue?

<modelVersion>4.0.0</modelVersion>
<groupId>com.reuters</groupId>
<artifactId>rfa</artifactId>
<version>8.1.0.L1</version>

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes

Hello @wasin.waeosri can you please see my response above

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
23.8k 52 17 14

Hello @gowrisankar.dasarathan

Could you please share your xml configuration file and the exported current RFA Java configurations xml file ? You can post them in this post directly (please remove your private information from the files).

You can export the RFA Java configurations to an xml file with the config_exporter.jar tool.

java -jar config_exporter.jar [-system | -user] -path <absolutePathNameOfPerfsNode> -file <pathNameOfFile>

Additionally, could you please give me the following information?

  • The Java/JDK version that you are using.
  • The OS/Platform
  • Is there any error message when you run the config_loader.jar tool to populate the configurations?
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.