Tan Ho
Tan Ho

Reputation: 85

OrientDB - REST API - You have reached maximum pool size for given partition

I used Apache JMeter to call OrientDB REST API to test workload of server.

I have tested with 50 concurrent user and see that ~ 30%-45% request was failed with response message as below

{
  "errors": [
    {
      "code": 400,
      "reason": "Bad request",
      "content": "Error on parsing parameters from request body\u000d\u000a\u0009DB name=\"data_dev\"\u000aYou have reached maximum pool size for given partition"
    }
  ]
}

I have checked and found no error occur on Server.

I have tried to change

script.pool.maxSize to 200, db.pool.max to 200

But this issue still occurred

Any suggestion?

UPDATED
This issue already reported on Github at here

Thanks.

Upvotes: 2

Views: 350

Answers (1)

Oleksandr Gubchenko
Oleksandr Gubchenko

Reputation: 1369

Try to increase the maximum number of instances in the pool of script engines:

script.pool.maxSize

Ref: OrientDB documentation.

Upvotes: 1

Related Questions