All Products
Search
Document Center

Enterprise Distributed Application Service:What do I do if the upper limit (800) on the number of services published for an HSF application is exceeded?

Last Updated:May 25, 2023

Problem description

When you publish a High-speed Service Framework (HSF) application, the following error is reported:

java.lang.IllegalArgumentException: publisher count bigger than 800

Causes

The number of services exceeds the upper limit. The configclient plug-in of Pandora has the following limits on the publication of an application.

Item

Example

Upper limit

Adjustable

{Service name}:{Version number}

com.alibaba.edas.testcase.api.TestCase:1.0.0

192 bytes

No

Group name

aliware

32 bytes

No

Number of services published for a Pandora application instance

N/A

800

Yes

Solutions

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Application Management > Applications. In the top navigation bar, select the region. In the upper part of the Applications page, select the microservice namespace from the Microservice Namespace drop-down list and then click the name of the desired application.

  3. In the Application Settings section of the Basic Information tab, click Edit next to JVM Parameters.

  4. In the Application Settings dialog box, expand the Custom section. In the Custom Parameters field, enter -DCC.pubCountMax=2000. Then, click Configure JVM Parameters.

    Image - Parameter used to change the upper limit (800) on the number of services published for an HSF application
  5. Restart the application for the JVM parameter to take effect.